JsSIP icon indicating copy to clipboard operation
JsSIP copied to clipboard

Fix JsSIP 3.7.1 doesn't allow sending DTMF during EarlyMedia #689

Open giacco opened this issue 4 months ago • 0 comments

The patch introduces two changes:

Early dialog handling

  • When no confirmed dialog (this._dialog) is present, the code now attempts to send the request through the first available early dialog.

  • Added safety checks to ensure _earlyDialogs is not empty and that the selected dialog supports sendRequest.

CSeq update in Dialog.update()

  • The patch updates the dialog’s CSeq based on the received SIP message, preventing desynchronization and improving compliance with SIP dialog state handling.

giacco avatar Aug 26 '25 08:08 giacco