[Freeswitch-users] Normalization Rules

Avi Marcus avi at avimarcus.net
Sat Sep 24 20:49:53 MSD 2011


You can transfer to the new number.
That means it starts the dialplan again, so put this cleanup at the top of
your dialplan to minimize wasted routing.
-Avi



On Sat, Sep 24, 2011 at 5:09 AM, Chad Vogel <cvogel at lyonl.com> wrote:

>  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>
>
>
>
> 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/20110924/7d1b930f/attachment.html 


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