Regis, You know that the regex is ok, but you need to find if this specific extension in your dialplan is being tested during the call routing, if you post your dialplan and your debug logs you'll get better answers. Em 07/03/2015 12:14, "Regis M" <regis.freeswitch.org@tornad.net> escreveu:
Yes it is... https://regex101.com/r/kX6xK8/1
2015-03-07 9:42 GMT+01:00 Richard Mace <richard.mace@gmail.com>:
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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org