diff options
Diffstat (limited to 'configs')
-rw-r--r-- | configs/ari.conf.sample | 31 | ||||
-rw-r--r-- | configs/pjsip.conf.sample | 8 | ||||
-rw-r--r-- | configs/sip.conf.sample | 6 |
3 files changed, 32 insertions, 13 deletions
diff --git a/configs/ari.conf.sample b/configs/ari.conf.sample index decdddc58..59f9a44e5 100644 --- a/configs/ari.conf.sample +++ b/configs/ari.conf.sample @@ -1,19 +1,25 @@ [general] -enabled = yes ; When set to no, ARI support is disabled. -;pretty = no ; When set to yes, responses from ARI are -; ; formatted to be human readable. -;allowed_origins = ; Comma separated list of allowed origins, for -; ; Cross-Origin Resource Sharing. May be set to * to -; ; allow all origins. -;auth_realm = ; Realm to use for authentication. Defaults to Asterisk -; ; REST Interface. +enabled = yes ; When set to no, ARI support is disabled. +;pretty = no ; When set to yes, responses from ARI are +; ; formatted to be human readable. +;allowed_origins = ; Comma separated list of allowed origins, for +; ; Cross-Origin Resource Sharing. May be set to * to +; ; allow all origins. +;auth_realm = ; Realm to use for authentication. Defaults to Asterisk +; ; REST Interface. +; +; Default write timeout to set on websockets. This value may need to be adjusted +; for connections where Asterisk must write a substantial amount of data and the +; receiving clients are slow to process the received information. Value is in +; milliseconds; default is 100 ms. +;websocket_write_timeout = 100 ;[username] -;type = user ; Specifies user configuration -;read_only = no ; When set to yes, user is only authorized for -; ; read-only requests. +;type = user ; Specifies user configuration +;read_only = no ; When set to yes, user is only authorized for +; ; read-only requests. ; -;password = ; Crypted or plaintext password (see password_format). +;password = ; Crypted or plaintext password (see password_format). ; ; password_format may be set to plain (the default) or crypt. When set to crypt, ; crypt(3) is used to validate the password. A crypted password can be generated @@ -22,3 +28,4 @@ enabled = yes ; When set to no, ARI support is disabled. ; When set to plain, the password is in plaintext. ; ;password_format = plain + diff --git a/configs/pjsip.conf.sample b/configs/pjsip.conf.sample index 1bcfcb96b..3aa05a96b 100644 --- a/configs/pjsip.conf.sample +++ b/configs/pjsip.conf.sample @@ -616,7 +616,13 @@ ; "") ;tos=0 ; Enable TOS for the signalling sent over this transport (default: "0") ;cos=0 ; Enable COS for the signalling sent over this transport (default: "0") - +;websocket_write_timeout=100 ; Default write timeout to set on websocket + ; transports. This value may need to be adjusted + ; for connections where Asterisk must write a + ; substantial amount of data and the receiving + ; clients are slow to process the received + ; information. Value is in milliseconds; default + ; is 100 ms. ;==========================CONTACT SECTION OPTIONS========================= ;[contact] diff --git a/configs/sip.conf.sample b/configs/sip.conf.sample index 1175047b3..010137d72 100644 --- a/configs/sip.conf.sample +++ b/configs/sip.conf.sample @@ -229,6 +229,12 @@ tcpbindaddr=0.0.0.0 ; IP address for TCP server to bind to (0.0.0.0 ; unauthenticated sessions that will be allowed ; to connect at any given time. (default: 100) +;websocket_write_timeout = 100 ; Default write timeout to set on websocket transports. + ; This value may need to be adjusted for connections where + ; Asterisk must write a substantial amount of data and the + ; receiving clients are slow to process the received information. + ; Value is in milliseconds; default is 100 ms. + transport=udp ; Set the default transports. The order determines the primary default transport. ; If tcpenable=no and the transport set is tcp, we will fallback to UDP. |