<div>Hi (Hola!): </div>
<div>Thanks for your replies.</div>
<div> </div>
<div>Rene, I've already posted my dialplan, but i think it didn't reach the list.<br>Here are my configuration files:</div>
<div> </div>
<div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><span class="sg">
<div><font face="Arial" size="2"></font></div></span>
<blockquote style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"><span class="q">
<div>"Claudio Canseco" <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:claudio.canseco@gmail.com" target="_blank">claudio.canseco@gmail.com</a>> wrote in message <a onclick="return top.js.OpenExtLink(window,event,this)" href="news:8c1b1bde05092113458b6621@mail.gmail.com" target="_blank">
news:8c1b1bde05092113458b6621@mail.gmail.com</a>...</div></span>
<div><span class="e" id="q_1067abcbae071f44_4">
<div>Hi, thanks for your replay Alex:</div>
<div> </div>
<div> </div>
<div>Right now a have an Asterisk server on a Dell Optiplex GX110 (PIII 666MHz, 320 RAM) with no soundcard.</div>
<div>With an X100P clone card (an ambient modem).</div>
<div> </div>
<div>Everything looks good, I've been able to make local calls trough PSTN, IAX, SIP.</div>
<div>I only have 1 POTS line, and 4 SIP softphones (X-lite) running all right.</div>
<div>The only problem so far I have noticed (or realized of :P), it is that i can make calls</div>
<div>to cellularphone numbers, * tries to connect but i get redirected to the emergency service number 066.</div>
<div> </div>
<div>I don't think it is because of my dialplan, eventhough I tried several configurations. Anyways here is part of the dialplan</div>
<div>where my softphones make calls:</div>
<div> </div>
<blockquote dir="ltr" style="MARGIN-RIGHT: 0px">
<p><br>;########################################<br>;# Llamadas salientes [outgoing] #<br>;########################################</p>
<p>[outgoing]<br>include => toPSTN<br>include => iaxtel<br>include => fwd-iax</p>
<p>;######## -> PSTN ########</p>
<p>[toPSTN] ; Permite hacer llamadas locales (7-digitos sin contar 9)<br>ignorepat => 9</p>
<p>exten => _92XXXXXX,1,NoOp("Call for "${EXTEN:1})<br>exten => _92XXXXXX,2,Dial(Zap/1/${EXTEN:1})</p>
<p>exten => _904466XXXXXXXX,1,NoOp("Call for "(${EXTEN:1}) ;Llamadas a Celular<br>exten => _904466XXXXXXXX,2,Dial(Zap/1/ww${EXTEN:1})</p>
<p>;######## -> IAXTEL ########</p>
<p>[iaxtel]<br>exten => _1700XXXXXXX,1,Dial(<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:IAX2/$%7Bcuenta%7D@iaxtel.com/$%7BEXTEN%7D@iaxtel" target="_blank">IAX2/${cuenta}@iaxtel.com/${EXTEN}@iaxtel
</a>)<br>exten => _1888NXXXXXX,1,Dial(<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:IAX2/$%7Bcuenta%7D@iaxtel.com/$%7BEXTEN%7D@iaxtel" target="_blank"> IAX2/${cuenta}@iaxtel.com/${EXTEN}@iaxtel
</a>)<br>exten => _1877NXXXXXX,1,Dial(<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:IAX2/$%7Bcuenta%7D@iaxtel.com/$%7BEXTEN%7D@iaxtel" target="_blank">IAX2/${cuenta}@iaxtel.com/${EXTEN}@iaxtel</a>
)<br>exten => _1866NXXXXXX,1,Dial( <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:IAX2/$%7Bcuenta%7D@iaxtel.com/$%7BEXTEN%7D@iaxtel" target="_blank">IAX2/${cuenta}@iaxtel.com/${EXTEN}@iaxtel</a>
)<br>exten => _1800NXXXXXX,1,Dial(<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:IAX2/$%7Bcuenta%7D@iaxtel.com/$%7BEXTEN%7D@iaxtel" target="_blank">IAX2/${cuenta}@iaxtel.com/${EXTEN}@iaxtel </a>
)</p>
<p>;######## -> FWD ########</p>
<p>[fwd-iax]<br>exten => _3.,1,SetCallerId,${FWDCIDNAME}<br>exten => _3.,2,Dial(<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://iax2/$%7BFWDNUMBER%7D:$%7BFWDPASSWORD%7D@iax2.fwdnet.net/$%7BEXTEN:1%7D,60,tr)" target="_blank">
IAX2/${FWDNUMBER}:${FWDPASSWORD}@iax2.fwdnet.net/${EXTEN:1},60,tr) </a><br>exten => _3.,3,Congestion</p>
<p> </p>
<p>;#########################################<br>;# Softphone x-lite #<br>;#########################################</p>
<p>[x-lite] ; Note: SIP extensions are defined here as "66" followed by any two digits<br>include => default<br>include => servicios<br>include => outgoing</p>
<p>exten => 6600,1,NoOp(Llamada saliente maneja IAX2)<br>exten => 6600,2,Macro(dial,kano00,IAX2/kano00,20,tr)</p>
<p>exten => _X,1,NoOp(Llamada saliente maneja SIP)<br>exten => _X,2,Macro(dial,667${EXTEN},SIP/667${EXTEN},20,tr)<br></p></blockquote>
<p>All softphones working are SIP, and are directed to the [x-lite] context.</p>
<p>This is my zapata.conf:</p>
<blockquote dir="ltr" style="MARGIN-RIGHT: 0px">
<p>[channels]<br>language=es<br>context=incoming<br>signalling=fxs_ks.<br>usecallerid=yes<br>hidecallerid=no<br>callwaiting=yes<br>callwaitingcallerid=yes<br>threewaycalling=yes<br>transfer=yes<br>cancallforward=yes<br>callreturn=yes
</p>
<p>echocancel=yes<br>echocancelwhenbridged=yes<br>echotraining=800<br>rxgain=0.0<br>txgain=25.0</p>
<p>group=1<br>pickupgroup=1<br>immediate=yes<br>musiconhold=default<br>relaxdtmf=yes ; Relajar el DTMF, poner si asterisk salta o duplica algún DTMF, <br> ; dando lugar a un número incorrecto.<br>channel => 1</p></blockquote>
<div dir="ltr">And my simple configuration file, </div>
<div dir="ltr">zaptel.conf:</div>
<div dir="ltr">
<blockquote dir="ltr" style="MARGIN-RIGHT: 0px">
<p>loadzone=mx<br>defaultzone=mx<br>fxsks=1</p></blockquote>
<p>As you can see this aren't complicated configurations because i only have 1 X100P card, and I am currently using little extensions.<br><br>Also, I am not using AMP but I'm thinking to installing it over my current installation. I installed asterisk and zaptel from instructions i got from several documentations sites (voip-info wiki, digium, etc).
<br><br>Well, I hope this info can help to look down the problem. Thanks again,</p>
<p>Regards,</p>
<p>Claudio</p></div></span></div><span class="q">
<p>
<hr>
</p></span></blockquote></blockquote>
<div> </div>
<div>
<div><font face="Arial" size="2">
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div><font face="Arial" size="2"> How are you dialling this?</font></div>
<div><font face="Arial" size="2">90446612345678 ? or 0446612345678 ?</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2"> Also another possibility is that the card is sending the DTMF when it haven't yet get the tone from your PSTN? just thinking... in that case you can use the 'w' in the dialstring to get a wait delay of
0.5 secs. (I don't think it might be this one because your problem is speciffic to cells, but just thinking aloud)</font></div></blockquote></font></div></div><br>From my softphone (X-ten lite) I would dial 90446621234567
</div>
<div>but asterisk would strip 9 and dial with zap 0446621234567</div>
<div> </div>
<div>I also thought that maybe it was dialing to fast and didn't get dialtone, but it does get dial tone but it dials 066 (like 911 number) not the cellphone number i wanted. I do use the 'w' on the dialstring, y wrote on the extension:
</div>
<div>
<p>exten => _904466XXXXXXXX,1,NoOp("Call for "(${EXTEN:1}) ;Llamadas a Celular<br>exten => _904466XXXXXXXX,2,Dial(Zap/1/ww${EXTEN:1})</p>
<p>That's it for the moment, thanks for your ideas :)</p></div>