cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5380
Views
15
Helpful
26
Replies
Beginner

Re: Replacing Source Alias on VCS

Thanks for the info. Are there any policy servers already built for use with VCS that I can download?

Sent from Cisco Technical Support iPhone App

Beginner

Replacing Source Alias on VCS

I'm interested too in a pre-built policy server. I really hope there's one

F.

Enthusiast

Replacing Source Alias on VCS

Id also be interested in a pre built Policy Server ... anyone?

Beginner

Replacing Source Alias on VCS

Good Morning Andreas,

i need a same point for this case.

An Example: i want to call somebody with my address like peter.pan@company.com or peter.pan.movi@company.com

My proposation is, to call someone foreign or local and he see only a phantasie adress like unknown@company.com.

I tried with your cpl script. but it doesnt work. What is the entry for new-source@domain.com" ???

Thanks for your feedback

Cisco Employee

Replacing Source Alias on VCS

The “new-source@domain.com” should be configured to “unknown@company.com”.

If you are looking for source alias replacement for call from either peter.pan@company.com and peter.pan.movi@company.com to external domain(s), then CPL may looks like follow;

========================================================================================

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">

peter.pan@company.com|peter.pan.movi@company.com)">

unknown@company.com">

========================================================================================

The “regex="(?!.*@%localdomains%) “ is indicating call destination that contain SIP domain which is not part of local VCS SIP domain configuration list.

This should simplify the CPL configuration if you are looking for CPL to rewrite sauce alias for multiple or all external domain calls.

Please note, source alias rewrite replace incoming alias to far end device (if redial from far end device, call will go through rewrite alias), but device name that display in far end device will still remain as original Endpoint configured name.

For example, far end device see as call come from peter.pan with alias of unknown@company.com, if call made from peter.pan@company.com to external device.

Participant

Replacing Source Alias on VCS

Hi Tomo,

Pattern matching variables such as %localdomains% are not supported in CPL.

The Admin guide -

http://www.cisco.com/en/US/docs/telepresence/infrastructure/vcs/admin_guide/Cisco_VCS_Administrator_Guide_X7-2.pdf - states (page 368) "The VCS makes use of pattern matching in a number  of its features, namely Allow Lists and Deny Lists, presearch transforms and when configuring search rules and zone transforms." It doesn't mention CPL or Call policy rules at all.

Cisco Employee

Replacing Source Alias on VCS

Thanks Guy for pointing out this, I completely forgot about it when writing CPL.

Beginner

Replacing Source Alias on VCS

Hi Tomo,

that is now?? :-)

Cisco Employee

Re: Replacing Source Alias on VCS

Try with this CPL.

===========================================================================

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">

peter\.pan@company\.com|peter\.pan\.movi@company\.com)">

unknown@company.com">

===========================================================================

This CPL will replace source URL to “unknown@company.com” when and only when call initiate from either peter.pan@company.com or peter.pan.movi@company.com to URL that is not contain @company.com domain name (assume @company.com is internal domain and anything else are treat as external call).

Highlighted
Cisco Employee

Assume peter.pan@company.com

Assume peter.pan@company.com and peter.pan.movi@company.com on same VCS (or authentication policy set to treated as authenticated or check credential on zone that call come from), then CPL should be like below.

 

<?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>

<address-switch field="registered-origin">

<address regex="(peter\.pan|peter\.pan\.movi)@ciscotp\.com">

<taa:location clear="yes" regex="(.*@ciscotp\.com)(.*)" replace="\1\2" source-url-for-message="unknown@company.com">

</taa:location>

</address>

</address-switch>

</taa:routed>

Beginner

Re: Replacing Source Alias on VCS

Good Morning Tomonori,
I will try it this cpl. The cause for this cpl is, that nobody can call back to unknown@company.com. It should like a average central hotline number.
I will let you know about the behaviour if this cpl

Thank you very much

Sent from Cisco Technical Support iPhone App

Beginner

Re: Replacing Source Alias on VCS

Hi everybody,

my hint for using an external policy server is.

1. make a new IIS publication on the tms.

2. write an asp script where you can check everything

It was a two day work now everything works perfectly.

But one question about this, the external policy server guide says, that only an allow or deny can be send back to the

vcs. Is there a chance to send them a new source-alias back?

Ok my question is not enough specified. How can I send a

unknown@company.com">

and the vcs uses this new location!?!?!?!

CreatePlease to create content
Content for Community-Ad
July's Community Spotlight Awards