Dismiss Notice
We would like to remind you that we’re updating our login process for all 3CX forums whereby you will be able to login with the same credentials you use for the Partner or Customer Portal. Click here to read more.

DTMF and iPhone with VAD

Discussion in 'CRM / Helpdesk / App Integration' started by SWSDEV, Apr 5, 2010.

Thread Status:
Not open for further replies.
  1. SWSDEV

    SWSDEV Member

    Joined:
    Feb 23, 2008
    Messages:
    256
    Likes Received:
    0
    We have an interesting problem.

    We have an IVR on a hosted cloud server built with the VAD. It has worked great, except now we've found when anyone with an iPhone calls the IVR it does not respond to DTMF tones.

    What could we possibly check?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. VAD_Support

    VAD_Support Active Member

    Joined:
    Aug 6, 2009
    Messages:
    690
    Likes Received:
    0
    Well, this is generally a problem with the encoding of DMTF digits. There are several ways to send DTMF digits over VoIP. If digits are send in-band, they may be lost depending on the codec used. There is a good blog post about this here: http://www.3cx.com/blog/voip-howto/dtmf-rfc2833/

    Something you can try is verifying if the softphone on the iphone is configured to send DTMF digits in-band. In that case, try changing that configuration to RFC2833 or SIP INFO.
     
  3. SWSDEV

    SWSDEV Member

    Joined:
    Feb 23, 2008
    Messages:
    256
    Likes Received:
    0
    Is the end user really going to have control over that? This is a regular call from an iPhone and not a "softphone" installed on the iPhone.

    Is this more a setting somewhere on the VAD to accept different types of tones? Has the VAD been tested with the different DTMF options?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. VAD_Support

    VAD_Support Active Member

    Joined:
    Aug 6, 2009
    Messages:
    690
    Likes Received:
    0
    This is a setting that is configured in every SIP endpoint. Somewhere, the call from the iphone is converted from a regular phone call to a SIP call, and there you need a gateway that converts DTMF digits to the right signals in SIP / RTP.

    The VAD can not be configured to accept or reject some DTMF method. It is the 3CX IVR which interprets digits and process them as requested by the VAD. The 3CX IVR understands any of the 3 methods (in-band on RTP, RFC2833 on RTP, and INFO on SIP). But if you are using a high compression codec, then in-band DTMF digits may be lost. If you for example use PCMA or PCMU, then in-band DTMF digits will very possibly arrive the 3CX IVR...

    How does your 3CX server connect to regular phone lines to receive calls from an iphone? Do you have a VoIP gateway? How is it configured in regards to DTMF digits?
     
  5. SWSDEV

    SWSDEV Member

    Joined:
    Feb 23, 2008
    Messages:
    256
    Likes Received:
    0
    It is connected to a Broadvox SIP Trunk. No gateways.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. SWSDEV

    SWSDEV Member

    Joined:
    Feb 23, 2008
    Messages:
    256
    Likes Received:
    0
    I don't see the DTMF settings for the trunk
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. VAD_Support

    VAD_Support Active Member

    Joined:
    Aug 6, 2009
    Messages:
    690
    Likes Received:
    0
    I'm pretty sure that your Broadvox SIP trunk is sending DTMF digits in the right way. Are you receiving DTMF digits from other phones on these lines? Can you try a simple Digital Receptionist in 3CX in order to see if you can choose a menu option?
     
  8. SWSDEV

    SWSDEV Member

    Joined:
    Feb 23, 2008
    Messages:
    256
    Likes Received:
    0
    Other DTMF settings seem to be working fine. I will do some troubleshooting to try to limit the possibilities for causes.

    This is from the log though.

    16:25:55.991 [MS211000] C:1.1: 209.249.3.60:34076 is delivering DTMF using RTP payload (RFC2833). In-Band DTMF tone detection is disabled for this call segment.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. VAD_Support

    VAD_Support Active Member

    Joined:
    Aug 6, 2009
    Messages:
    690
    Likes Received:
    0
    The log says that the remote endpoint is sending DTMF digits using RFC2833 over RTP, and then disables in-band tones detection. That is because in-band tone detection consumes a lot of CPU, so when 3CX detects that digits are arriving as RTP payload, in-band detection is disabled for that call.

    So, it seems that DTMF digits are being sent in the right way. Is that log from a call with an iphone?
     
  10. SWSDEV

    SWSDEV Member

    Joined:
    Feb 23, 2008
    Messages:
    256
    Likes Received:
    0
    No, that was from a landline.

    We checked with several iPhones, and at first the same problem was happening. But now it is no longer happening. I dont know why, maybe the server reboot, or when I was just adjusting the settings, but it's gone. It's a mystery this time.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. VAD_Support

    VAD_Support Active Member

    Joined:
    Aug 6, 2009
    Messages:
    690
    Likes Received:
    0
    Good to know, let me know if it happens again...
     
  12. matictec

    matictec New Member

    Joined:
    Mar 31, 2008
    Messages:
    188
    Likes Received:
    0
    We have tested a liitel bit with the VAD and have the same problem.

    Here a short description:

    The way it should be:

    User Input -> Initial Prompt played -> Valid Input -> E-Mail sender component run also

    It works, but after valid input the mail is send but the initial promt played again then call ends. in 3cx log i can see the dtmf warning. sometimes this also happens over our voip provider.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. VAD_Support

    VAD_Support Active Member

    Joined:
    Aug 6, 2009
    Messages:
    690
    Likes Received:
    0
    Can you upload the 3CXIvrServer.log file and the project you're using? I would like to reproduce it here.
    Thanks,
     
Thread Status:
Not open for further replies.