Repository navigation
Description
Describe the bug
The current SIP.js does not allow me to prevent sending 180 when receiving an invite. My scenario is that the user is already on a call, so I reject any further invites with a 486, but SIP.js sends a 180 which with my media server will play a burst of ringing to the other user.
Logs
n/a - See
Lines 194 to 210 in f11dfd5
| * FIXME: TODO: It seems reasonable that the ISC user should | |
| * be able to optionally disable this behavior. As the provisional | |
| * is sent prior to the "invite" event being emitted, it's a known | |
| * issue that the ISC user cannot register listeners or do any other | |
| * setup prior to the call to `progress()`. As an example why this is | |
| * an issue, setting `ua.configuration.rel100` to REQUIRED will result | |
| * in an attempt by `progress()` to send a 183 with SDP produced by | |
| * calling `getDescription()` on a session description handler, but | |
| * the ISC user cannot perform any potentially required session description | |
| * handler initialization (thus preventing the utilization of setting | |
| * `ua.configuration.rel100` to REQUIRED). That begs the question of | |
| * why this behavior is disabled when the UAC requires 100rel but not | |
| * when the UAS requires 100rel? But ignoring that, it's just one example | |
| * of a class of cases where the ISC user needs to do something prior | |
| * to the first call to `progress()` and is unable to do so. | |
| * @internal | |
| */ |
To Reproduce (if possible)
Steps to reproduce the behavior:
- Create UA with rel100 supported
- Receive invite to UA
- Call session reject
Expected behavior
Ability with SIP.js to turn off the autoSendAnInitialProvisionalResponse if the developer wishes so.
Observed behavior
Unable to turn off autoSendAnInitialProvisionalResponse without changing the rel100 options.
Environment Information
- SIP.js 0.17.1
Additional context
Would you accept a pull request to include a new UA configuration parameter to turn off auto progress?
Activity
james-criscuolo commentedon Jan 26, 2021
Thanks again, closing as this is now released in 0.19.0.