Defending champions Cameroon edged Zambia 2-1 on Sunday in warm-up matche for the Africa Cup of Nations, which kicks off on June 21 in Egypt.
Playing their first friendly ahead of the 24-nation tournament, Cameroon built a two-goal lead through Paul-Georges Ntep and Joel Tagueu in Madrid.
Mwape Musonda, the leading scorer this season in the South African Premiership, halved the deficit 13 minutes from time for non-qualifiers Zambia.
Five-time Cup of Nations champions Cameroon have drawn potentially powerful Ghana and outsiders Benin and Guinea-Bissau in Group F at the biennial African football showcase.
Meannwhile in Dubai, Manfred Starke scored after 31 minutes as Namibia won 1-0 against four-time former champions Ghana, who replaced all 11 starters at half-time.