Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagehtml/xml
title/etc/freeswitch/dialplan/default.xml
 <include>
<context name="private">
    <extension name="going-out">
        <condition field="destination_number" expression="^(\d{7,20})$">
            <action application="set" data="transfer_ringback=$${us-ring}"/>
			<!--Set this for a generic Caller ID -->
			<action application="set" data="effective_caller_id_number=5553211234"/>
            <action application="bridge" data="sofia/gateway/voip.ms/$1"/>
            <action application="answer"/>
            <anti-action application="set" data="transfer_ringback=$${us-ring}"/>
            <anti-action application="bridge" data="sofia/to-openucsipx/${destination_number}@sip.corp.ezuce.com"/>
            <anti-action application="answer"/>
        </condition>
    </extension>
</context>
</include>

...

Code Block
languagehtml/xml
title/etc/freeswitch/dialplan/public.xml
 <include>
<context name="public">
    <extension name="going-in">
        <condition>
            <action application="set" data="transfer_ringback=$${us-ring}"/>
            <action application="bridge" data="sofia/to-openucsipx/${destination_number}@sip.corp.ezuce.com"/>
            <action application="answer"/>
        </condition>
    </extension>
</context>
</include>


...