[Freeswitch-users] remove country code from destination_number

Paul Klenk markus.klenk at googlemail.com
Fri Dec 5 13:22:20 MSK 2014


Hi,

I'd like to have the country code "+49" removed from
destination_number and changed to "0"

I tried:
    <extension name="international" continue="true">
      <condition field="destination_number" expression="^\+49(.*)">
        <action inline="true" application="set" data="destination_number=0$1"/>
      </condition>
    </extension>

but after correctly executing this extension-statement it reverts to
the original version of destination_number



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