<div dir="ltr">You can transfer to the new number.<div>That means it starts the dialplan again, so put this cleanup at the top of your dialplan to minimize wasted routing.<br clear="all"><div dir="ltr"><span style="font-family:Verdana, Arial, Helvetica, sans-serif"><span style="font-size:small">-Avi</span></span></div>

<br>
<br><br><div class="gmail_quote">On Sat, Sep 24, 2011 at 5:09 AM, Chad Vogel <span dir="ltr">&lt;<a href="mailto:cvogel@lyonl.com">cvogel@lyonl.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">





<div style="word-wrap:break-word">
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&#39;t need to loopback?
<div>
<div><br>
</div>
<div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(44, 38, 249)">
    &lt;<span style="color:#b22221">extension</span> <span style="color:#ff1b18">name</span>=<span style="color:#000000">&quot;</span>CleanUp<span style="color:#000000">&quot;</span>&gt;</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(44, 38, 249)">
      &lt;<span style="color:#b22221">condition</span> <span style="color:#ff1b18">
field</span>=<span style="color:#000000">&quot;</span>destination_number<span style="color:#000000">&quot;</span>
<span style="color:#ff1b18">expression</span>=<span style="color:#000000">&quot;</span>^(44|380)?(\d)$<span style="color:#000000">&quot;</span>&gt;</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(44, 38, 249)">
        &lt;<span style="color:#b22221">action</span> <span style="color:#ff1b18">
application</span>=<span style="color:#000000">&quot;</span>bridge<span style="color:#000000">&quot;</span>
<span style="color:#ff1b18">data</span>=<span style="color:#000000">&quot;</span>loopback/+$1<span style="color:#000000">&quot;</span>/&gt;</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(178, 34, 33)">
<span style="color:#2c26f9">      &lt;/</span>condition<span style="color:#2c26f9">&gt;</span></div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(178, 34, 33)">
<span style="color:#2c26f9">    &lt;/</span>extension<span style="color:#2c26f9">&gt;</span></div>
</div>
<div><span style="color:#2c26f9"><br>
</span></div>
</div>
</div>

<br><br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div></div>