×

Discussion Board

Results 1 to 11 of 11
  1. #1
    Regular Contributor
    Join Date
    Apr 2008
    Posts
    76

    How to terminate Incoming call ?

    Hi,
    i have written this piece of code and it working fine , i can capture teh event on call ringing, but now i want to cancel the incoming call before hanging it . so please some one help me.

    void CCallMonitor::RunL()
    {
    if( iLineStatus.iStatus == CTelephony::EStatusRinging ) // {
    if(iLineStatus.iStatus != CTelephony::EStatusDialling)
    {
    if(DALExecutor::IsRestrictedTime())
    {
    Cancel();
    }
    }
    }
    }
    while i written following code in DoCancel()
    void CCallMonitor:oCancel()
    {
    iTelephony->CancelAsync( CTelephony::EVoiceLineStatusChangeCancel );
    }

    please help me
    thanx in advance.

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    Re: How to terminate Incoming call ?

    Check out the API plug-in package, it has some phone client APIs, and one of them has function called Chup() that can terminate any call.

  3. #3
    Regular Contributor
    Join Date
    Apr 2008
    Posts
    76

    Re: How to terminate Incoming call ?

    please explain in detail, i dont get ur point .
    thanx...
    Quote Originally Posted by symbianyucca View Post
    Check out the API plug-in package, it has some phone client APIs, and one of them has function called Chup() that can terminate any call.

  4. #4
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,689

    Re: How to terminate Incoming call ?


  5. #5
    Regular Contributor
    Join Date
    Apr 2008
    Posts
    76

    Re: How to terminate Incoming call ?

    Can some one provide any information related to CTelephony API , that how to cancel incoming call in s60 3rd edition ,
    i have posted my code below
    thanx

  6. #6
    Regular Contributor
    Join Date
    May 2007
    Posts
    468

    Re: How to terminate Incoming call ?

    You can't do it with CTelephony you can only end the calls owned by you.

    Cheers,
    Jack

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

    Re: How to terminate Incoming call ?

    hi,

    Most of people do it by just sending a red key event but this is not the right way. You need ETelmultimode api for this.
    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
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    Re: How to terminate Incoming call ?

    Hi Krish, as mentioned earlier, you can also do it with APIs found from the API Plug-in.

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

    Re: How to terminate Incoming call ?

    Quote Originally Posted by symbianyucca View Post
    Hi Krish, as mentioned earlier, you can also do it with APIs found from the API Plug-in.
    Hi symbianyucca,

    I haven't check that.. i will try with that also. thank you for correcting me.
    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]

  10. #10
    Regular Contributor
    Join Date
    Oct 2004
    Posts
    98

    Re: How to terminate Incoming call ?

    Quote Originally Posted by kkrish View Post
    You need ETelmultimode api for this.
    Hi, could you tell us how to do it with etelmm?
    Thanks,
    J.

  11. #11
    Registered User
    Join Date
    Jun 2006
    Location
    India
    Posts
    1,043

    Re: How to terminate Incoming call ?

    Hi,
    etelmm.h contains class RPhone which is another way of getting a handle for the Telephony calls. You will need to listen for an incoming call and once u receive a notification you can get the handle of the call through RPhone APIs and then you can play around with the call using that handle.
    You can find more info from this link
    http://wiki.forum.nokia.com/index.php/Call_Handling
    Maximus
    S60 Developer
    Impossible is nothing

Similar Threads

  1. Retrieving incoming data call number in S60 3rd
    By synov in forum Symbian Networking & Messaging (Closed)
    Replies: 4
    Last Post: 2008-09-05, 13:43
  2. Replies: 2
    Last Post: 2007-06-26, 09:20
  3. Replies: 2
    Last Post: 2007-05-11, 23:11
  4. how to simulate incoming call event in Emulator?? egent !!
    By wjcrr in forum Series 40 & S60 Platform Feedback Archive
    Replies: 0
    Last Post: 2007-05-11, 03:58
  5. Replies: 3
    Last Post: 2006-12-14, 06:23

Posting Permissions

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