improve header inclusion process in a few small ways:
[asterisk-bristuff.git] / configs / mgcp.conf.sample
blob288065355acce2eb9d88b18f425bc98f9d6d0ad2
2 ; MGCP Configuration for Asterisk
4 [general]
5 ;port = 2427
6 ;bindaddr = 0.0.0.0
8 ;------------------------------ JITTER BUFFER CONFIGURATION --------------------------
9 ; jbenable = yes              ; Enables the use of a jitterbuffer on the receiving side of a
10                               ; MGCP channel. Defaults to "no". An enabled jitterbuffer will
11                               ; be used only if the sending side can create and the receiving
12                               ; side can not accept jitter. The MGCP channel can accept jitter,
13                               ; thus an enabled jitterbuffer on the receive MGCP side will only
14                               ; be used if the sending side can create jitter and jbforce is
15                               ; also set to yes.
17 ; jbforce = no                ; Forces the use of a jitterbuffer on the receive side of a MGCP
18                               ; channel. Defaults to "no".
20 ; jbmaxsize = 200             ; Max length of the jitterbuffer in milliseconds.
22 ; jbresyncthreshold = 1000    ; Jump in the frame timestamps over which the jitterbuffer is
23                               ; resynchronized. Useful to improve the quality of the voice, with
24                               ; big jumps in/broken timestamps, usually sent from exotic devices
25                               ; and programs. Defaults to 1000.
27 ; jbimpl = fixed              ; Jitterbuffer implementation, used on the receiving side of a MGCP
28                               ; channel. Two implementations are currently available - "fixed"
29                               ; (with size always equals to jbmax-size) and "adaptive" (with
30                               ; variable size, actually the new jb of IAX2). Defaults to fixed.
32 ; jblog = no                  ; Enables jitterbuffer frame logging. Defaults to "no".
33 ;-----------------------------------------------------------------------------------
35 ;[dlinkgw]
36 ;host = 192.168.0.64
37 ;context = default
38 ;canreinvite = no
39 ;line => aaln/2
40 ;line => aaln/1
42 ;; The MGCP channel supports the following service codes:
43 ;; # - Transfer
44 ;; *67 - Calling Number Delivery Blocking 
45 ;; *70 - Cancel Call Waiting 
46 ;; *72 - Call Forwarding Activation 
47 ;; *73 - Call Forwarding Deactivation 
48 ;; *78 - Do Not Disturb Activation 
49 ;; *79 - Do Not Disturb Deactivation 
50 ;; *8 - Call pick-up
52 ; known to work with Swissvoice IP10s 
53 ;[192.168.1.20] 
54 ;context=local 
55 ;host=192.168.1.20 
56 ;callerid = "John Doe" <123> 
57 ;callgroup=0      ; in the range from 0 to 63
58 ;pickupgroup=0    ; in the range from 0 to 63
59 ;nat=no 
60 ;threewaycalling=yes 
61 ;transfer=yes     ; transfer requires threewaycalling=yes. Use FLASH to transfer
62 ;callwaiting=yes  ; this might be a cause of trouble for ip10s
63 ;cancallforward=yes 
64 ;line => aaln/1 
67 ;[dph100]
69 ; Supporting the DPH100M requires defining DLINK_BUGGY_FIRMWARE in
70 ; chan_mgcp.c in addition to enabling the slowsequence mode due to
71 ; bugs in the D-Link firmware
73 ;context=local
74 ;host=dynamic
75 ;dtmfmode=none          ; DTMF Mode can be 'none', 'rfc2833', or 'inband' or
76                         ; 'hybrid' which starts in none and moves to inband.  Default is none.
77 ;slowsequence=yes       ; The DPH100M does not follow MGCP standards for sequencing
78 ;line => aaln/1
80 ; known to work with wave7optics FTTH LMGs
81 ;[192.168.1.20]
82 ;accountcode    = 1000          ; record this in cdr as account identification for billing
83 ;amaflags       = billing       ; record this in cdr as flagged for 'billing',
84                                 ; 'documentation', or 'omit'
85 ;context        = local
86 ;host           = 192.168.1.20
87 ;wcardep        = aaln/*        ; enables wildcard endpoint and sets it to 'aaln/*' 
88                                 ; another common format is '*'
89 ;callerid       = "Duane Cox" <123>     ; now lets setup line 1 using per endpoint configuration...
90 ;callwaiting    = no
91 ;callreturn     = yes
92 ;cancallforward = yes
93 ;canreinvite    = no
94 ;transfer       = no
95 ;dtmfmode       = inband
96 ;line => aaln/1                 ; now lets save this config to line1 aka aaln/1
97 ;callerid       = "Duane Cox" <456>     ; now lets setup line 2
98 ;callwaiting    = no
99 ;callreturn     = yes
100 ;cancallforward = yes
101 ;canreinvite    = no
102 ;transfer       = no
103 ;dtmfmode       = inband
104 ;line => aaln/2                 ; now lets save this config to line2 aka aaln/2