2011-07-12 14:55:02 +00:00
|
|
|
; This file configures the SIP channel
|
|
|
|
;
|
|
|
|
; NOTES on UDP listeners
|
|
|
|
; - Address/port can be changed and reloaded
|
|
|
|
; - If address/port is changed for an enabled listener this will be destroyed and recreated
|
|
|
|
; - When an UDP listener is destroyed all channels using it will be dropped and
|
|
|
|
; all lines using it will be unregistered
|
|
|
|
; - If the only configured listener is 'general' this one will be the default one
|
|
|
|
; - After initializing the module will find for a default transport:
|
|
|
|
; 1: First search for a default listener whose name is not 'general'
|
|
|
|
; 2: Use 'general' if no other listener is set to be the default
|
2005-01-10 01:40:05 +00:00
|
|
|
|
|
|
|
|
2011-07-12 14:55:02 +00:00
|
|
|
[general]
|
|
|
|
; This section sets global variables of the implementation
|
2012-10-29 15:41:51 +00:00
|
|
|
; It also configures a listener named 'general' who is always enabled and set as default
|
|
|
|
; UDP transport (if type is udp)
|
|
|
|
; The listener is always processed before other 'listener ' sections
|
|
|
|
|
2013-10-18 18:30:41 +00:00
|
|
|
; ipv6_support: boolean: Enable or disable IPv6 support
|
|
|
|
; This parameter is applied on reload
|
|
|
|
; This parameter is ignored if yate was not built with IPv6 support
|
|
|
|
; Defaults to no
|
|
|
|
;ipv6_support=no
|
|
|
|
|
2012-10-29 15:41:51 +00:00
|
|
|
; type: keyword: Listener type
|
|
|
|
; Allowed values:
|
|
|
|
; udp: Build an UDP listener
|
|
|
|
; tcp: Build a TCP listener
|
|
|
|
; tls: Build a TLS listener (encrypted TCP)
|
|
|
|
; Defaults to udp if missing or invalid
|
|
|
|
;type=
|
|
|
|
|
|
|
|
; default: boolean: Specifiy if this is the default transport to use when none specified
|
|
|
|
; Defaults to yes (unlike the other listeners)
|
|
|
|
;default=yes
|
|
|
|
|
|
|
|
; addr: ipaddress: IP address to bind to
|
|
|
|
; Leave it empty to listen on all available interfaces
|
2013-10-18 18:30:41 +00:00
|
|
|
; IPv6: An interface name can be added at the end of the address to bind on a specific
|
|
|
|
; interface. This is mandatory for Link Local addresses (e.g. addr=fe80::1%eth0)
|
2012-10-29 15:41:51 +00:00
|
|
|
;addr=
|
|
|
|
|
|
|
|
; port: integer: Port to bind to
|
|
|
|
; Defaults to 5060 for UDP and TCP, 5061 for TLS listener
|
|
|
|
;port=5060
|
|
|
|
|
2013-10-18 18:30:41 +00:00
|
|
|
; ipv6: boolean: Listen on IPv6 address(es)
|
|
|
|
; Listen will fail if IPv6 support is not enabled or not supported
|
2016-05-24 14:01:04 +00:00
|
|
|
; Defaults to 'yes' if IP address is an IPv6 one or 'no' otherwise
|
2013-10-18 18:30:41 +00:00
|
|
|
;ipv6=no
|
|
|
|
|
2012-10-29 15:41:51 +00:00
|
|
|
; udp_force_bind: boolean: Try to use a random port if failed to bind on configured one (UDP only)
|
|
|
|
; Defaults to yes
|
|
|
|
;udp_force_bind=yes
|
|
|
|
|
|
|
|
; rtp_localip: ipaddress: IP address to bind local RTP to
|
|
|
|
; This parameter is applied on reload
|
|
|
|
; TCP/TLS: this parameter is applied on reload for new connections only
|
|
|
|
; RTP local IP address will default to bound IP address if not binding on all interfaces
|
|
|
|
; Explicitly set it to empty string to avoid using bound IP address
|
2013-10-18 18:30:41 +00:00
|
|
|
; IPv6: An interface name can be added at the end of the address to bind on a specific
|
|
|
|
; interface. This is mandatory for Link Local addresses (e.g. addr=fe80::1%eth0)
|
2012-10-29 15:41:51 +00:00
|
|
|
;rtp_localip=
|
|
|
|
|
|
|
|
; nat_address: ipaddress: IP address to advertise in SDP, empty to use the local RTP
|
|
|
|
; This parameter is applied on reload
|
|
|
|
; Set this parameter when you know your RTP is behind a NAT
|
|
|
|
;nat_address=
|
|
|
|
|
|
|
|
; backlog: integer: Maximum length of the queue of pending connections
|
|
|
|
; This parameter is ignored for UDP listener
|
|
|
|
; Set it to 0 for system maximum
|
|
|
|
; Defaults to 5 if missing or invalid
|
|
|
|
;backlog=5
|
|
|
|
|
|
|
|
; sslcontext: string: SSL context if this is an encrypted connection
|
|
|
|
; Ignored for non TLS listener, required for TLS listener
|
|
|
|
;sslcontext=
|
2005-04-28 22:46:59 +00:00
|
|
|
|
2011-07-12 14:55:02 +00:00
|
|
|
; maxpkt: int: Maximum received UDP packet size, 524 to 65528, default 1500
|
|
|
|
; This parameter is applied on reload and can be overridden in UDP listener sections
|
2009-02-02 16:09:02 +00:00
|
|
|
;maxpkt=1500
|
|
|
|
|
2011-07-12 14:55:02 +00:00
|
|
|
; buffer: int: Requested size of UDP socket's receive buffer, 0 to use default
|
|
|
|
; This can be overridden in UDP listener sections
|
2007-05-03 17:02:04 +00:00
|
|
|
;buffer=0
|
|
|
|
|
2011-07-12 14:55:02 +00:00
|
|
|
; tcp_maxpkt: int: Maximum received TCP packet size, 524 to 65528, default 4096
|
|
|
|
; This parameter is applied on reload and can be overridden in TCP/TLS listener sections
|
|
|
|
; The parameter is not applied on reload for already created listeners or connections
|
|
|
|
;tcp_maxpkt=4096
|
|
|
|
|
|
|
|
; tcp_out_rtp_localip: ipaddress: IP address to bind local RTP to for outgoing
|
|
|
|
; TCP connections, empty to guess best
|
|
|
|
; This parameter is applied on reload for new connections only
|
2013-10-18 18:30:41 +00:00
|
|
|
; IPv6: An interface name can be added at the end of the address to bind on a specific
|
|
|
|
; interface. This is mandatory for Link Local addresses (e.g. addr=fe80::1%eth0)
|
2011-07-12 14:55:02 +00:00
|
|
|
;tcp_out_rtp_localip=
|
|
|
|
|
2010-10-25 13:13:35 +00:00
|
|
|
; thread: keyword: Default priority of the SIP handling threads
|
|
|
|
; Can be one of: lowest, low, normal, high, highest
|
|
|
|
; High priorities need superuser privileges on POSIX operating systems
|
|
|
|
; Low priorities are not recommended except for debugging
|
|
|
|
;thread=normal
|
|
|
|
|
2016-05-24 13:33:14 +00:00
|
|
|
; role: string: Role to be set in messages sent by connections using this listener
|
|
|
|
; This parameter is applied on reload
|
|
|
|
;role=
|
|
|
|
|
2012-08-20 11:06:06 +00:00
|
|
|
; floodevents: int: How many SIP events retrieved in a row trigger a flood warning and the drop mechanism
|
|
|
|
; for INVITE/REGISTER/SUBSCRIBE/OPTIONS messages if the flood protection is on.
|
|
|
|
; NOTE! The drop mechanism is separately activated by the floodprotection setting which is on by default. Also,
|
|
|
|
; setting this parameter to 0 will disable the flood warning and protection.
|
2012-08-17 12:31:07 +00:00
|
|
|
;floodevents=100
|
2008-01-15 19:52:15 +00:00
|
|
|
|
2012-08-20 11:06:06 +00:00
|
|
|
; floodprotection: bool: Activate the drop mechanism for INVITE/REGISTER/SUBSCRIBE/OPTIONS messages when
|
|
|
|
; the number of SIP events retrieved in a row exceeds the number set for floodevents setting.
|
2014-02-05 11:42:17 +00:00
|
|
|
; Other messages, as well as reINVITEs, will be allowed.
|
2012-08-20 11:06:06 +00:00
|
|
|
; NOTE! This mechanism is activated by default, to disable it configure this parameter to false.
|
|
|
|
;floodprotection=on
|
|
|
|
|
2017-12-14 14:02:51 +00:00
|
|
|
; congestion_retry: int: Value of Retry-After header to set in case of engine congestion
|
|
|
|
; Valid values 10 - 600, default 30 seconds
|
|
|
|
;congestion_retry=30
|
|
|
|
|
2008-01-15 19:52:15 +00:00
|
|
|
; maxforwards: int: Default Max-Forwards header, used to avoid looping calls
|
|
|
|
;maxforwards=20
|
|
|
|
|
2005-06-24 23:18:08 +00:00
|
|
|
; useragent: string: String to set in User-Agent or Server headers
|
2008-08-06 12:34:22 +00:00
|
|
|
;useragent=YATE/2.0.0
|
2006-08-25 13:16:35 +00:00
|
|
|
|
|
|
|
; realm: string: Authentication realm to offer in authentication requests
|
|
|
|
;realm=Yate
|
2005-01-10 01:40:05 +00:00
|
|
|
|
2006-08-03 10:11:26 +00:00
|
|
|
; transfer: bool: Allow handling the REFER message to perform transfers
|
2007-04-02 12:51:23 +00:00
|
|
|
;transfer=enable in server mode, disable in client mode
|
2006-08-03 10:11:26 +00:00
|
|
|
|
2005-08-11 01:16:31 +00:00
|
|
|
; registrar: bool: Allow the SIP module to receive registration requests
|
2013-08-23 11:52:11 +00:00
|
|
|
; OBSOLETE - please use "enable" in section [registar]
|
2007-04-02 12:51:23 +00:00
|
|
|
;registrar=enable in server mode, disable in client mode
|
2005-08-11 01:16:31 +00:00
|
|
|
|
2006-02-13 15:15:38 +00:00
|
|
|
; options: bool: Build and send a default 200 answer to OPTIONS requests
|
2013-08-23 11:52:11 +00:00
|
|
|
; OBSOLETE - please use "enable" in section [options]
|
2006-07-06 13:53:59 +00:00
|
|
|
;options=enable
|
2006-02-13 15:15:38 +00:00
|
|
|
|
2005-08-14 03:18:35 +00:00
|
|
|
; prack: bool: Enable acknowledging provisional 1xx answers (RFC 3262)
|
|
|
|
;prack=disable
|
|
|
|
|
2006-10-05 22:37:36 +00:00
|
|
|
; info: bool: Accept incoming INFO messages
|
|
|
|
;info=enable
|
|
|
|
|
|
|
|
; fork: bool: Follow first forked 2xx answer on early dialogs
|
2013-06-07 15:18:42 +00:00
|
|
|
; This parameter is applied on reload
|
2006-10-05 22:37:36 +00:00
|
|
|
;fork=enable
|
|
|
|
|
2018-07-03 12:19:25 +00:00
|
|
|
; fork_early: bool: Also follow forked 1xx on early dialogs
|
|
|
|
; Ignored if fork following on 2xx is disabled
|
|
|
|
; This parameter is applied on reload
|
|
|
|
;fork_early=disable
|
|
|
|
|
2005-08-18 22:06:45 +00:00
|
|
|
; progress: bool: Send an "183 Session Progress" just after successfull routing
|
2005-11-08 21:28:44 +00:00
|
|
|
;progress=disable
|
2005-08-18 22:06:45 +00:00
|
|
|
|
2005-09-10 18:52:54 +00:00
|
|
|
; generate: bool: Allow Yate messages to send arbitrary SIP client transactions
|
|
|
|
;generate=disable
|
|
|
|
|
2005-10-30 04:03:25 +00:00
|
|
|
; nat: bool: Enable automatic NAT support
|
|
|
|
;nat=enable
|
|
|
|
|
|
|
|
; ignorevia: bool: Ignore Via headers and send answer back to the source
|
2009-02-09 11:37:09 +00:00
|
|
|
; This violates RFC 3261 but is required to support NAT over UDP transport.
|
2017-06-14 09:14:20 +00:00
|
|
|
; This parameter can be overridden in listener sections
|
2005-10-30 04:03:25 +00:00
|
|
|
;ignorevia=enable
|
|
|
|
|
2008-08-06 17:16:34 +00:00
|
|
|
; lazy100: bool: Do not generate an initial "100 Trying" for non-INVITE
|
|
|
|
; transactions unless a retransmission arrives before having a final answer
|
2013-06-07 15:18:42 +00:00
|
|
|
; This parameter is applied on reload
|
2008-08-06 17:16:34 +00:00
|
|
|
;lazy100=no
|
|
|
|
|
2013-06-07 15:18:42 +00:00
|
|
|
; t1: int: Value of SIP T1 timer in milliseconds
|
|
|
|
; This is the RTT Estimate and several other SIP timers are derived from it
|
|
|
|
; Valid values are between 100 and 5000, outside range uses the default of 500
|
|
|
|
; This parameter is applied on reload
|
|
|
|
;t1=500
|
|
|
|
|
|
|
|
; t4: int: Value of SIP T4 timer in milliseconds
|
|
|
|
; This is the maximum message lifetime, several other SIP timers are derived from it
|
|
|
|
; It is enforced to be at least 3 * T1
|
|
|
|
; Valid values are between 1000 and 25000, outside range uses the default of 5000
|
|
|
|
; This parameter is applied on reload
|
|
|
|
;t4=5000
|
|
|
|
|
2012-09-18 08:40:29 +00:00
|
|
|
; check_allow_info: bool: Check 'Allow' header in INVITE and OK for INFO support
|
|
|
|
; If enabled and INFO is not supported the 'info' dtmf method will be disabled
|
|
|
|
; This parameter can be overridden from routing by 'ocheck_allow_info' for outgoing call leg
|
|
|
|
; and 'icheck_allow_info' for incoming call leg
|
|
|
|
; This parameter is ignored if info method is not enabled
|
|
|
|
; This parameter is applied on reload for new calls only
|
|
|
|
;check_allow_info=yes
|
|
|
|
|
|
|
|
; missing_allow_info: bool: The default value for dtmf info support if
|
|
|
|
; 'check_allow_info' is enabled and the 'Allow' header is missing
|
|
|
|
; This parameter can be overridden from routing by 'omissing_allow_info' for outgoing call leg
|
|
|
|
; and 'imissing_allow_info' for incoming call leg
|
|
|
|
; This parameter is applied on reload for new calls only
|
|
|
|
;missing_allow_info=enable
|
|
|
|
|
|
|
|
; dtmfmethods: string: Comma separated list of methods used to send DTMFs
|
|
|
|
; Allowed values in list:
|
|
|
|
; info: Use SIP INFO if initial transaction finished
|
|
|
|
; rfc2833: Use RFC 2833 signals if remote party advertised support
|
|
|
|
; inband: Send tones in audio stream
|
|
|
|
; The methods will be used in the listed order
|
|
|
|
; Defaults to 'rfc2833,info,inband' if missing or empty
|
|
|
|
; Invalid values are ignored
|
|
|
|
; E.g.
|
|
|
|
; 'info,foo' leads to 'info'
|
|
|
|
; 'foo,foo1' leads to 'rfc2833,info,inband'
|
|
|
|
; This parameter can be overridden from routing by 'odtmfmethods' for outgoing call leg
|
|
|
|
; and 'idtmfmethods' for incoming call leg
|
|
|
|
; Also, this parameter can be overridden in chan.dtmf messages by a 'methods' parameter
|
2012-09-19 14:11:11 +00:00
|
|
|
; NOTE:
|
|
|
|
; When overridden from chan.dtmf an empty or invalid 'methods' parameter will be ignored
|
|
|
|
; Methods indicated in chan.dtmf message will be intersected with channel capabilities
|
|
|
|
; unless an explicit boolean true 'methods_override' parameter is present
|
2012-09-18 08:40:29 +00:00
|
|
|
; This parameter is applied on reload for new calls only
|
|
|
|
;dtmfmethods=rfc2833,info,inband
|
2006-08-25 13:16:35 +00:00
|
|
|
|
2012-09-20 09:29:28 +00:00
|
|
|
; honor_dtmf_detect: bool: Honor DTMF detected method when sending DTMFs
|
|
|
|
; If enabled the channel will try to send a DTMF using the same method as received
|
|
|
|
; If the detected method is not enabled it won't be used
|
|
|
|
; This parameter can be overridden from routing by 'ohonor_dtmf_detect' for outgoing call leg
|
|
|
|
; and 'ihonor_dtmf_detect' for incoming call leg
|
|
|
|
; This parameter is applied on reload for new calls only
|
|
|
|
; Defaults to enable
|
|
|
|
;honor_dtmf_detect=enable
|
|
|
|
|
2007-12-10 22:15:02 +00:00
|
|
|
; rfc2833: bool: Offer RFC2833 telephone-event by default
|
2011-04-12 15:41:49 +00:00
|
|
|
; A numeric payload >= 96 can be provided
|
2007-12-10 22:15:02 +00:00
|
|
|
;rfc2833=yes
|
|
|
|
|
2006-01-27 19:51:03 +00:00
|
|
|
; privacy: bool: Process and generate privacy related SIP headers
|
|
|
|
;privacy=disable
|
|
|
|
|
2009-04-01 20:16:36 +00:00
|
|
|
; secure: bool: Generate and accept RFC 4568 security descriptors for SRTP
|
|
|
|
;secure=disable
|
|
|
|
|
2006-02-08 16:53:08 +00:00
|
|
|
; forward_sdp: bool: Include the raw SDP body to be used as-is for forwarding RTP
|
|
|
|
;forward_sdp=disable
|
|
|
|
|
2007-01-03 23:06:01 +00:00
|
|
|
; rtp_start: bool: Start RTP when sending 200 on incoming instead of receiving ACK
|
|
|
|
;rtp_start=disable
|
|
|
|
|
2007-01-28 18:32:02 +00:00
|
|
|
; multi_ringing: bool: Accept provisional (1xx) messages even after 180 Ringing
|
|
|
|
;multi_ringing=disable
|
|
|
|
|
2007-08-24 23:26:40 +00:00
|
|
|
; refresh_nosdp: bool: Accept session refresh reINVITEs that lack a SDP offer
|
|
|
|
;refresh_nosdp=enable
|
|
|
|
|
2012-08-03 21:20:10 +00:00
|
|
|
; update_target: bool: Update dialog target from Contact in reINVITE
|
|
|
|
;update_target=disable
|
|
|
|
|
2014-09-19 11:36:28 +00:00
|
|
|
; update_verify: bool: Use a message to verify if we should accept a reINVITE when proxying media
|
|
|
|
;update_verify=disable
|
|
|
|
|
2013-03-15 16:24:14 +00:00
|
|
|
; preventive_bye: bool: If possible send a BYE besides CANCEL for unanswered calls
|
|
|
|
;preventive_bye=enable
|
|
|
|
|
2012-03-26 00:25:00 +00:00
|
|
|
; auth_foreign: bool: Attempt to authenticate nonces not generated locally
|
2013-06-07 15:18:42 +00:00
|
|
|
; This parameter is applied on reload
|
2012-03-26 00:25:00 +00:00
|
|
|
;auth_foreign=disable
|
|
|
|
|
2016-05-23 14:43:33 +00:00
|
|
|
;auth_copy_headers: string: Comma separated list of headers to be copied in user.auth message
|
|
|
|
; This parameter is applied on reload
|
|
|
|
;auth_copy_headers=
|
|
|
|
|
2013-04-12 12:51:38 +00:00
|
|
|
; body_encoding: keyword: Encoding used for received generic binary bodies
|
|
|
|
; Can be one of: base64, hex, hexs, raw
|
|
|
|
;body_encoding=base64
|
|
|
|
|
2013-04-12 13:34:50 +00:00
|
|
|
; async_generic: bool: Process generic SIP messages asynchronously in their own thread
|
|
|
|
;async_generic=enable
|
|
|
|
|
2011-03-07 13:50:59 +00:00
|
|
|
; flags: int: Miscellaneous SIP engine flags for broken implementations
|
|
|
|
; See SIPMessage::Flags and SIPMessage::complete() in the source for gory details
|
|
|
|
;flags=0
|
|
|
|
|
2012-09-03 09:41:46 +00:00
|
|
|
; autochangeparty: bool: Automatically change remote ip/port when a channel receives
|
|
|
|
; a response or a new transaction from a different address
|
|
|
|
; E.g. if an INVITE sent to 1.2.3.4:5060 receives OK from 1.2.3.4:5080 the ACK
|
|
|
|
; (and subsequent transactions) will be sent to 1.2.3.4:5080
|
|
|
|
; Defaults to disable
|
|
|
|
; This parameter is applied on reload
|
|
|
|
;autochangeparty=disable
|
|
|
|
|
2019-11-13 11:18:31 +00:00
|
|
|
; change_party_2xx: bool: Change party when handling 2xx response to INVITE
|
|
|
|
; Defaults to disable
|
|
|
|
; This parameter is applied on reload
|
|
|
|
; This parameter is ignored if 'autochangeparty' is disabled
|
|
|
|
;change_party_2xx=disable
|
|
|
|
|
2011-08-18 10:49:27 +00:00
|
|
|
; ssl_certificate_file: string: File containing client SSL certificate to present
|
|
|
|
; This parameter is used for outgoing encrypted connections if a certificate
|
|
|
|
; is requested by the server during SSL negotiation
|
|
|
|
; The file path is relative to configuration path
|
|
|
|
; This parameter is applied on reload
|
|
|
|
;ssl_certificate_file=
|
|
|
|
|
|
|
|
; ssl_key_file: string: Optional file containing the key of the certificate
|
|
|
|
; set in ssl_certificate_file
|
|
|
|
; The file path is relative to configuration path
|
|
|
|
; The certificate file must contain the key if this parameter is empty
|
|
|
|
; This parameter is applied on reload
|
|
|
|
;ssl_key_file=
|
|
|
|
|
2011-08-22 14:11:51 +00:00
|
|
|
; sip_req_trans_count: integer: The number of times to transmit a sip request
|
|
|
|
; when retransmission is required (e.g. on non reliable transports)
|
|
|
|
; This parameter is applied on reload
|
|
|
|
; Minimum allowed value is 2, maximum allowed value is 10
|
2011-08-22 15:16:26 +00:00
|
|
|
; Defaults to 4 if missing, invalid or out of bounds
|
|
|
|
;sip_req_trans_count=4
|
2011-08-22 14:11:51 +00:00
|
|
|
|
|
|
|
; sip_rsp_trans_count: integer: The number of times to transmit a final response
|
|
|
|
; to a sip request when retransmission is required
|
|
|
|
; Retransmission is required for all responses to INVITE requests on non reliable
|
|
|
|
; transports or 2xx responses over reliable transports
|
|
|
|
; This parameter is applied on reload
|
|
|
|
; Minimum allowed value is 2, maximum allowed value is 10
|
2011-08-22 15:16:26 +00:00
|
|
|
; Defaults to 5 if missing, invalid or out of bounds
|
|
|
|
;sip_rsp_trans_count=5
|
2011-08-22 14:11:51 +00:00
|
|
|
|
2012-08-17 13:29:31 +00:00
|
|
|
; maxchans: int: Maximum number of channels running at once
|
|
|
|
; A value of 0 specifies that there is no limit enforced.
|
|
|
|
; Defaults to the value set by the maxchans setting from yate.conf
|
|
|
|
;maxchans=
|
|
|
|
|
2011-07-12 14:55:02 +00:00
|
|
|
; printmsg: boolean: Print SIP messages to output
|
|
|
|
; This parameter is applied on reload
|
|
|
|
; Defaults to yes
|
|
|
|
;printmsg=yes
|
|
|
|
|
2016-09-15 10:35:31 +00:00
|
|
|
; tcp_idle: integer: Interval (in seconds) allowed for an incoming TCP connection
|
|
|
|
; to stay idle (nothing sent/received)
|
|
|
|
; This parameter is applied on reload for new connections only
|
|
|
|
; It may be overridden in listener sections
|
|
|
|
; Defaults to 120
|
|
|
|
; Minimum allowed value is calculated from SIP 'B' timer (which is 64 * t1 timer value)
|
|
|
|
; expressed in seconds using the following formula: B * 3 / 2 (46 seconds for T1 default value)
|
|
|
|
; Maximum allwed value is 600
|
|
|
|
;tcp_idle=120
|
|
|
|
|
|
|
|
; tcp_keepalive: integer: Interval (in seconds) to send keepalive on outgoing TCP connections
|
|
|
|
; Defaults to 'tcp_idle' value
|
|
|
|
;tcp_keepalive=tcp_idle
|
|
|
|
|
|
|
|
; tcp_keepalive_first: integer: Interval (in seconds) to send first keepalive on
|
|
|
|
; outgoing TCP connections
|
|
|
|
; If set this parameter must be less than 'tcp_keepalive'
|
|
|
|
;tcp_keepalive_first=0
|
|
|
|
|
2020-02-26 13:08:04 +00:00
|
|
|
; initial_headers: boolean: Put all headers from initial requests in yate message
|
|
|
|
; Handled for incoming channel preroute, user (un)register and messages sent on SIP
|
|
|
|
; requests received outside a dialog
|
|
|
|
; This parameter is applied on reload
|
|
|
|
;initial_headers=no
|
|
|
|
|
2005-08-11 01:16:31 +00:00
|
|
|
|
2013-08-23 11:52:11 +00:00
|
|
|
[options]
|
|
|
|
; Controls the behaviour for SIP options retrieval
|
|
|
|
|
|
|
|
; enable: bool: Allow the SIP module to receive OPTIONS requests
|
|
|
|
;enable=yes
|
|
|
|
|
|
|
|
|
2005-11-08 21:28:44 +00:00
|
|
|
[registrar]
|
|
|
|
; Controls the behaviour when acting as registrar
|
|
|
|
|
2013-08-23 11:52:11 +00:00
|
|
|
; enable: bool: Allow the SIP module to receive registration requests
|
|
|
|
;enable=yes in server mode, no in client mode
|
|
|
|
|
2005-11-08 21:28:44 +00:00
|
|
|
; expires_min: int: Minimum allowed expiration time in seconds
|
|
|
|
;expires_min=60
|
|
|
|
|
|
|
|
; expires_def: int: Default expiration time if not present in REGISTER request
|
|
|
|
;expires_def=600
|
|
|
|
|
|
|
|
; expires_max: int: Value used to limit the expiration time to something sane
|
|
|
|
;expires_max=3600
|
|
|
|
|
2006-02-13 15:15:38 +00:00
|
|
|
; auth_required: bool: Automatically challenge all clients for authentication
|
|
|
|
;auth_required=enable
|
|
|
|
|
2007-02-09 00:52:47 +00:00
|
|
|
; nat_refresh: int: Proposed client NAT refresh interval in seconds
|
|
|
|
;nat_refresh=25
|
|
|
|
|
2008-08-15 12:15:02 +00:00
|
|
|
; async_process: bool: Process registrations asynchronously in their own thread
|
|
|
|
;async_process=enable
|
|
|
|
|
2005-11-08 21:28:44 +00:00
|
|
|
|
2013-08-23 11:52:11 +00:00
|
|
|
[message]
|
|
|
|
; Controls the behaviour for SIP messaging
|
|
|
|
|
|
|
|
; enable: bool: Allow the SIP module to receive MESSAGE requests
|
|
|
|
;enable=no
|
|
|
|
|
|
|
|
; auth_required: bool: Automatically challenge all senders for authentication
|
|
|
|
;auth_required=enable
|
|
|
|
|
|
|
|
; async_process: bool: Process SIP MESSAGE asynchronously in their own thread
|
|
|
|
;async_process=enable
|
|
|
|
|
|
|
|
|
2008-01-23 16:03:13 +00:00
|
|
|
[sip-t]
|
|
|
|
; Controls the SIP-T parameter handling
|
|
|
|
|
|
|
|
; isup: bool: Build outgoing or decode incoming application/isup bodies
|
|
|
|
; If enabled an incoming application/isup body will be decoded and added to
|
|
|
|
; the engine message issued by the receiving channel
|
|
|
|
; If the channel needs to add more then one body to an outgoing message, a
|
|
|
|
; multipart/mixed body will be attached to the message
|
|
|
|
; Defaults to disable
|
|
|
|
;isup=disable
|
|
|
|
|
|
|
|
|
2005-01-10 01:40:05 +00:00
|
|
|
[codecs]
|
|
|
|
; This section allows to individually enable or disable the codecs
|
|
|
|
|
2008-05-15 10:45:41 +00:00
|
|
|
; default: bool: Enable all unlisted codecs by default if a transcoder exists
|
2005-01-10 01:40:05 +00:00
|
|
|
;default=enable
|
|
|
|
|
|
|
|
; mulaw: bool: Companded-only G711 mu-law (PCMU/8000)
|
|
|
|
;mulaw=default
|
|
|
|
|
|
|
|
; alaw: bool: Companded-only G711 a-law (PCMU/8000)
|
|
|
|
;alaw=default
|
|
|
|
|
|
|
|
; gsm: bool: European GSM 06.10 (GSM/8000)
|
|
|
|
;gsm=default
|
|
|
|
|
2016-11-25 15:45:34 +00:00
|
|
|
; gsm-efr: bool: European GSM 06.60 (GSM-EFR/8000)
|
|
|
|
;gsm-efr=default
|
|
|
|
|
2005-01-10 01:40:05 +00:00
|
|
|
; lpc10: bool: Linear Prediction Codec (LPC/8000)
|
|
|
|
;lpc10=default
|
|
|
|
|
2008-05-15 10:45:41 +00:00
|
|
|
; ilbc: bool: Internet Low Bandwidth Codec (iLBC/8000)
|
|
|
|
;ilbc=default
|
|
|
|
|
|
|
|
; amr: bool: Adaptive Multi-Rate 3GPP (AMR/8000)
|
|
|
|
;amr=default
|
|
|
|
|
2005-01-10 01:40:05 +00:00
|
|
|
; slin: bool: Signed Linear 16-bit uncompressed (L16/8000)
|
|
|
|
;slin=default
|
|
|
|
|
|
|
|
; g723: bool: ITU G.723 all variations (G723/8000)
|
|
|
|
;g723=default
|
|
|
|
|
|
|
|
; g726: bool: ITU G.726 32-bit (G726-32/8000)
|
|
|
|
;g726=default
|
|
|
|
|
|
|
|
; g728: bool: ITU G.728 all variations (G728/8000)
|
|
|
|
;g728=default
|
|
|
|
|
|
|
|
; g729: bool: ITU G.729 all variations (G729/8000)
|
|
|
|
;g729=default
|
|
|
|
|
2008-03-15 18:46:32 +00:00
|
|
|
; g729_annexb: bool: G.729 Annex B (VAD) support default (if not in SDP)
|
|
|
|
; NOTE: RFC 3555 specifies the default should be yes
|
|
|
|
;g729_annexb=no
|
|
|
|
|
2008-06-16 08:03:54 +00:00
|
|
|
; amr_octet: bool: Octet aligned AMR RTP payload default (if not in SDP)
|
|
|
|
; NOTE: RFC 4867 (and older 3267) specifies the default is bandwidth efficient
|
|
|
|
;amr_octet=no
|
|
|
|
|
2005-08-14 03:18:35 +00:00
|
|
|
|
|
|
|
[methods]
|
|
|
|
; Use this section to allow server processing of various SIP methods by
|
2012-06-08 14:20:39 +00:00
|
|
|
; handling Yate messages with name "sip.methodname".
|
2005-08-14 03:18:35 +00:00
|
|
|
; Each line has to be of the form:
|
|
|
|
; methodname=boolean
|
|
|
|
; You must use lower case method names. The boolean value defaults to
|
|
|
|
; true and allows automatically challenging the requests for authentication
|
2012-06-08 14:20:39 +00:00
|
|
|
;
|
|
|
|
; Example for accepting SECRET with authentication and MESSAGE without:
|
|
|
|
; secret=yes
|
|
|
|
; message=no
|
2005-08-14 03:18:35 +00:00
|
|
|
|
2007-03-21 03:01:54 +00:00
|
|
|
|
|
|
|
[hacks]
|
|
|
|
; This section holds the dirty stuff required to work with some broken
|
|
|
|
; implementations
|
|
|
|
;
|
|
|
|
; ilbc_forced: string: Format to force as iLBC, can be: ilbc20 or ilbc30
|
|
|
|
;ilbc_forced=
|
|
|
|
;
|
|
|
|
; ilbc_default: string: Format to use for iLBC when packetization is unknown
|
|
|
|
;ilbc_default=ilbc30
|
2008-03-15 18:46:32 +00:00
|
|
|
|
|
|
|
; g729_annexb: bool: Force G.729 Annex B support when parsing the SDP
|
|
|
|
;g729_annexb=
|
2008-04-10 18:08:40 +00:00
|
|
|
|
|
|
|
; ignore_missing_ack: bool: Ignore missing ACK on INVITE, don't drop the calls
|
|
|
|
;ignore_missing_ack=no
|
2008-05-10 17:17:11 +00:00
|
|
|
|
|
|
|
; 1xx_change_formats: bool: Provisional messages can change the formats list
|
|
|
|
;1xx_change_formats=yes
|
2009-08-12 15:18:36 +00:00
|
|
|
|
2017-12-18 15:48:17 +00:00
|
|
|
; sdp_implicit: bool: Assume application/sdp is supported if no Accept is present
|
|
|
|
;sdp_implicit=yes
|
|
|
|
|
2009-08-12 15:18:36 +00:00
|
|
|
; ignore_sdp_port: bool: Ignore SDP changes if only the port is different
|
|
|
|
; This allows preserving the local RTP session and port
|
|
|
|
;ignore_sdp_port=no
|
2011-07-12 14:55:02 +00:00
|
|
|
|
2011-10-05 20:43:25 +00:00
|
|
|
; ignore_sdp_addr: bool: Ignore SDP changes if only the address is different
|
|
|
|
; This allows preserving the local RTP session and port
|
|
|
|
;ignore_sdp_addr=no
|
|
|
|
|
2011-07-12 14:55:02 +00:00
|
|
|
|
|
|
|
;[listener name]
|
|
|
|
; This section configures a listener named 'name' ('general' is reserved and will be ignored)
|
|
|
|
; The following parameters can be overridden from 'general' section:
|
|
|
|
; UDP: maxpkt, buffer
|
|
|
|
; TCP/TLS: tcp_maxpkt
|
|
|
|
|
|
|
|
; type: keyword: Listener type
|
|
|
|
; Allowed values:
|
2011-07-29 11:03:19 +00:00
|
|
|
; udp: Build an UDP listener
|
2011-07-12 14:55:02 +00:00
|
|
|
; tcp: Build a TCP listener
|
|
|
|
; tls: Build a TLS listener (encrypted TCP)
|
2011-07-29 11:03:19 +00:00
|
|
|
; Defaults to udp if missing or invalid
|
2011-07-12 14:55:02 +00:00
|
|
|
;type=
|
|
|
|
|
|
|
|
; enable: boolean: Enable or disable this listener
|
|
|
|
; This parameter is applied on reload and defaults to yes
|
|
|
|
;enable=yes
|
|
|
|
|
|
|
|
; default: boolean: UDP only: specifiy if this is the default transport to use when none specified
|
|
|
|
; Defaults to no
|
|
|
|
;default=no
|
|
|
|
|
2012-10-29 15:41:51 +00:00
|
|
|
; udp_force_bind: boolean: UDP only: try to use a random port if failed to bind on configured one (UDP only)
|
2011-07-12 14:55:02 +00:00
|
|
|
; Defaults to yes
|
|
|
|
;udp_force_bind=yes
|
|
|
|
|
|
|
|
; addr: ipaddress: IP address to bind to
|
|
|
|
; Leave it empty to listen on all available interfaces
|
2013-10-18 18:30:41 +00:00
|
|
|
; IPv6: An interface name can be added at the end of the address to bind on a specific
|
|
|
|
; interface. This is mandatory for Link Local addresses (e.g. addr=fe80::1%eth0)
|
2011-07-12 14:55:02 +00:00
|
|
|
;addr=
|
|
|
|
|
|
|
|
; port: integer: Port to bind to
|
|
|
|
; Defaults to 5060 for UDP and TCP, 5061 for TLS listeners
|
|
|
|
;port=
|
|
|
|
|
2013-10-18 18:30:41 +00:00
|
|
|
; ipv6: boolean: Listen on IPv6 address(es)
|
|
|
|
; Listen will fail if IPv6 support is not enabled or not supported
|
2016-05-24 14:01:04 +00:00
|
|
|
; Defaults to 'yes' if IP address is an IPv6 one or 'no' otherwise
|
2013-10-18 18:30:41 +00:00
|
|
|
;ipv6=no
|
|
|
|
|
2011-07-12 14:55:02 +00:00
|
|
|
; rtp_localip: ipaddress: IP address to bind local RTP to
|
|
|
|
; This parameter is applied on reload
|
|
|
|
; TCP/TLS: this parameter is applied on reload for new connections only
|
|
|
|
; RTP local IP address will default to bound IP address if not binding on all interfaces
|
|
|
|
; Explicitly set it to empty string to avoid using bound IP address
|
2013-10-18 18:30:41 +00:00
|
|
|
; IPv6: An interface name can be added at the end of the address to bind on a specific
|
|
|
|
; interface. This is mandatory for Link Local addresses (e.g. addr=fe80::1%eth0)
|
2011-07-12 14:55:02 +00:00
|
|
|
;rtp_localip=
|
|
|
|
|
|
|
|
; backlog: integer: Maximum length of the queue of pending connections
|
|
|
|
; This parameter is ignored for UDP listeners
|
|
|
|
; Set it to 0 for system maximum
|
|
|
|
; Defaults to 5 if missing or invalid
|
|
|
|
;backlog=5
|
|
|
|
|
2011-07-26 12:49:00 +00:00
|
|
|
; sslcontext: string: SSL context if this is an encrypted connection
|
2011-07-12 14:55:02 +00:00
|
|
|
; Ignored for non TLS listeners, required for TLS listeners
|
2011-07-26 12:49:00 +00:00
|
|
|
;sslcontext=
|
2011-07-12 14:55:02 +00:00
|
|
|
|
|
|
|
; thread: keyword: Listener thread priority
|
|
|
|
; Can be one of: lowest, low, normal, high, highest
|
|
|
|
; High priorities need superuser privileges on POSIX operating systems
|
|
|
|
; Low priorities are not recommended except for debugging
|
|
|
|
;thread=normal
|
2016-05-24 13:33:14 +00:00
|
|
|
|
|
|
|
; role: string: Role to be set in messages sent by connections using this listener
|
|
|
|
; This parameter is applied on reload
|
|
|
|
;role=
|