onsip / SIP.js

A simple, intuitive, and powerful JavaScript signaling library
https://sipjs.com
MIT License
1.88k stars 700 forks source link

Using `SessionManager` can't set dtmf tone duration #1063

Closed alisherafat01 closed 10 months ago

alisherafat01 commented 10 months ago

I'm using SessionManager and it's sendDTMF() method to send dtmf but tone sound takes 2000 ms and it is noisy for ear and I want to reduce it's time. what is the API to do this?

alisherafat01 commented 10 months ago

I used session.sessionDescriptionHander.sendDTMF() which has options for duration