Giter VIP home page Giter VIP logo

Comments (1)

slavikbialik avatar slavikbialik commented on June 3, 2024

Because usually when sending REFER to a SIP B2BUA (PBX or something) the PBX should be able to refer you to the requested destination and also to be the one that is sending the BYE to you (the one who originated the SIP REFER).
So I don't know what was your behavior previously, but might be that the PBX was the one that sent you a SIP BYE to disconnect the call and not your client just decided to disconnect after making a REFER.
If you still want such behavior, you can just use the 2nd argument in the "refer" method and you can delegate the "onNotify" callback function and catch the NOTIFY that you should receive after the referring and you can invoke the disconnection of the call yourself (if you're receiving it at all, as the PBX might receive it but not forwarding it to you as it should send you a SIP BYE).

from sip.js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.