Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
31bd1b1
Initial rewrite of incoming refer handling
egreenmachine Oct 17, 2017
5076dac
ReferServerContext - better events
egreenmachine Oct 24, 2017
d7f449e
Add grammar for parsing sipfrag messages (RFC 3420)
egreenmachine Oct 24, 2017
48e2777
First pass at ReferClientContext
egreenmachine Oct 24, 2017
d1af770
Remove deprecated followRefer function
egreenmachine Oct 24, 2017
ea8a5dd
Remove unused environment from Session.js
egreenmachine Oct 24, 2017
a289288
Out of dialog refer
egreenmachine Oct 24, 2017
2612322
Add some logging for refer cases
egreenmachine Oct 24, 2017
8a990d9
Add Grammar for "Referred-By" #79
egreenmachine Oct 25, 2017
bc9ed14
Fix ReferServerContext to not have split brain logic.
egreenmachine Oct 26, 2017
f615e8f
Fix outgoing referred-by header
egreenmachine Oct 27, 2017
cd15c04
Correctly pass options when sending a refer
egreenmachine Oct 27, 2017
2c4f32d
Do not double add extra headers
egreenmachine Oct 27, 2017
9b0b1c2
Update name of outOfDialogReferRequested event to match other refer e…
egreenmachine Oct 27, 2017
525d669
Correctly pass invite options on refer server context to new session
egreenmachine Nov 1, 2017
daf05b4
Correctly pull replaces information from SIP packet
egreenmachine Nov 1, 2017
0c2e09c
Add the ReferServerContext to the session when it is created
egreenmachine Nov 2, 2017
363fc79
Fix rejected events for refer scenarios
egreenmachine Nov 3, 2017
85ba6d6
Allow trailing whitespace in sipfrag
egreenmachine Nov 6, 2017
1aff229
Correctly set the target on the client context super constructor
egreenmachine Nov 6, 2017
b08c39b
ReferClientContext does not actually extend ClientContext
egreenmachine Nov 7, 2017
74e6994
Revert "ReferClientContext does not actually extend ClientContext"
egreenmachine Nov 7, 2017
10f0587
Fix Reffered-By header for some calls to use URI from UA
egreenmachine Nov 17, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions src/Grammar/src/Grammar.pegjs
Original file line number Diff line number Diff line change
Expand Up @@ -914,3 +914,17 @@ uuid = hex8 "-" hex4 "-" hex4 "-" hex4 "-" hex12 {
hex4 = HEXDIG HEXDIG HEXDIG HEXDIG
hex8 = hex4 hex4
hex12 = hex4 hex4 hex4

// RFC 3420 (message/sipfrag)

sipfrag = SIP_Version SP Status_Code SP Method CRLF?

// RFC 3892 (Referred-By)

Referred_By = ("Referred-By" / "b") HCOLON referrer_uri ( SEMI (referredby_id_param / generic_param))*

referrer_uri = (name_addr / addr_spec)

referredby_id_param = "cid" EQUAL sip_clean_msg_id

sip_clean_msg_id = LDQUOT mark "@" (mark / host) RDQUOT
2 changes: 1 addition & 1 deletion src/SIP.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ require('./RegisterContext')(SIP);
SIP.SessionDescriptionHandler = require('./SessionDescriptionHandler')(SIP.EventEmitter);
require('./ClientContext')(SIP);
require('./ServerContext')(SIP);
require('./Session')(SIP, environment);
require('./Session')(SIP);
require('./Subscription')(SIP);
require('./UA')(SIP, environment);
require('./SanityCheck')(SIP);
Expand Down
Loading