<div dir="ltr">You can&#39;t/shouldn&#39;t modify <span style="font-size:12.8000001907349px">destination_number, it&#39;s part of the caller profile.</span><div><span style="font-size:12.8000001907349px">You can either transfer it to 0$1 to have it hit the dialplan again, or bridge to your gateway and use 0$1 as the destination.</span></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr">-Avi<br></div></div></div>
<br><div class="gmail_quote">On Fri, Dec 5, 2014 at 12:22 PM, Paul Klenk <span dir="ltr">&lt;<a href="mailto:markus.klenk@googlemail.com" target="_blank">markus.klenk@googlemail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I&#39;d like to have the country code &quot;+49&quot; removed from<br>
destination_number and changed to &quot;0&quot;<br>
<br>
I tried:<br>
    &lt;extension name=&quot;international&quot; continue=&quot;true&quot;&gt;<br>
      &lt;condition field=&quot;destination_number&quot; expression=&quot;^\+49(.*)&quot;&gt;<br>
        &lt;action inline=&quot;true&quot; application=&quot;set&quot; data=&quot;destination_number=0$1&quot;/&gt;<br>
      &lt;/condition&gt;<br>
    &lt;/extension&gt;<br>
<br>
but after correctly executing this extension-statement it reverts to<br>
the original version of destination_number<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com">http://www.cluecon.com</a><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">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
</blockquote></div><br></div></div>