freeswitch dialplan configuration

Skip to first unread message

webwerks IDC

Nov 4, 2020, 8:00:04 AM11/4/20
to freeswitch-ru
Dear Team,

We have configured Freeswitch  for outgoing calling. We are calling via linphone. We can able to call outside the country using country code for example UK +44 or 0044.

However, our requirement is that , within UK if some call local mobile it will be work with 07 without adding prefix +44 or 0044

I have tried to set expression but it's not matching. Please advice, how we need to adjust the setting so we can able to call without country prefix within UK

below is dialplan defaul xml config
    <extension name="call_outbound">
        <!-- The following line detects outbound calls with a 9 as a dropped prefix -->
        <!-- The line after sends the 8-15 digit numbers to the GoTrunk gateway -->
            <condition field="destination_number" expression="^(?:\+|00)(\d+)$">
           <action application="set" data="effective_caller_id_number=${outbound_caller_id_number}"/>
            <action application="bridge" data="sofia/gateway/call_outbound/$1"/>
Reply all
Reply to author
0 new messages