Do you have console log and sip trace between fs and spa3102? If so, drop into pastebin.freeswitch.org and link back here. -MC On Thu, Jul 19, 2012 at 8:55 AM, Todd Bailey <toddb@toddbailey.net> wrote:
Any one ?
On Tue, 2012-07-17 at 15:37 -0700, Todd Bailey wrote:
Hi All,
I'm having issues getting a dial plan to work on FS and a Cisco SPA 3102 router.
when I dial 0, 1 or 9 plus a 10 number, I get to the router's dial tone but I have to reenter the number I want to connect to.
The expected action is to only need to enter the number to dial one
Can some one provide dial plan and/or other config file example on how to resolve this issue?
here is what I have so far:
/usr/local/freeswitch/conf/dialplan/default.xml
<!-- Dial any 10 digit number (2223334444) or 1+10 number (12223334444) or 9 + 10 number here -->
<extension name="external">
<condition field="destination_number" expression="^(1{0,1,9}\d{10})$">
<action application="set" data="effective_caller_id_number=12223334444"/> <!-- If your provider does not provide ringback (180 or 183) you may simulate ringback by uncommenting the following line. --> <!-- action application="ringback" /--> <!-- <action application="bridge" data="sofia/gateway/voicepulse/$1"/> --> <!-- <action application="bridge" data="sofia/internal/${destination_number}@192.168.1.5:5061<http://destination_number%7D@192.168.1.5:5061>"/> --> <action application="bridge" data="sofia/internal/$1@192.168.1.5:5061" /> </condition> </extension>
/usr/local/freeswitch/conf/dialplan/default/00_spa3102.xml
<include> <extension name="To PSTN"> <condition field="destination_number" expression="(.*)"> <action application="bridge" data="sofia/internal/${destination_number}@192.168.1.5:5061<http://destination_number%7D@192.168.1.5:5061>" /> </condition> </extension> </include>