Hello friends, in aCentOS with a A400P01 OpenVox PCI I have a analog line connected.<br><br>I am new in Linux and Asterisk, my steps are theese:<br><br>1. Install CentOS 4.4 (basic instalation).<br><br>2. Command line:<br>
yum -y update<br> yum install gcc kernel-devel bison openssl-devel<br> yum install openssl-devel<br><br>3. Download the source:<br> wget <a href="http://ftp.digium.com/pub/asterisk/releases/asterisk-1.2.17.tar.gz">
http://ftp.digium.com/pub/asterisk/releases/asterisk-1.2.17.tar.gz</a><br> wget <a href="http://ftp.digium.com/pub/zaptel/releases/zaptel-1.2.16.tar.gz">http://ftp.digium.com/pub/zaptel/releases/zaptel-1.2.16.tar.gz</a>
<br><br>4. Uncompress:<br> tar xvfz asterisk-1.2.17.tar.gz<br> tar xvfz zaptel-1.2.16.tar.gz<br><br>5. Compile:<br> cd zaptel-1.2.16<br> make clean<br> make<br> make install<br> cd ..<br><br> cd asterisk-1.2.17
<br> make clean<br> make<br> make install<br> make samples<br> make config<br><br>Mi configuration files:<br><br> <a href="http://zaptel.com">zaptel.com</a><br><br>loadzone=es<br>defaultzone=es<br>fxsks=1<br><br>
zapata.conf<br><br>[channels]<br><br>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<br><br> sip.conf<br><br>[general]<br>context=default<br>bindport=5060<br>bindaddr=<a href="http://0.0.0.0">0.0.0.0
</a><br>srvlookup=yes<br><br>[101]<br>type=friend<br>secret=some<br>qualify=yes<br>nat=no<br>host=dynamic<br>canreinvite=no<br>context=SOME<br><br>[102]<br>type=friend<br>secret=some<br>qualify=yes<br>nat=no<br>host=dynamic
<br>canreinvite=no<br>context=SOME<br><br> extensions.conf<br><br>[general]<br>static=yes<br>writeprotect=yes<br>;autofallthrough=yes<br>;clearglobalvars=no<br>;priorityjumping=no<br><br>[SOME]<br>exten => 101,1,Dial(SIP/101,30,Ttm)
<br>exten => 101,2,Hangup<br><br>exten => 102,1,Dial(SIP/102,30,Ttm)<br>exten => 102,2,Hangup<br><br>[incoming]<br>exten => s,1,Wait(1)<br>exten => s,2,Answer()<br>exten => s,3,Dial(SIP/101,30,Ttm)<br><br>
[outgoing]<br>exten =>_9XXXXXXXX,1,Dial(ZAP/g1/${EXTEN},45,tTwW)<br>exten =>_9XXXXXXXX,2,Hangup()<br>exten =>_9XXXXXXXX,102,Hangup()<br><br><br>Command line:<br><br> modprobe zaptel<br> modprobe wcfxo<br> modprobe wctdm
<br><br>Then I start Asterisk (asterisk -vvvc), and when I call to the analog line number, the console shows that:<br><br><br>*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 26 19:34:33 WARNING[3818]: 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 26 19:34:38 NOTICE[3821]: chan_zap.c:6223 ss_thread: Got event 18 (Ring Begin)...<br>Apr 26 19:34:40 NOTICE[3821]: 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 26 19:34:40 WARNING[3821]: 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 26 19:34:47 NOTICE[3824]: chan_zap.c:6223 ss_thread: Got event 18 (Ring Begin)...<br>Apr 26 19:34:49 NOTICE[3824]: 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 26 19:34:49 WARNING[3824]: 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><br>The call doesn't ring, I want to redirect to extension 101.<br><br><br>Thank you very much for your time.<br><br>See you,<br><br><br>Josu Lazkano