[Freeswitch-users] Newbie Dial Plan question

Charles Bujold cjbujold at accra.ca
Sat Jan 15 00:00:47 MSK 2011


Newbie question,  

 

I have a ht503(FXO) connected to freeswitch to make local calls (7digits)
The HT503-FXO is registered as extension 510.  If I dial 510 (Bria
softphone) via freeswitch  I get dial tone and can dial my local number.
However I can't seem to get it working via my dial plan.

 

I created a gateway to connect to the HT503 see below, and I created a local
7digit dial plan.   When I try to connect I get the error
"Network_out_of_Order".   Can somebody point out my error.  Thanks

 

Charles 

 

Gateway: /sip_profiles/external

 

<include>

    <gateway name="8580444">

      <param name="username" value="510"/>

      <param name="password" value="510"/>

      <param name="proxy" value="192.168.10.82"/>

      <param name="expire-seconds" value="800"/>

      <param name="register" value="false"/>

      <param name="retry-seconds" value="60"/>

      <param name="context" value="public"/>

    </gateway>

</include>

 

 

Dial Plan: /dialplan/default

 

<extension name="LocalCalls.7d" >

   <condition field="destination_number" expression="^\d{7}$">

       <action application="set"
data="effective_caller_id_name=${outbound_caller_id_name}"/>

       <action application="set"
data="effective_caller_id_number=${outbound_caller_id_number}"/>

       <action application="bridge" data="sofia/gateway/8580444/$1"/>

   </condition>

</extension>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110114/61418fc9/attachment.html 


More information about the FreeSWITCH-users mailing list