Sending DTMF from jssip over early media

Skip to first unread message

Matt Dimeo

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?


Browser console with jssip debug including SDP is at

José Luis Millán

Jul 1, 2022, 11:40:44 AMJul 1
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
To view this discussion on the web visit

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