[asterisk-users] can´t anserd the call

Josu Lazkano Lete jlazkano at somesi.com
Fri Apr 27 01:09:56 MST 2007


hello, I have instaled a analog line, and when I call on the console apears that:

I want to redirect the call to 101 extension.

*CLI>     -- Starting simple switch on 'Zap/1-1'
  == Starting Zap/1-1 at default,s,1 failed so falling back to exten 's'
  == Starting Zap/1-1 at default,s,1 still failed so falling back to context 'default'
Apr 27 08:15:53 WARNING[3494]: pbx.c:2377 __ast_pbx_run: Channel 'Zap/1-1' sent into invalid extension 's' in context 'default', but no invalid handler
    -- Hungup 'Zap/1-1'
    -- Starting simple switch on 'Zap/1-1'
Apr 27 08:15:58 NOTICE[3497]: chan_zap.c:6223 ss_thread: Got event 18 (Ring Begin)...
Apr 27 08:16:00 NOTICE[3497]: chan_zap.c:6223 ss_thread: Got event 2 (Ring/Answered)...
  == Starting Zap/1-1 at default,s,1 failed so falling back to exten 's'
  == Starting Zap/1-1 at default,s,1 still failed so falling back to context 'default'
Apr 27 08:16:00 WARNING[3497]: pbx.c:2377 __ast_pbx_run: Channel 'Zap/1-1' sent into invalid extension 's' in context 'default', but no invalid handler
    -- Hungup 'Zap/1-1'


mi configuration files are this:

extensions.conf:

[general]
static=yes
writeprotect=yes
;autofallthrough=yes
;clearglobalvars=no
;priorityjumping=no

[SOME]
exten => 101,1,Dial(SIP/101,30,Ttm)
exten => 101,2,Hangup

exten => 102,1,Dial(SIP/102,30,Ttm)
exten => 102,2,Hangup

[incoming]
exten => s,1,Wait(1)
exten => s,2,Answer()
exten => s,3,Dial(SIP/101,30,Ttm)

[outgoing]

exten =>_94XXXXXXX,1,Dial(ZAP/g1/${EXTEN},45,tTwW)
exten =>_94XXXXXXX,2,Hangup()
exten =>_94XXXXXXX,102,Hangup()

zapata.conf:

[channels]

signalling=fxs_ks
usecallerid=yes
callwaiting=no
threewaycalling=no
transfer=yes
cancallforward=yes
; valores validos 256(32ms),512(64ms),1024(128ms)
echocancel=yes
echotraining=yes
echocancelwhenbridged=no
rxgain=0
txgain=0
group=1
callgroup=1
pickupgroup=1
immediate=no
faxdetect=incoming
;busydetect=yes
;busycount=10
answeronpolarityswitch=yes
hanguponpolarityswitch=yes
polarityonanswerdelay=600
;callprogress=no
progzone=es
channel => 1

zaptel.conf:


loadzone=es
defaultzone=es
fxsks=1

sip.conf:

[general]
context=default
bindport=5060
bindaddr=0.0.0.0
srvlookup=yes

[101]
type=friend
secret=some
qualify=yes
nat=no
host=dynamic
canreinvite=no
context=SOME

[102]
type=friend
secret=some
qualify=yes
nat=no
host=dynamic
canreinvite=no
context=SOME

thanks for all!!!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070427/4fec9b14/attachment.htm


More information about the asterisk-users mailing list