I’m getting these errors when I place a call into one of my FXO ports. Asterisk 1.4 and Zaptel 1.4, compiled on Ubuntu 6.06 (since the Asterisk 1.1 .deb doesn’t include chan_zap.so):
*CLI> – Starting simple switch on ‘Zap/3-1’
[May 9 12:16:07] NOTICE[20222]: chan_zap.c:6338 ss_thread: Got event 18 (Ring Begin)…
== Starting Zap/3-1 at pstn,s,1 failed so falling back to exten ‘s’
== Starting Zap/3-1 at pstn,s,1 still failed so falling back to context ‘default’
[May 9 12:16:07] WARNING[20222]: pbx.c:2450 __ast_pbx_run: Channel ‘Zap/3-1’ sent into invalid extension ‘s’ in context ‘default’, but no invalid handler
– Hungup ‘Zap/3-1’
I’ve read other people having this issue - but all of them didn’t have their contexts defined!
============zaptel.conf:
loadzone=us
defaultzone=us
fxoks=1,2
fxsks=3,4
============zapata.conf:
[trunkgroups]
[channels]
;usecallerid=yes
:hidecallerid=no
callwaiting=no
;threewaycalling=yes
;transfer=yes
echocancel=yes
echotraining=yes
immediate=no
signalling = fxs_ks
language = en
context = pstn
channel => 3-4
============extensions.conf:
[general]
[globals]
[default]
exten => s,1,Answer
exten => s,2,Playback(hello-world)
[pstn]
exten => s,1,Answer()
exten => s,2,Playback(hello-world)
I have tried every combination of Answer and Answer() (I’m not sure which is correct - I’ve seen both used, supposedly successfully)
Please save a student from the Professor’s wrath