All About Symbian - Nokia (S60) and Sony Ericsson (UIQ) smartphones unwrapped

  #1  
Old 09-01-2005, 06:09 PM
white_dragon white_dragon is offline
Registered User
 
Join Date: Apr 2004
Posts: 66
white_dragon is on a distinguished road
Telephone number of an outgoing call

Hi
I try to retrive the number which I dial to in an outgoing call.
In the EStatusDialling event I use the below code :
In the Series 60 it works !!!

In the P900 the value is empty.

PLEASE ADVISE

Thanks a lot , TE

Code:
RMobileCall iCall; 
RLine::TLineInfo lineInfo; 
iLine.GetInfo(lineInfo);        
TInt openExisting = User::LeaveIfError(iCall.OpenExistingCall(iLine, lineInfo.iNameOfLastCallAdded)); 
RMobileCall::TMobileCallInfoV1 iRemotePartyInfo; 
TPckg<RMobileCall::TMobileCallInfoV1> des(iRemotePartyInfo); 
iCall.GetMobileCallInfo(des); 
iRemotePartyInfo = des(); 
TBuf<100> telNumber; 
// Tried this also - telNumber.Append(iRemotePartyInfo.iRemoteParty.iRemoteNumber.iTelNumber); 
telNumber.Append(iRemotePartyInfo.iDialledParty.iTelNumber);

  #2  
Old 12-01-2005, 09:44 AM
Ferozmohammad
Guest
 
Posts: n/a
Regarding outgoing call control

Hai,

This is regarding control over outgoing call issue, I would like to convey the exact problem which Iam facing.


In Symbain 7.0s iam using the bleow mentioned code

TRequestStatus status;
TName callName;
line.NotifyCallAdded(status, callName); (line is RMobileLine instance)

User::WaitForRequest(status);

// Now we have detected a new call, open the call from it's name

User::LeaveIfError(call.OpenExistingCall(line, callName)); (call is RMobilecall instance)

User::WaitForRequest(status);

call.HangUp(status);

User::LeaveIfError(server.UnloadPhoneModule(KTsyNa me));
call.Close();
line.Close();
phone.Close();
server.Close();

When use this code the in a application iam able to disconnect or hang-up the call only for the first time from the next call onwards iam not able to hanup the call because the call control is not coming to my application to use call.HangUp(status) .Can you tell me how to use this NotifyCallAdded ,OpenExistingCall api's will work . Will these apis will continuously in listening mode when the call is initiated or do we need to make them listen in continuos mode,if so what is the procedure.

As i have to retrieve the outgoing number i tried using the apis(RMobileCall::GetMobileCallInfo) function after hanging up the call but the phone is getting rebooted(6600) . Iam unable to use the function GetCallInfoL of CTelephonyFunctions(etel3rdParty) due to header files mismatch. These functions i have tried according to Nishaat guide lines. I have used CLogViewRecent class to retrieve the phone number but the application is getting hanged

In Symbain 6.1 OS i have tried to get the control over outgoing call using active object .But the active object is not returning exact state of the call.I have used NotifyStatusChange api.
Ads

  #3  
Old 30-01-2005, 08:13 AM
white_dragon white_dragon is offline
Registered User
 
Join Date: Apr 2004
Posts: 66
white_dragon is on a distinguished road
why don't you use the NotifyStatusChange() ?
 

Bookmarks

Tags
number, outgoing, telephone

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to store unknown call number not to open the flip?? simple76 Sony Ericsson P800, P900 and P910 1 17-02-2003 07:01 AM
How to store unknown call number not to open the flip?? simple76 Sony Ericsson P800, P900 and P910 0 16-02-2003 10:36 PM



All times are GMT. The time now is 08:23 PM.


vBulletin skins developed by: eXtremepixels
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright Notes || Contact Us || Privacy Policy