[Asterisk-Users] Distinctive Ring and zapata.conf

Shawn Porter ivr_solutions at rogers.com
Tue Dec 20 13:33:35 MST 2005


Robert,

  This configuration is working fine for me (In ontario with Bell Canada)

dring1 is the 2nd ring pattern on our line, it is a double-ring
dring3 is the regular ring, which I wanted to ignore but since you cant do
that I just send it to a wait loop

ZAPATA.CONF
[channels]
usercallerid=yes
signalling=fxs_ks
usedistinctiveringdetection=1
faxdetect=both
dring1=323,0,0
dring1context=work
dring2=90,0,0
dring2context=home
dring3=0,0,0
dring3context=home
echotraining=800
echocancel=yes
echocancelwhenbridged=yes
rxgain=0.0
txgain=0.0
musiconhold=default
channel => 1-2



EXTENSIONS.CONF  (partial)
[home]
;ignore 853-1073 calls unless it is a fax
exten => s,1,GotoIf($[${CALLERIDNUM} = 8531073]?5:2)
exten => s,2,Wait,30
exten => s,3,system(/var/lib/asterisk/agi-bin/phone_call.sh ${CALLERID})
exten => s,4,goto(s,7)
exten => s,5,answer
exten => s,6,Goto(fax,1)
exten => s,7,Hangup
exten => fax,1,Macro(home_faxreceive)

[work]
;
; We start with what to do when a call first comes in.
;
exten => s,1,Answer			; Answer the line
exten => s,2,Wait,2			; Wait a second, just for fun
exten => s,3,DigitTimeout,5		; Set Digit Timeout to 5 seconds
exten => s,4,ResponseTimeout,10		; Set Response Timeout to 10 seconds
exten => s,5,AGI(openclose.agi)
exten => s,6,GotoIf($[${STATUS} = closed]?10:7)
exten => s,7,GotoIf($[${STATUS} = holiday]?12:8)
exten => s,8,GotoIf($[${STATUS} = afternoon]?14:16)
exten => s,9,Goto(s,16)
exten => s,10,BackGround(goodevening)
exten => s,11,Goto(s,17)
exten => s,12,BackGround(holiday)
exten => s,13,Goto(s,17)
exten => s,14,BackGround(goodafternoon)
exten => s,15,Goto(s,17)
exten => s,16,BackGround(goodmorning)
exten => s,17,BackGround(greeting)
exten => s,18,BackGround(instruct)
exten => o,1,VoiceMailMain
exten => t,1,playback(goodbye)
exten => t,2,Hangup
exten => i,1,Playback,invalid-exten
exten => i,2,Goto,s|17


-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com]On Behalf Of Robert La
Ferla
Sent: Tuesday, December 20, 2005 1:44 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] Distinctive Ring and zapata.conf


Does anyone have distinctive ring working with Asterisk?  Could you
share your zapata.conf and relevent extensions.conf?

Thanks.

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list