July 2017
Intermediate to advanced
434 pages
12h 59m
English
In this example we need to strip the leading digits as shown, but we also need to place a new prefix before the called number. Assuming that FreeSWITCH receives the number 00123456789 and we need to replace the 00 with 011, we can use the following extension:
<extension name="Test4">
<condition field="destination_number"
expression="^00(\d+)$">
<action application="bridge"
data="sofia/profilename/011$1@x.x.x.x"/>
</condition>
</extension>
Read now
Unlock full access