[Asterisk-Users] SwissVoice MGCP IP10S
Daniel ANDRE
dandre at iris-tech.fr
Wed Nov 12 11:11:29 MST 2003
Skipped content of type multipart/alternative-------------- next part --------------
[general]
;GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG
; If static is set to no, or omitted, then the pbx_config will rewrite
; this file when extensions are modified. Remember that all comments
; made in the file will be lost when that happens.
;
; XXX Not yet implemented XXX
;
static=yes
;
; if stati=yes and writeprotect=no, you can save dialplan by
; CLI command 'save dialplan' too
;
writeprotect=yes
[globals]
dan => sip/p-dan.phone.iris-tech.fr
swiss1 => mgcp/aaln/1 at 192.168.10.10
swiss2 => mgcp/aaln/1 at 192.168.10.11
;********************************************************************************************************
;MACRO
;********************************************************************************************************
[macro-apl1]
exten => s,1,Dial(${ARG1},30,Ttmr)
;#########################################################################################################
[SIP]
;#########################################################################################################
include => ent
[local]
include => ent
;####################################################################################################
[default]
include => ent
[ent]
exten => 111,1,Macro(apl1,${swiss1})
exten => 112,1,Macro(apl1,${swiss2})
exten => 326,1,Macro(apl1,${dan})
-------------- next part --------------
;
; MGCP Configuration for Asterisk
;
[general]
port = 2427
bindaddr = 192.168.10.254
[192.168.10.11]
host = 192.168.10.10
nat = no
disallow = all
allow = g711
allow = alaw
line => aaln/1
canreinvite = yes
[192.168.10.10]
threewaycalling=yes
transfer=yes
callwaiting=yes
callwaitingcallerid=yes
context=local
host = 192.168.10.10
nat=no
callerid = John <92>
line => aaln/1
callgroup=0
cancallforward=yes
transfer=yes
line => aaln/1
More information about the asterisk-users
mailing list