/etc/yate/mgcpca.conf is in yate-core 5.4.0-1-1ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 | [general]
; This section sets global variables of the MGCP Call Agent module
; priority: int: Priority of the chan.rtp message handler
;priority=80
; rfc2833: bool: Offer RFC2833 telephone-event by default
; A numeric payload >= 96 can be provided
;rfc2833=yes
; tzoffset: int: Timezone offset from GMT in seconds for sending Caller ID
; Positive to go East, negative to go West
; Examples: CET=3600, EST=-18000
; This parameter is reloadable
;tzoffset=0
[engine]
; These parameters are used to initialize the MGCP Engine
; enabled: bool: Enable the MGCP engine
;enabled=yes
; address: ipaddress: Local IP address to bind to, default all interfaces
;address=0.0.0.0
; port: int: UDP port to bind, set to zero to use default MGCP CA port (2727)
;port=
; Maximum received packet size, 1500 to 65528, default 1500
;max_recv_packet=1500
; buffer: int: Requested size of socket's receive buffer, 0 for system default
; Minimum value is 4096
;buffer=0
; request_ack: bool: Request an Acknowledge of the transactions
;request_ack=yes
; send_provisional: bool: Send 1xx provisional answers to the requests
;send_provisional=yes
; retrans_interval: int: Message retransmission interval in msec
;retrans_interval=250
; retrans_count: int: Maximum number of retransmissions
;retrans_count=3
[endpoint]
; Settings for the local endpoint
; user: string: The user part of the local endpoint
;user=yate
; host: string: The host part of the local endpoint, default engine's address
;host=
; port: int: Declared local port, defaults to engine's port
;port=
[codecs]
; This section allows to individually enable or disable the codecs
; default: bool: Enable all unlisted codecs by default if a transcoder exists
;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
; lpc10: bool: Linear Prediction Codec (LPC/8000)
;lpc10=default
; ilbc: bool: Internet Low Bandwidth Codec (iLBC/8000)
;ilbc=default
; amr: bool: Adaptive Multi-Rate 3GPP (AMR/8000)
;amr=default
; 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
; 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
; 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
[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
; g729_annexb: bool: Force G.729 Annex B support when parsing the SDP
;g729_annexb=
; 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
;[gw PUT_NAME_HERE]
; One gw ... section is required for each gateway we control
; The gateway name is a string that can be referenced from other modules
; user: string: Remote MGCP resource name
;user=
; host: ipaddress: IP address or hostname of the gateway, mandatory
;host=
; port: int: Remote port to send packets to
; Zero uses the protocol default 2427
; A negative value suppresses :port at end of ID
; A value of -1 uses default 2427 but doesn't add at end of ID
;port=2427
; address: ipaddress: IP address of the gateway
; If present will override resolving the host name and will immediately make
; the span operational without waiting for a remote RSIP
; A boolean true value will resolve the host to an address at startup
;address=
; version: string: Protocol name and version to use initially, if left blank
; will autodetect from first received RSIP, until then uses MGCP 1.0
; Depending on remote capabilities and settings it is possible to use the SGCP
; or TGCP protocols too.
;version=
; range: string: Range of gateways to create using this section as a template
; If range is not empty the "user" setting must contain an asterisk
; Example for creating aaln1/[1-10], aaln2/[1-10], aaln3/[1-10] and aaln6/[1-10]:
; user=aaln*/1
; chans=10
; range=1-3,6
;range=
; cluster: bool: This is the gateway to send remote RTP commands to
; Do not activate this functionality unless you know very well what it does
; as it disrupts other based RTP protocols
;cluster=no
; voicechans: string: The range of channels used for voice (data) transfer
; Channel intervals may be specified by separating the margins using the '-' character
; Individual channels or channel intervals may be separated by '.'
; Duplicate or not strict positive channel numbers are not allowed
; If specified the highest circuit number is used as number of PSTN channels
; E.g. 1-15.17-31 or 1-23 or 1.2.3-15.17.18-30.31
;voicechans=
; chans: integer: Number of PSTN circuits to create in span
; Defaults to 1 or highest voicechan declared
;chans=1
; offset: integer: Offset of circuit code relative to start in span
; The parameter offset_NAME_OF_SPAN overrides this (useful for templates)
;offset=0
; start: integer: Absolute start of circuits numbers, ignore group's start
; Default is offset + group's current start
; The parameter start_NAME_OF_SPAN overrides this (useful for templates)
;start=
; increment: integer: How much will increment this span the circuit number in
; the group it belongs to
; Defaults to 32 if chans is 30 or 31 (E1), 24 if chans is 23 (T1), number of
; circuits in all other cases
; The parameter increment_NAME_OF_SPAN overrides this (useful for templates)
;increment=
; clearconn: bool: Clear all connections of remote endpoints when initialized
;clearconn=no
; bearer: keyword: Default bearer encoding
; Allowed values: mulaw, alaw
; If bearer is set a default encoding is assumed on the circuit side and a
; B: e:mu or B: e:A line is added only if the circuit data format changes
; Normally the default bearer is not set so a B: line is added when needed
;bearer=
; match_ntfy: bool: Strict match the X: id in NTFY against the local value
; This can cause trouble with FXS/FXO persistent notifications
;match_ntfy=yes for digital gateways, no for analogic
; req_fax: bool: Request Fax Tone detection from gateway
; This requests notification for G/ft (Generic package, Fax Tone)
;req_fax=yes
; req_t38: bool: Request Fax Relay detection from gateway
; This requests notification for fxr/t38 (Fax Relay, T.38)
; The default is taken from the req_fax setting
;req_t38=
; req_evts: string: Requested Events in MGCP format, overrides default
; Default depends on endpoint configuration and fax setting
;req_evts=
; req_dtmf: keyword: When to request DTMF and fax notification from gateway
; Allowed values:
; none - do not request to be notified about DTMF and fax events
; once - emit RQNT once when connecting the circuit (default)
; more - emit RQNT on connection and after each notification received
;req_dtmf=once
; req_embed: boolean: Embed Request Notify in the CRCX message
; This setting applies only to digital gateways, not FXS or FXO
;req_embed=yes
; req_check: boolean: Allow the Request Notify when the circuit is in continuity check mode
; This setting applies only to digital gateways, not FXS or FXO
;req_check=yes
; forward_rtp: bool: Support to forward RTP directly to protocols that support it
; The actual direct RTP forwarding is still negotiated in routing
; The special value "always" (only for digital gateways) inhibits initial local RTP
;forward_rtp=yes for digital gateways, no for analogic
; forward_sdp: bool: Also include the raw SDP in the RTP forward offer
;forward_sdp=no
|