callthemonline / react-sip

React wrapper for jssip
https://www.npmjs.com/package/react-sip
MIT License
50 stars 46 forks source link

Added RFC-4733 DTMF support #27

Open jonasclement opened 5 years ago

jonasclement commented 5 years ago

We're using react-sip for a project at our organization, and we needed DTMF support, so I took the liberty of adding it to react-sip.

Note that this is RFC-4733 DTMF, so DTMF in the RTP payload, rather than JsSip's SIP INFO implementation. This could be added, but doesn't fit our specific use case as we connect to PSTN providers who don't support SIP INFO (and therefore I won't be allocated time to do it 😞).