×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Feb 2009
    Posts
    23

    About WaitForRequest in CTelephony

    Hi all,

    I got some problems when I use CTelephony.

    I have to send a set of DTMF tones. And the tones has to be sent part by part. For instance, the tones are seperated into 2 parts. The problem is that the second part has to be sent after first part is finished. How can I achieve this?

    I used CTelephony::SendDTMFTones(). But if I tried the send the second part while the first part is not finished yet, the application quit with Telephony 0.

    I also tried
    Code:
    User::WaitForRequest()
    . But the application is stucked and finally quit with ViewSrv 11.

    I also tried
    Code:
    while (CActive::isActive()) {}
    before sending next part of tones. The application is stucked and finally quit with ViewSrv 11 too.

    Any ideas about this? I know it sucks that the tones has to be sent in seperated parts. But it has to. Please help me?

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,751

    Re: About WaitForRequest in CTelephony

    CTelephony uses active objects internally. And they can not work if your code does not return to the loop of the Active Scheduler.
    So you have to implement an own active object for using CTelephony - check related examples in the Wiki.

  3. #3
    Registered User
    Join Date
    Feb 2009
    Posts
    23

    Re: About WaitForRequest in CTelephony

    Thank you for your reply. I already find a way to do this. I use a timer to schedule the DTMF tones.

  4. #4
    Registered User
    Join Date
    Jun 2008
    Location
    India
    Posts
    1,048

    Re: About WaitForRequest in CTelephony

    Have you derived your app from CActive class?

Similar Threads

  1. Call Name with CTelephony
    By sumit.rathi in forum Symbian
    Replies: 4
    Last Post: 2009-04-29, 09:13
  2. Values not retrieved using Ctelephony
    By Abhishek_karmakar in forum Symbian Networking & Messaging (Closed)
    Replies: 1
    Last Post: 2009-01-05, 07:00
  3. how to retrieve data from CTelephony
    By Abhishek_karmakar in forum Symbian Networking & Messaging (Closed)
    Replies: 3
    Last Post: 2008-12-30, 12:22
  4. Replies: 3
    Last Post: 2007-03-29, 12:23
  5. Replies: 4
    Last Post: 2006-10-19, 12:48

Posting Permissions

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