Created
December 22, 2009 08:32
-
-
Save zuriby/261618 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<include> | |
<context name="default"> | |
<extension name="localxtens"> | |
<!-- case SIP or E1 to 88988[00-49] route to equivalent SIP extension --> | |
<condition field="destination_number" expression="^(0?9?88988[0-4][0-9])$"> | |
<action application="bridge" data="${sofia_contact(internal/$1@$${domain})}"/> | |
</condition> | |
</extension> | |
<extension name="To_PSTN"> | |
<!-- case SIP to E1, dialing outside of 50 extensions (SIP or E1 numbers)--> | |
<condition field="destination_number" expression="^(.*)$"> | |
<action application="set" data="effective_caller_id_number=${outbound_caller_id_number}"/> | |
<action application="set" data="effective_caller_id_name=${outbound_caller_id_name}"/> | |
<action application="bridge" data="openzap/1/a/$1" /> | |
</condition> | |
</extension> | |
</context> | |
</include> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment