[Asterisk-Users] RE: Incoming calls
Richards, Jim
jim.richards at dot.state.wi.us
Wed Feb 2 15:26:36 MST 2005
That looks like what I have...
Jim Richards
Computer Security Officer
Wisconsin Dept of Transportation
-----Original Message-----
From: Martin Roy [mailto:mroy at mac.com]
Sent: Wednesday, February 02, 2005 3:39 PM
To: asterisk-users at lists.digium.com
Subject: [Asterisk-Users] RE: Incoming calls
So if I understand well this should do the trick : (be aware that
context first and second include all my extensions that I haven't
included in this and in my SIP phones use context firstinternal and
secondinternal)
zapata.conf :
context=firstincoming
switchtype=national
signalling=fxs_ks
echotraining=800
echocancel=128
echocancelwhenbridged=yes
relaxdtmf=yes
rxgain=0
txgain=0
immediate=no
busydetect=no
callprogress-no
musiconhold=default
usecallerid=yes
callerid=asreceived
group=1
channel => 1-10
context=secondincoming
switchtype=national
signalling=fxs_ks
echotraining=800
echocancel=128
echocancelwhenbridged=yes
relaxdtmf=yes
rxgain=0
txgain=0
immediate=no
busydetect=no
callprogress=no
musiconhold=default
usercallerid=yes
callerid=asreceived
group=2
channel =>11-12
extensions.conf :
[firstincoming]
include => first
exten => s,1,Answer
exten => s,2,DigitTimeout(10)
exten => s,3,ResponseTimeout(20)
exten => s,4,Wait(1)
exten => s,5,Background(Intro_first)
exten => t,1,Hangup
[secondincoming]
include => second
exten => s,1,Answer
exten => s,2,DigitTimeout(10)
exten => s,3,ResponseTimeout(20)
exten => s,4,Wait(1)
exten => s,5,background(Intro_second)
exten => t,1,Hangup
[firstoutgoing]
ignorepat => 9
exten => _9NXXNXXXXXX,1,Dial(Zap/g1/${EXTEN:1})
exten => _9NXXNXXXXXX,2,Playback(invalid)
exten => _9NXXNXXXXXX,3,Hangup
[secondoutgoing]
ignorepat => 9
exten => _9NXXNXXXXXX,1,Dial(Zap/g2/${EXTEN:1})
exten => _9NXXNXXXXXX,2,Playback(invalid)
exten => _9NXXNXXXXXX,3,Hangup
[firstinternal]
include => first
include => firstoutgoing
include => second
[secondinternal]
include => second
include => secondoutgoing
include => first
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list