Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Session: on re-INVITE, send 488 instead of calling this.receiveReinvite #50

Merged
merged 1 commit into from Jun 26, 2014

Conversation

josephfrazier
Copy link
Contributor

See #19 (comment)

I tested this against a conference call using Freeswitch 1.5.11 installed as described on sipjs.com, received and rejected the re-invites, and was able to remain in the conference for several multiples of the Session-Expires header's value afterwards. I didn't receive any more re-invites, so I think rejecting the first one successfully tells Freeswitch we don't currently support session timers.

This also prevents non-timer renegotiation (example: hold), which seems ok since the browsers don't currently have general support for it. See #19 (comment)

fixes #19

@wakamoleguy
Copy link
Contributor

@joseph-onsip, you have permission to push these yourself, you know. :-)

Anyways, I'd say that while this stops things from crashing, the intention of #18 is to actually implement and react accordingly to session refreshment (note the enhancement tag), and so this doesn't resolve that issue.

@josephfrazier
Copy link
Contributor Author

Oh, good point about #18. That's why I don't just push this stuff, so other people can catch my mistakes (had I pushed it, it would have been with a commit message that closes issues 18 and 19).

josephfrazier pushed a commit that referenced this pull request Jun 26, 2014
Session: on re-INVITE, send 488 instead of calling this.receiveReinvite

fixes #19
@josephfrazier josephfrazier merged commit 06bc43d into onsip:master Jun 26, 2014
@josephfrazier josephfrazier deleted the rejectReinvite branch August 9, 2014 01:16
josephfrazier pushed a commit to josephfrazier/SIP.js that referenced this pull request May 13, 2015
This reverts commit 06bc43d, reversing
changes made to bacea36.

Conflicts:
	src/Session.js
josephfrazier pushed a commit to josephfrazier/SIP.js that referenced this pull request May 13, 2015
This reverts commit 06bc43d, reversing
changes made to bacea36.

resolves onsip#168

Conflicts:
	src/Session.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SIP.js tries to update in-dialog SDP on the Peer Connection
3 participants