Skip to content

Prevent 180 progress on invite when user is busy on another call #865

Closed

Description

@jamesaylett

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

* 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
*/
for area of code this has been noted in.

To Reproduce (if possible)
Steps to reproduce the behavior:

  1. Create UA with rel100 supported
  2. Receive invite to UA
  3. 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

  1. james-criscuolo commented on Jan 26, 2021

    @james-criscuolo
    Collaborator

    Thanks again, closing as this is now released in 0.19.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions