<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3059" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>hello, I have instaled a analog line, and when I
call on the console apears that:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I want to redirect the call to 101
extension.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>*CLI> -- Starting simple
switch on 'Zap/1-1'<BR> == Starting Zap/1-1 at default,s,1 failed so
falling back to exten 's'<BR> == Starting Zap/1-1 at default,s,1 still
failed so falling back to context 'default'<BR>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<BR> -- Hungup
'Zap/1-1'<BR> -- Starting simple switch on 'Zap/1-1'<BR>Apr 27
08:15:58 NOTICE[3497]: chan_zap.c:6223 ss_thread: Got event 18 (Ring
Begin)...<BR>Apr 27 08:16:00 NOTICE[3497]: chan_zap.c:6223 ss_thread: Got event
2 (Ring/Answered)...<BR> == Starting Zap/1-1 at default,s,1 failed so
falling back to exten 's'<BR> == Starting Zap/1-1 at default,s,1 still
failed so falling back to context 'default'<BR>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<BR> -- Hungup
'Zap/1-1'<BR></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>mi configuration files are this:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>extensions.conf:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=2>[general]<BR>static=yes<BR>writeprotect=yes<BR>;autofallthrough=yes<BR>;clearglobalvars=no<BR>;priorityjumping=no</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>[SOME]<BR>exten =>
101,1,Dial(SIP/101,30,Ttm)<BR>exten => 101,2,Hangup</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>exten => 102,1,Dial(SIP/102,30,Ttm)<BR>exten
=> 102,2,Hangup</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>[incoming]<BR>exten => s,1,Wait(1)<BR>exten
=> s,2,Answer()<BR>exten => s,3,Dial(SIP/101,30,Ttm)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>[outgoing]</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>exten
=>_94XXXXXXX,1,Dial(ZAP/g1/${EXTEN},45,tTwW)<BR>exten
=>_94XXXXXXX,2,Hangup()<BR>exten =>_94XXXXXXX,102,Hangup()</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>zapata.conf:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>[channels]</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial
size=2>signalling=fxs_ks<BR>usecallerid=yes<BR>callwaiting=no<BR>threewaycalling=no<BR>transfer=yes<BR>cancallforward=yes<BR>;
valores validos
256(32ms),512(64ms),1024(128ms)<BR>echocancel=yes<BR>echotraining=yes<BR>echocancelwhenbridged=no<BR>rxgain=0<BR>txgain=0<BR>group=1<BR>callgroup=1<BR>pickupgroup=1<BR>immediate=no<BR>faxdetect=incoming<BR>;busydetect=yes<BR>;busycount=10<BR>answeronpolarityswitch=yes<BR>hanguponpolarityswitch=yes<BR>polarityonanswerdelay=600<BR>;callprogress=no<BR>progzone=es<BR>channel
=> 1</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>zaptel.conf:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=2><BR>loadzone=es<BR>defaultzone=es<BR>fxsks=1<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>sip.conf:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=2>[general]<BR>context=default<BR>bindport=5060<BR>bindaddr=0.0.0.0<BR>srvlookup=yes</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial
size=2>[101]<BR>type=friend<BR>secret=some<BR>qualify=yes<BR>nat=no<BR>host=dynamic<BR>canreinvite=no<BR>context=SOME</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial
size=2>[102]<BR>type=friend<BR>secret=some<BR>qualify=yes<BR>nat=no<BR>host=dynamic<BR>canreinvite=no<BR>context=SOME</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>thanks for all!!!</DIV></FONT></BODY></HTML>