[Freeswitch-users] Regex

Richard Mace richard.mace at gmail.com
Sat Mar 7 11:42:45 MSK 2015


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150307/b2fb7639/attachment-0001.html 


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