JsSIP
JsSIP copied to clipboard
Fix JsSIP 3.7.1 doesn't allow sending DTMF during EarlyMedia #689
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.