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