[Freeswitch-users] Normalization Rules

Chad Vogel cvogel at lyonl.com
Sat Sep 24 06:09:34 MSD 2011


What is the best way to do number normalization in a dial plan to reformat call to e164 before processing? Is this the best way of doing it or is there a better way where I wouldn't need to loopback?

    <extension name="CleanUp">
      <condition field="destination_number" expression="^(44|380)?(\d)$">
        <action application="bridge" data="loopback/+$1"/>
      </condition>
    </extension>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110924/0c8b61c2/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list