Hi All,
I have a simple issue I seem to not be making progress on. Due to topology hiding in one of the headquaters I send a invite as such:
INVITE sip:0114712500-10.3.12.153@x.x.x.x SIP/2.0.
You can see the first part of the invite is the dialstring then a "-" used as a delimiter to bill against the hidden IP. FS duly passed this dialstring on. The carrier then rejects the call.
I want to modify the dialstring in the context below not to dial 0114712500-10.3.12.153 but rather just 0114712500. I hope I am clear, and thanks in advance.
<document type="freeswitch/xml">
<section name="dialplan" description="RE FS DP">
<context name="lcr_trunks">
<extension name="Catch all send to carriers">
<condition field="destination_number" expression="^(.*)$">
<action application="set" data="nibble_account=10.3.12.153"/>
<action application="lcr" data="$1 peak"/>
<action application="bridge" data="${lcr_auto_route}"/>
</condition>
</extension>
</context>
</section>
</document>
Chris G
FreeSWITCH-users mailing list