Is it possible to send out-band dtmf tones (rfc-2833) using sip.js

771 views
Skip to first unread message

bharath kumar

unread,
Mar 13, 2018, 2:27:39 AM3/13/18
to SIP.js
Hi,

I have developed a simple web application using webrtc and sip.js to make calls between browser and to the softphone. When I tried to pass dtmf  tone to my destination, it was sent as  inband  dtmf tone where my destination could support only  out band  dtmf tones. Just wondering, Whether I could send outband dtmf tones using sip.js. Please feel free to share your suggestion or tips to handle this issue. Thanks 

Eric Green

unread,
Mar 13, 2018, 8:45:13 AM3/13/18
to SIP.js
I am a bit confused as to what you are asking. RFC-2833 is in band dtmf, and info is out of band dtmf. In band dtmf flows with the rtp, and out of band flows on a different path.

SIP.js 0.9.X supports only out of band dtmf via SIP INFO. 

There are commits on master which add support for in band dtmf (2833). This is slated to go out as a "beta" feature for 0.10.X, due to the fact that the API's that it uses are now deprecated. We do plan on upgrading it to the new WebRTC apis for dtmf soon.

-Eric Green

bharath kumar

unread,
Mar 13, 2018, 8:04:50 PM3/13/18
to SIP.js
Thanks for the information. Actually, I need inband DTMF (2833) to make sure that my media server could recognize it. Currently, i'm just playing DTMF tones using locally stored .wav files according to the keypad numbers where it goes along with the actual media. Sometimes my media server could recognize but mostly it fails so I'm looking to implement inband DTMF (2833). As you suggest, I'll check for commits on master. Just wondering, when is the expected release date for 0.10.X? Sorry for the inconvenience, that I framed the question in a confusing manner.

Eric Green

unread,
Mar 14, 2018, 9:26:44 AM3/14/18
to SIP.js
It should be out in the next few weeks.

bharath kumar

unread,
Mar 14, 2018, 6:46:00 PM3/14/18
to SIP.js
Great Thanks!

bharath kumar

unread,
Apr 10, 2018, 1:14:39 AM4/10/18
to SIP.js

Hi, Just a follow up on our earlier conversation.  When is the expected version release with inband dtmf(RFC 2833) fix. 

On Thursday, March 15, 2018 at 12:26:44 AM UTC+11, Eric Green wrote:

Eric Green

unread,
Apr 10, 2018, 3:50:31 PM4/10/18
to SIP.js
I am trying to get it out, a few priority items have gotten in the way but I should be able to get back to this soon.

bharath kumar

unread,
Apr 12, 2018, 1:27:01 AM4/12/18
to SIP.js
Thanks for your acknowledgment. Looking forward to the release.

fred.l...@gmail.com

unread,
Apr 14, 2018, 8:57:29 AM4/14/18
to SIP.js
If you encounter the problem with Chrome, it may be linked to https://github.com/webrtc/adapter/issues/802.
Chrome 65 (and previous ones) supports the getsenders API but the getsender object does not contain the dtmf.
It is ok with Canary Chrome.
Reply all
Reply to author
Forward
0 new messages