rendered paste bodyThe following is the zaptel.conf
####Start
span=1,0,0,esf,b8zs
fxsls=1-8
############End
The Following is the zapata.conf
############Start
;
; Zapata telephony interface
;
; Configuration file
;faxdetect=both
;faxdetect=incoming
;faxdetect=outgoing
;faxdetect=no
[channels]
;First 4 channels are the FXO modular card
;signalling = fxs_ks
;context=incoming
;channel=>1-8
language=en
context=default
usecallerid=yes
callgroup=1
pickupgroup=1
faxdetect=no
musiconhold=techno
jitterbuffers=50
echocancel = yes
echocancelwhenbridged = yes
echotraining=700
useincomingcalleridonzaptransfer=yes
callerid=asreceived
usecallerid=yes
relaxdtmf=yes
busydetect=no
callprogress=no
pulse=no
faxdetect=no
signalling = fxs_ks
group=1
context=incoming
adsi=no
callwaiting=no
callwaitingcallerid=no
threewaycalling=no
transfer=no
cancallforward=no
callreturn=no
rxgain=1.0
txgain=2.0
channel => 1-8
###########End
The Following is the extensions.conf file
##############Start
[general]
static=yes
writeprotect=yes
host=localhost
port=1314
usecache=yes
cachedir=/var/cache/asterisk/festival/
festivalcommand=(tts_textasterisk "%s" 'file)(quit)\n
[globals]
BRANDONO=SIP/4001
TIMF=SIP/4002
MARTHAG=SIP/4003
SHAUNW=SIP/4004
BROCKW=SIP/4005
ZAPG1=Zap/g1
ALLPHONES=${BRANDONO}&${TIMF}&${MARTHA}&${SHAUNW}&${BROCKW}
[default]
[storephones]
exten => _4XXX,hint,SIP/${EXTEN}
exten => _4XXX,1,macro(storephones)
exten => 20,1,Answer
exten => 20,2,Festival(Hello World\, Your Extension is ${EXTEN})
;exten => 4001,hint,SIP/4001
;exten => 4001,1,macro(storephones)
;exten => 4002,hint,SIP/4002
;exten => 4002,1,macro(storephones)
;exten => 4003,hint,SIP/4003
;exten => 4003,1,macro(storephones)
;exten => 4004,hint,SIP/4004
;exten => 4004,1,macro(storephones)
;exten => 4005,hint,SIP/4005
;exten => 4005,1,macro(storephones)
exten => 101,1,MeetMe(101,123)
;exten => _2XXX,1,SetVar(PAA=${CALLERIDNUM})
;exten => _2XXX,2,Answer
;exten => _2XXX,3,Wait(1)
;exten => _2XXX,4,SetVar(_INTERCOM=true)
;exten => _2XXX,5,ParkAndAnnounce(pbx-transfer:PARKED|7200|SIP/4${EXTEN:1}|storephones,${EXTEN:1},1)
include => outside
;include => ivr
;include => ivr-record
include => voicemail
include => parkedcalls
[voicemail]
exten => 400,1,VoicemailMain(s${CALLERIDNUM}) ; Catch all voicemail ext 400
exten => 4000,1,VoicemailMain(${STOREVOICEMAIL}) ; Store voicemail
exten => asterisk,1,VoicemailMain(s${CALLERIDNUM})
[incoming]
;exten => s,1,Ringing ; Makes asterisk generate ring
;exten => s,2,Answer ; Causes asterisk to pickup for fax switching
;exten => s,3,Goto(incoming,s,13)
;exten => s,6,GotoIfTime(18:30-23:59|mon-thu|*|*?ivr,8000,1)
;exten => s,7,GotoIfTime(0:00-7:45|mon-thu|*|*?ivr,8000,1)
;exten => s,8,GotoIfTime(17:30-23:59|fri|*|*?ivr,8000,1)
;exten => s,9,GotoIfTime(0:00-7:45|fri|*|*?ivr,8000,1)
;exten => s,10,GotoIfTime(15:00-23:59|sat|*|*?ivr,8000,1)
;exten => s,11,GotoIfTime(0:00-9:45|sat|*|*?ivr,8000,1)
;exten => s,12,GotoIfTime(0:00-23:59|sun|*|*?ivr,8000,1)
exten => s,1,Dial(${ALLPHONES},25,r) ; Dial all sip phones
;exten => s,14,Voicemail(${STOREVOICEMAIL}) ; store voicemail
;exten => s,15,Hangup ; Hangup the phone when finished
include => storephones
include => ivr
[outside]
exten => _XXXXXXX,1,Dial(Zap/1/${EXTEN})
;Direct Line Access
;exten => 11,1,Dial(Zap/1) ;go directly to line 1
;exten => 22,1,Dial(Zap/2) ;go directly to line 2
;exten => 33,1,Dial(Zap/3); go directly to line 3
;exten => 44,1,Dial(Zap/4); go directly to line 4
;exten => 55,1,Dial(Zap/5); go directly to line 5
;exten => 66,1,Dial(Zap/6); go directly to line 6
;exten => 77,1,Dial(Zap/7); go directly to line 7
;exten => 88,1,Dial(Zap/8); go directly to line 8
;911 calling
include = storephones
###############End
Errors
#############Start
Oct 7 20:47:11 WARNING[3705]: chan_zap.c:5909 ss_thread: CallerID returned with error on channel 'Zap/1-1'
Oct 7 20:47:11 NOTICE[3705]: app_dial.c:1091 dial_exec_full: Unable to create channel of type 'SIP' (cause 3 - No route to destination)
Oct 7 20:47:11 WARNING[3705]: app_dial.c:1050 dial_exec_full: Dial argument takes format (technology1/[device:]number1&technology2/[device:]number2...|optional timeout)
Oct 7 20:48:35 WARNING[3705]: chan_zap.c:5909 ss_thread: CallerID returned with error on channel 'Zap/1-1'
Oct 7 20:48:35 NOTICE[3705]: app_dial.c:1091 dial_exec_full: Unable to create channel of type 'SIP' (cause 3 - No route to destination)
Oct 7 20:48:35 WARNING[3705]: app_dial.c:1050 dial_exec_full: Dial argument takes format (technology1/[device:]number1&technology2/[device:]number2...|optional timeout)
Oct 7 20:49:18 WARNING[3705]: chan_zap.c:5909 ss_thread: CallerID returned with error on channel 'Zap/1-1'
Oct 7 20:49:18 NOTICE[3705]: app_dial.c:1091 dial_exec_full: Unable to create channel of type 'SIP' (cause 3 - No route to destination)
Oct 7 20:49:18 WARNING[3705]: app_dial.c:1050 dial_exec_full: Dial argument takes format (technology1/[device:]number1&technology2/[device:]number2...|optional timeout)
Oct 7 20:49:29 WARNING[3705]: pbx.c:2336 __ast_pbx_run: Timeout, but no rule 't' in context 'incoming'
###########End