test
[diplomippbx.git] / 1 / mgcp.conf
blobd06601c7554c678f932f6a649e61baab4d865dd7
2 ; MGCP Configuration for Asterisk
4 [general]
5 ;port = 2427
6 ;bindaddr = 0.0.0.0
8 ;[dlinkgw]
9 ;host = 192.168.0.64
10 ;context = default
11 ;canreinvite = no
12 ;line => aaln/2
13 ;line => aaln/1
15 ;; The MGCP channel supports the following service codes:
16 ;; # - Transfer
17 ;; *67 - Calling Number Delivery Blocking 
18 ;; *70 - Cancel Call Waiting 
19 ;; *72 - Call Forwarding Activation 
20 ;; *73 - Call Forwarding Deactivation 
21 ;; *78 - Do Not Disturb Activation 
22 ;; *79 - Do Not Disturb Deactivation 
23 ;; *8 - Call pick-up
25 ; known to work with Swissvoice IP10s 
26 ;[192.168.1.20] 
27 ;context=local 
28 ;host=192.168.1.20 
29 ;callerid = "John Doe" <123> 
30 ;callgroup=0      ; in the range from 0 to 63
31 ;pickupgroup=0    ; in the range from 0 to 63
32 ;nat=no 
33 ;threewaycalling=yes 
34 ;transfer=yes     ; transfer requires threewaycalling=yes. Use FLASH to transfer
35 ;callwaiting=yes  ; this might be a cause of trouble for ip10s
36 ;cancallforward=yes 
37 ;line => aaln/1 
40 ;[dph100]
42 ; Supporting the DPH100M requires defining DLINK_BUGGY_FIRMWARE in
43 ; chan_mgcp.c in addition to enabling the slowsequence mode due to
44 ; bugs in the D-Link firmware
46 ;context=local
47 ;host=dynamic
48 ;dtmfmode=none          ; DTMF Mode can be 'none', 'rfc2833', or 'inband' or
49                                 ; 'hybrid' which starts in none and moves to inband.  Default is none.
50 ;slowsequence=yes       ; The DPH100M does not follow MGCP standards for sequencing
51 ;line => aaln/1
53 ; known to work with wave7optics FTTH LMGs
54 ;[192.168.1.20]
55 ;accountcode    = 1000          ; record this in cdr as account identification for billing
56 ;amaflags       = billing       ; record this in cdr as flagged for 'billing', 'documentation', or 'omit'
57 ;context        = local
58 ;host           = 192.168.1.20
59 ;wcardep        = aaln/*        ; enables wildcard endpoint and sets it to 'aaln/*' another common format is '*'
60 ;callerid       = "Duane Cox" <123>     ; now lets setup line 1 using per endpoint configuration...
61 ;callwaiting    = no
62 ;callreturn     = yes
63 ;cancallforward = yes
64 ;canreinvite    = no
65 ;transfer       = no
66 ;dtmfmode       = inband
67 ;line => aaln/1                 ; now lets save this config to line1 aka aaln/1
68 ;callerid       = "Duane Cox" <456>     ; now lets setup line 2
69 ;callwaiting    = no
70 ;callreturn     = yes
71 ;cancallforward = yes
72 ;canreinvite    = no
73 ;transfer       = no
74 ;dtmfmode       = inband
75 ;line => aaln/2                 ; now lets save this config to line2 aka aaln/2