UNPKG
sip.js
Version:
latest (0.21.2)
0.21.2
0.21.1
0.21.0
0.20.1
0.20.0
0.19.0
0.18.1
0.18.0
0.17.1
0.17.0
0.16.1
0.16.0
0.15.11
0.15.10
0.15.9
0.15.8
0.15.7
0.15.6
0.15.5
0.15.4
0.15.3
0.15.1
0.15.0
0.14.6
0.14.5
0.14.4
0.14.3
0.14.2
0.14.1
0.14.0
0.13.8
0.13.7
0.13.6
0.13.5
0.13.4
0.13.3
0.13.2
0.13.1
0.13.0
0.12.0
0.11.6
0.11.5
0.11.4
0.11.3
0.11.2
0.11.1
0.11.0
0.10.0
0.9.2
0.9.1
0.9.0
0.8.4
0.8.3
0.8.2
0.8.1
0.8.0
0.7.8
0.7.7
0.7.6
0.7.5
0.7.4
0.7.3
0.7.2
0.7.1
0.7.0
0.6.4
0.6.3
0.6.2
0.6.1
0.6.0
0.5.0
A SIP library for JavaScript
sipjs.com
onsip/SIP.js
sip.js
/
lib
/
core
/
user-agent-core
/
allowed-methods.js
19 lines
(18 loc)
•
310 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import
{ C } from
"../messages/methods/constants.js"
;
/** *
FIXME:
TODO:
Should be configurable/variable. */
export
const
AllowedMethods = [ C.ACK, C.BYE, C.CANCEL, C.INFO, C.INVITE, C.MESSAGE, C.NOTIFY, C.OPTIONS, C.PRACK, C.REFER, C.REGISTER, C.SUBSCRIBE ];