[Freeswitch-users] Newbie Dial Plan question
Nandy Dagondon
gcd at i.ph
Sat Jan 15 03:17:26 MSK 2011
hi charles,
in your bridge data, try this format instead:
sofia/gateway/8580444/$1 at fxo_ip_address:fxo_port
cheers!
On Sat, Jan 15, 2011 at 5:00 AM, Charles Bujold <cjbujold at accra.ca> wrote:
> 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>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110115/07f9450c/attachment.html
More information about the FreeSWITCH-users
mailing list