×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    May 2007
    Location
    Canada
    Posts
    4

    Audio Proxy Server & DTMF

    Hi All,

    I was wondering if someone could tell me how to send in band DTMF using the Audio Proxy Server. Should we use the CMdaAudioToneUtility?

    Thanks,

    Francois

  2. #2
    Nokia Developer Expert
    Join Date
    Dec 2006
    Location
    Mountain View, CA
    Posts
    197

    Re: Audio Proxy Server & DTMF

    You are right. This will be documented in next release of APS. Here are the right audio pref & prio values to support DTFM tones over a VoIP call:

    //VoIP Call
    const TUint KAudioPrefVoipAudioUplinkNonSignal = 0x05230001;

    //VoIP Call
    const TUint KAudioPriorityVoipAudioUplinkNonSignal = 100;

    The NonSignal constant causes that DTMF tones replace mic signal when tones are present present.

  3. #3
    Regular Contributor
    Join Date
    May 2007
    Posts
    65

    Re: Audio Proxy Server & DTMF

    i've been using the audio proxy server to do this, just using the 0x05220001 preference value for uplink given in the example.

    You either have to generate the tones yourself from sine waves as a buffer of samples, and send these to the APS, or have a pre-recorded wave file for each digit and send them one at a time. Both these methods have worked for me.

    @nly:
    The values you have provided - are these values to use with the APS, or are they values to use with CMdaAudioToneUtility? I tried a sequential search of all preference values and couldn't find one that didn't give access denied during a phone call.

    Also, where are these preference values defined? There is an older set of these magic numbers in the avkon.hrh header, but where is the list of these 0x052X0001 values and their meanings?

    Thanks!

  4. #4
    Nokia Developer Expert
    Join Date
    Dec 2006
    Location
    Mountain View, CA
    Posts
    197

    Re: Audio Proxy Server & DTMF

    To play DTMF tones, you need to create and use CMdaAudioToneUtility with the same VoIP preference APS is using for uplink (0x05220001) and downlink (0x05210001).

  5. #5
    Regular Contributor
    Join Date
    May 2007
    Posts
    65

    Re: Audio Proxy Server & DTMF

    Hi Nly,

    We tried that but found it didn't work at all.

    Using CMdaAudioToneUtility gave an access denied error no matter what preference value we used - we cycled through all of them, after trying the voip onces published here! And yes, we had multimedia DD capability.

    Cheers

    Rob

  6. #6
    Regular Contributor
    Join Date
    May 2004
    Location
    Melbourne, Australia
    Posts
    75

    Re: Audio Proxy Server & DTMF

    Hi,

    Just tried with the same results as Rob, access denied...

    Also found that sending keys to the phone application will only generate the tone if the phone appliction is in the foreground. Im not sure if that's phone/firmware specific.

    Desperately need some pointers to continue...

    Thanks in advance, Aymen

Similar Threads

  1. Audio Proxy Server 2.3 available
    By nly in forum VoIP
    Replies: 8
    Last Post: 2009-03-14, 21:39
  2. Replies: 3
    Last Post: 2008-09-09, 04:53
  3. Replies: 0
    Last Post: 2007-03-14, 13:52
  4. Test GPRS modem with Microsoft SQL Server 2000
    By chadahamat2704 in forum Digital Rights Management & Content Downloading
    Replies: 0
    Last Post: 2003-03-13, 07:36
  5. help: forcing use of proxy in j2me and getting value of gateway IP address
    By jess_emerson_uy in forum Mobile Java General
    Replies: 1
    Last Post: 2003-03-12, 03:38

Posting Permissions

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