×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Regular Contributor
    Join Date
    Jun 2006
    Posts
    78

    Get Phone number of incoming call

    hello
    how get phone number of incoming call
    How use RCall or RLine To get phone number of incomng call

  2. #2
    Super Contributor
    Join Date
    May 2005
    Location
    Hyderabad,India
    Posts
    704

    Re: Get Phone number of incoming call

    Hi,

    Use following code,

    Code:
    RMobileCall m_currentCall;
    	
    	m_currentCall.OpenExistingCall(iLine, iIncomingCallName);
    
    	RMobileCall::TMobileCallInfoV1 callInfo;
    	RMobileCall::TMobileCallInfoV1Pckg callInfoPckg(callInfo);
    	m_currentCall.GetMobileCallInfo(callInfoPckg);
                TBuf<50> aCallNumber;
    	aCallNumber.Copy(callInfo.iRemoteParty.iRemoteNumber.iTelNumber);
    regards,
    eswar

  3. #3
    Regular Contributor
    Join Date
    Jun 2006
    Posts
    78

    Re: Get Phone number of incoming call

    Hi
    But I Cannot find this class
    I use S60_2nd_FP2 and my mobile is 6630

  4. #4
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,344

    Smile Re: Get Phone number of incoming call

    Hi,

    Quote Originally Posted by asdfghjkl_asdfghjkl
    Hi
    But I Cannot find this class
    I use S60_2nd_FP2 and my mobile is 6630
    I think it's in Etelmm.h. And the Etelmm.h copy you have with your SDK might be a cut down version of the original one. So you may not find all the functions in your copy.
    And some etel stuffs do not come with public API.

    Anyways you can click on the following:
    http://zerogravity.narod.ru/symbian/...elmm_uiq21.zip

    Regards.
    Kiran.

  5. #5
    Regular Contributor
    Join Date
    Jun 2006
    Posts
    78

    Re: Get Phone number of incoming call

    Hello eswar_illuri
    I Use this code but when mobile ringing not work and dont return call number(callerid) please help me.

    and special tanks kiran10182 for help me

  6. #6
    Super Contributor
    Join Date
    May 2005
    Location
    Hyderabad,India
    Posts
    704

    Re: Get Phone number of incoming call

    Hi,

    Create One AO, check the following code...
    Code:
    TBool CCallManager::WaitIncomingCall()
    {
    	iNewCallName = _L("");	iIncomingCallName = _L("");
    	iLine.NotifyIncomingCallCancel();
    	
    	Cancel();
    	
    	iLine.NotifyIncomingCall(iStatus, iIncomingCallName);
    	
    	iState = EWaitIncomingCall;
    	SetActive();
    	return ETrue;
    }
    and in runl function check the iState and retrieve the mobile number.

    regards,
    eswar

  7. #7
    Super Contributor
    Join Date
    Jun 2006
    Location
    India
    Posts
    3,037

    Re: Get Phone number of incoming call

    void ListenL()
    {
    iLine.NotifyIncomingCall(iIncomingStatus,iName);
    User::WaitForRequest(iIncomingStatus);

    RMobileCall::TMobileCallInfoV1 callInfo;
    RMobileCall::TMobileCallInfoV1Pckg callInfoPckg(callInfo);
    User::LeaveIfError(iCall.GetMobileCallInfo(callInfoPckg));
    telNumber = callInfo.iRemoteParty.iRemoteNumber.iTelNumber;
    }
    Use [URL="http://qt.nokia.com/products/qt-quick/"]Qt-Quick[/URL] to make your application UI more attractive.

    [URL="http://store.ovi.com/content/271896"]http://store.ovi.com/content/271896[/URL] | [URL="http://store.ovi.com/content/276199"]http://store.ovi.com/content/276199[/URL] |[URL="http://store.ovi.com/content/276202"] http://store.ovi.com/content/276202[/URL] | [URL="http://store.ovi.com/content/280827"]http://store.ovi.com/content/280827[/URL]

  8. #8
    Regular Contributor
    Join Date
    Jun 2006
    Posts
    78

    Re: Get Phone number of incoming call

    Hi
    Tanks eswar_illuri

Similar Threads

  1. How to get the incoming call number before ringing
    By sriramadasu in forum Symbian
    Replies: 1
    Last Post: 2006-06-17, 11:41
  2. HELP - RCall - Dial voice number crash
    By cmryan in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2004-02-13, 14:53
  3. incoming phone call with ETel?
    By engrsanjiv in forum Symbian
    Replies: 1
    Last Post: 2002-10-02, 12:10
  4. Can I get the number of an incoming phone call on N9210?
    By Igor_Pchelko in forum Symbian Networking & Messaging (Closed)
    Replies: 1
    Last Post: 2002-09-19, 09:58
  5. Replies: 0
    Last Post: 2002-09-17, 06:41

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×