P990i outgoing number is wrong
| Sun, 2007-01-28 04:14 | |
|
Hi. I am trying to retrieve outgoing call number on p990i. My code works correctly on all S60v3. The problem with UIQ3 is that it is not returning full number. It always give me reduced number (without +) If user dial +4433333333 I get 4433333333 //WRONG If user dial +4733333333444 I get 4733333333444 //WRONG if user dial 2255555555 // I get 2255555555 //OK my code: (I dont believe that is something wrong here:) ) Code: CTelephony::TCallInfoV1 callInfoV1; CTelephony::TCallInfoV1Pckg callInfoV1Pckg( callInfoV1 ); CTelephony::TCallSelectionV1 callSelectionV1; CTelephony::TCallSelectionV1Pckg callSelectionV1Pckg( callSelectionV1 ); CTelephony::TRemotePartyInfoV1 remotePartyInfoV1; CTelephony::TRemotePartyInfoV1Pckg remotePartyInfoV1Pckg( remotePartyInfoV1 ); callSelectionV1.iLine = CTelephony::EVoiceLine; callSelectionV1.iSelect = CTelephony::EInProgressCall;//;CTelephony::EActiveCall; TInt err; err=iTelephony -> GetCallInfo( callSelectionV1Pckg, callInfoV1Pckg, remotePartyInfoV1Pckg ); iDialedNumber.Copy(callInfoV1.iDialledParty.iTelNumber); Regards Wojciech Freliszka Wojciech Freliszka |
|






Forum posts: 2009
This will give you the information whether this is a national or international number being used and thus whether you should add a + or not in front of the number to do your processing.
Eric Bustarret
NewLC Founder & CEO / Professional Symbian OS Consultant
Forum posts: 53
Thanks Eric for help
Regards
Wojtek Freliszka
Wojciech Freliszka
NinthBit