Is there a possibility to replace/overwrite/delete a source alias (H.323 Id or SIP URI) of a call on a VCS based on the original source alias?
All the tools on VCS like Transforms, Search Rules and even CPL only seem to change the destination alias.
Any examples would be appreciated if possible
Many thanks in advance
Since dial rules and transforms only apply to the destination address, if there are particular endpoints you want special treatment for you could have them use a unique prefix for all destinations they dial. Regex can match the prefix and apply a rule. It will not change the source alias.
We are planning to include a new feature in VCS X7.2 which will allow you to rewrite source aliases using CPL.
X7.2 is due for release quite soon, and if everything goes to plan, you should find information about this feature in the X7.2 release notes once available.
I have installed VCS X7.2 and was wondering how I can rewrite the source alias using CPL. I have looked through the documentation and did not find an example of how to do this.
Thanks, but I am still not sure what the syntax will be. When I receive a call from an H323 device, I see it as H323name@ip address. I want it to appear as H323name@domain.name . Could you fill in the blanks for me on what the syntax will be? None of the examples in the documentation show an example of a rule-switch and replace.
http://www.w3.org/2001/XMLSchema-instance " xsi:schemaLocation="urn:ietf:params:xml:ns:cpl cpl.xsd">
Here is a basic example on how to do source rewrite via CPL:
This CPL will match a call from an authenticated call from an endpoint with a source address of "email@example.com", where the source alias is rewritten to "firstname.lastname@example.org" and the destination alias is changed from whatever it was to "email@example.com". This is similar to what would happen when calling a FindMe alias and using FindMe source rewrite.
It is also possible to preserve the original destination alias when using the
It would probably make the most sense to implement CPL source rewrite by using an external Policy Server in order to do rewriting dynamically, since you would need a relatively large static CPL script to perform rewriting for a high number of endpoints.
Hope this helps!
Thank you for this info! I was to get it to do what I needed with this. The next step is how do I add another source and destination for other endpoints. Or is it possible to use a regex to maintain the source host name and just change the domain portion?
Sent from Cisco Technical Support iPhone App
If you need to add more source/destination pairs, you can add moreand
Instead you could implement a Policy server using your language of choice (PHP, Perl, Python and so forth) and automate this process.
I understand that VCX X8.1 introduced new capabilitites to modify the Source URI.
Do you know of any good tutorial or source for new CPL Example scripts showing how to use these new capabilities?
I am currently having a similar issue and would like to get it resolved. TAC is not supporting CPL.
Good Morning Andreas,
i need a same point for this case.
My proposation is, to call someone foreign or local and he see only a phantasie adress like firstname.lastname@example.org.
I tried with your cpl script. but it doesnt work. What is the entry for email@example.com" ???
Thanks for your feedback
I know this is an old post, but does anyone have this CPL script? It appears all examples on the site are horked up due to formatting with the new site designs.