Sending DTMF from jssip over early media

45 views
Skip to first unread message

Matt Dimeo

unread,
Jun 22, 2022, 5:31:37 PMJun 22
to JsSIP
Running jssip 3.9.1.

Freepbx has a feature where it can send a prompt over early media and expects a password sent back over DTMF, before the call is answered.

When I try to respond to the prompt with session.sendDTMF(), it throws an INVALID_STATE_ERROR: Invalid status: 2.

Is there something additional I need to do to the session to enable sending dtmf over early media, or is this a JSSip limitation?

Thanks,
Matt


Browser console with jssip debug including SDP is at https://www.dropbox.com/s/qmdhi9jbu30xfvf/console.txt?dl=0

José Luis Millán

unread,
Jul 1, 2022, 11:40:44 AMJul 1
to js...@googlegroups.com
Are you using an old jssip version or the newest?

`sendDTMF()`[1] does not consider that state[2] invalid.


--
You received this message because you are subscribed to the Google Groups "JsSIP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jssip+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jssip/2abb9b8a-95d2-408d-ae8e-afe42a4908a7n%40googlegroups.com.


--
José Luis Millán
Reply all
Reply to author
Forward
Message has been deleted
0 new messages