[Freeswitch-users] How to use $0 in dialplan?

vfclists . vfclists at gmail.com
Fri Apr 1 00:20:35 MSD 2016


On 28 March 2016 at 12:26, Jurijs Ivolga <jurijs.ivolga at gmail.com> wrote:

> Hi,
>
> As far as I understood you need to prefix exact number with 240 and send
> it out to provider.
>
> Please try following:
>
> <!-- route 1234 numbers through trunkxxx ->
>     <condition field="destination_number"  break="on-true"
>           expression="^(1234567890$)">
>           <action application="bridge"
> data="sofia/gateway/trunkxxx/240$1"/>
>     </condition>
>
> In this case only 1234567890 numbers will satisfy this condition and you
> will sand out to provider 240123456790
>
> With kind regards,
>
> Jurijs
>
>
Thanks, it works

>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.cluecon.com
>>
>> 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
>>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> 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
>



-- 
Frank Church

=======================
http://devblog.brahmancreations.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160331/e9481d13/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list