Quobis / QoffeeSIP

QoffeeSIP is a complete Javascript SIP stack that can be used in a website to exploit all the multimedia capabilities of WebRTC technology. Instead of using pure Javascript, QoffeeSIP has been coded with CoffeeScript so you can easily modify it to suit your needs.
GNU Lesser General Public License v3.0
27 stars 5 forks source link

DTMF support in qoffee #3

Closed prasaddp5 closed 10 years ago

prasaddp5 commented 11 years ago

Currenlty, I do not see support for DTMF in qoffee. Can we get this supported. This will be helpful to interact with IVR, media servers etc.

Thanks, Padma Prasad

damianfral commented 11 years ago

The trunk branch has a method called insertDTM(tone). The tone parameters is treated as a series of characters. The characters 0 to 9, A to D (case-insensitive), #, and * generated the associated DTMF tones.

prasaddp5 commented 10 years ago

I am able trying to send DTMF value("1") using the recommended function insertDTMF(tone), however I see the following logs, however its not really recognized by the Mediaserver, any pointers to make it work?

RTCDTMFToneChangeEvent {tone: "1", clipboardData: undefined, cancelBubble: false, returnValue: true, srcElement: RTCDTMFSender…} qoffeesip.js:184 [INFO] DTMF send - 1 qoffeesip.js:185 RTCDTMFToneChangeEvent {tone: "", clipboardData: undefined, cancelBubble: false, returnValue: true, srcElement: RTCDTMFSender…} qoffeesip.js:184 [INFO] DTMF send - qoffeesip.js:185 RTCDTMFToneChangeEvent {tone: "1", clipboardData: undefined, cancelBubble: false, returnValue: true, srcElement: RTCDTMFSender…} qoffeesip.js:184 [INFO] DTMF send - 1 qoffeesip.js:185 RTCDTMFToneChangeEvent {tone: "", clipboardData: undefined, cancelBubble: false, returnValue: true, srcElement: RTCDTMFSender…} qoffeesip.js:184 [INFO] DTMF send - qoffeesip.js:185

Thanks, Prasad

prasaddp5 commented 10 years ago

I am closing this ticket as I am able to use insertDTMF fucntion, however a new ticket is opened to track DTMF issue separately.