Skip to content

Commit

Permalink
Merge branch 'master' into release
Browse files Browse the repository at this point in the history
  • Loading branch information
egreenmachine committed Nov 29, 2017
2 parents 3bb5f1b + 363a0c0 commit 49c5b0c
Show file tree
Hide file tree
Showing 9 changed files with 369 additions and 169 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sip.js",
"version": "0.8.4",
"version": "0.9.0",
"authors": [
"James Criscuolo <[email protected]>",
"Eric Green <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "sip.js",
"title": "SIP.js",
"description": "A simple, intuitive, and powerful JavaScript signaling library",
"version": "0.8.4",
"version": "0.9.0",
"main": "dist/sip.min.js",
"browser": {
"./src/environment.js": "./src/environment_browser.js"
Expand Down
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

0 comments on commit 49c5b0c

Please sign in to comment.