[Freeswitch-users] Regex

Richard Mace richard.mace at gmail.com
Sat Mar 7 12:09:49 MSK 2015


Thanks Florent,
There must be another reason for my calls not going through the gateway
then :)

Richard
On 7 Mar 2015 09:05, "Florent Krieg" <flokrrr at gmail.com> wrote:

> Yes it would indeed.
> Le 7 mars 2015 09:46, "Richard Mace" <richard.mace at gmail.com> a écrit :
>
>> Hi,
>> Can I just confirm that the following:
>>
>>     <extension name="wph_out_work">
>>       <condition field="destination_number" expression="^9(0\d{10})$">
>>         <action application="bridge" data="sofia/gateway/wph-office/$1"/>
>>       </condition>
>>     </extension>
>>
>>
>> Would route all calls that were 90 and then another 10 digits, to the
>> gateway wph-office by just passing the number beginning with the 0
>>
>> Thanks
>>
>> Richard
>>
>> _________________________________________________________________________
>> 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
>>
>
> _________________________________________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150307/6b58c503/attachment.html 


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