asterisk/configs/mgcp.conf.sample

73 lines
1.8 KiB
Plaintext
Raw Normal View History

;
; MGCP Configuration for Asterisk
;
[general]
;port = 2427
;bindaddr = 0.0.0.0
;[dlinkgw]
;host = 192.168.0.64
;context = default
;canreinvite = no
;line => aaln/2
;line => aaln/1
;; The MGCP channel supports the following service codes:
;; # - Transfer
;; *67 - Calling Number Delivery Blocking
;; *70 - Cancel Call Waiting
;; *72 - Call Forwarding Activation
;; *73 - Call Forwarding Deactivation
;; *78 - Do Not Disturb Activation
;; *79 - Do Not Disturb Deactivation
;; *8 - Call pick-up
;
; known to work with Swissvoice IP10s
;[192.168.1.20]
;context=local
;host=192.168.1.20
;callerid = "John Doe" <123>
;callgroup=0
;pickupgroup=0
;nat=no
;threewaycalling=yes
;transfer=yes ; transfer requires threewaycalling=yes. Use FLASH to transfer
;callwaiting=yes ; this might be a cause of trouble for ip10s
;cancallforward=yes
;line => aaln/1
;
;[dph100]
;
; Supporting the DPH100M requires defining DLINK_BUGGY_FIRMWARE in
; chan_mgcp.c in addition to enabling the slowsequence mode due to
; bugs in the D-Link firmware
;
;context=local
;host=dynamic
;dtmfmode=none ; DTMF Mode can be 'none', 'rfc2833', or 'inband' or 'hybrid' which starts in none and moves to inband. Default is none.
;slowsequence=yes ; The DPH100M does not follow MGCP standards for sequencing
;line => aaln/1
; known to work with wave7optics FTTH LMGs
;[192.168.1.20]
;context=local
;host=192.168.1.20
;nat=no
;wcardep=aaln/* ; enables wildcard endpoint and sets it to 'aaln/*' another common format is '*'
;callerid = "Duane Cox" <123>
;callwaiting=no
;transfer=no
;cancallforward=no
;canreinvite=no
;dtmfmode=inband
;singlepath=yes ; This device only supports a single RTP path
;line => aaln/1
;callerid = "Duane Cox" <456>
;callwaiting=no
;transfer=no
;cancallforward=no
;canreinvite=no
;dtmfmode=inband
;line => aaln/2