01-07-2016 11:20 AM - edited 03-18-2019 05:23 AM
I am trying to change the source URI for calls originating from our internal network going out to the internet. We have an internal domain that is not routable on the internet and would like to change it to the routable domain.
Example:
Internal Domain = int.company.com
External Domain = company.com
I have been trying to use a CPL script on Expressway E (Version 8.5.1) to accomplish this, but it is not working for some reason. Here is the latest CPL I am trying to use:
<?xml version="1.0" encoding="UTF-8" ?>
<cpl xmlns="urn:ietf:params:xml:ns:cpl"
xmlns:taa="http://www.tandberg.net/cpl-extensions"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:ietf:params:xml:ns:cpl cpl.xsd">
<taa:routed>
<taa:rule-switch>
<taa:rule origin=".*" destination=".*">
<taa:location clear="yes" regex="(.*)" replace="\1" source-url-for-message-regex="(.*)@int.company.com" source-url-for-message-replace="\1@company.com">
<taa:proxy/>
</taa:location>
</taa:rule>
</taa:rule-switch>
</taa:routed>
</cpl>
Anyone have any ideas why this would not be working?
Thanks in advance.
Brandon
Solved! Go to Solution.