Comments (1)
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)
- shared/persistent websockets on multiple tabs HOT 4
- Broken SIP message standard HOT 3
- SIP.URI or UserAgent.makeURI enforcing lower case hosts. HOT 2
- Using `SessionManager` can't set dtmf tone duration HOT 1
- DTMF "onCallDTMFReceived" and "OnInfo" event not working HOT 6
- FreePABX Configuration every time resulting in a 401 Forbiden. HOT 1
- TypeError: userAgent.getLogger is not a function
- Doesn't work with OpenSIPS HOT 6
- Inviter.invite ignores requestOptions
- Re-registration doesn't work, it registers only once. HOT 2
- conference pass uuid in conference, cant able to identify conference calls in cdr table HOT 1
- extension and register it HOT 1
- Ability to disable autoStop feature using SimpleUser
- Convert an Audio Call to Video Call (Update SDP / Re-invite) HOT 1
- Unable to downgrade call form Video call to Audio call
- Firefox video call - video stream long delay
- Reconnect to the last call HOT 1
- Sip 2 sip calling with sip.js Invitation not recived HOT 1
- How make call to GSM number?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sip.js.