<div>Hello everybody from Guadalajara, Mexico. </div><div><br></div><div>I have 2 pots lines connected to a Cisco SPA8800 and with the help of fs wiki site I was able to interface this device to fs. </div><div><br></div><div>
To make calls outside my office I created a file in /usr/local/freeswitch/conf/dialplan/default </div><div><br></div><div><div><div>[root@pbx default]# pwd</div><div>/usr/local/freeswitch/conf/dialplan/default</div><div>[root@pbx default]# cat 00_spa8800_linea_1.xml</div>
<div><include></div><div> <extension name="axtel1"></div><div> <condition field="destination_number" expression="^1(\d{8,16})$"></div><div> <action application="bridge" data="sofia/internal/$<a href="http://1@10.10.100.24:5061">1@10.10.100.24:5061</a>" /></div>
<div> </condition></div><div> </extension></div><div></include></div></div></div><div><br></div><div>As you see I have to dial "1" an then the phone number to be dialed. </div><div><br></div>
<div>With this dialplan entry I am able to make local calls from my linksys SPA921 IP Phone without any problem. </div><div><br></div>Now I am trying to make some long distance calls. The phone I was trying to call has 12 digits. <div>
<br></div><div>The problem is that when I dial this 12 digit phone number, log messages in fs_cli console shows me that freeswtich only has 10 numbers to try to make the long distance call. </div><div><br></div><div>If it helps when I dial this exact 12 digits phone in Xlite from my windows rig, it works without any problem, I can make my long distance call. </div>
<div><br></div><div>This is Xlite log: </div><div><a href="http://pastebin.freeswitch.org/17626">http://pastebin.freeswitch.org/17626</a></div><div><br></div><div>This is SPA921 log: </div><div><a href="http://pastebin.freeswitch.org/17627">http://pastebin.freeswitch.org/17627</a></div>
<div><br></div><div><br></div><div>Thanks in advance for your kind help. </div><div>Have a nice day. </div><div><br></div><div><br><div><br></div><div><br><div><br></div><div><br></div><div><div><br></div><div><br></div><div>
<br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div></div></div>