[Asterisk-Users] RE: Incoming calls
dean collins
dean at collins.net.pr
Wed Feb 2 15:40:42 MST 2005
According to Volume 1 Asterisk Docs
To create an FXO channel on the same TDM400P card, we list all the
settings for the channel and then define the channel number. Instead of
only having signalling be fxo_ks though we want the signalling to be
fxs_ks. Because the other settings haven't been changed
(signalling=fxs_ks replaces the previous value of signalling), they stay
the same. Which means that while channel 1 takes on the values
language=en,context=default, switchtype=national, and signalling=fxo_ks;
channel takes on the values language=en, context=default,
switchtype=national, and signalling=fxs_ks.
You don't need to repeat all of the settings for the second group so it
should read.....
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
group=2
channel =>11-12
Can anyone with more experience confirm this is correct? (I'm a total
newb when it comes to configs).
Cheers,
Dean
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Richards,
Jim
Sent: Wednesday, February 02, 2005 5:27 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: RE: [Asterisk-Users] RE: Incoming calls
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
_______________________________________________
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