11-14-2012 06:31 AM - edited 03-18-2019 12:07 AM
I know how I can fork a call by using CPL, but how can someone fork a call based on the alias dialed? So if I call endpoint-1, the call will not be forked unless the destination alias is endpoint-1, if it is something else such as endpoint-2 the forking will be bypased.
<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>
<!-- Fork the call to <endpoint-1>@<domain> and add new aliases <endpoint-2>@<domain> and so on --><taa:location clear="no" url="<endpoint-1>@<domain>">
<!-- Fork the call to a second alias --><taa:location url="<endpoint-2>@<domain>">
<!-- Fork the call to a third alias --><taa:location url="<endpoint-3>@<domain>">
<proxy/></taa:location>
</taa:location></taa:location>
</taa:routed></cpl>
Solved! Go to Solution.
11-14-2012 07:53 AM
Hi Patrick,
if you want to fork conditionally based on the destination alias, you could have something like
This CPL would match a call with destination alias 'endpoint-1', and fork the call to two new destination aliases, 'newdestination-1' and 'newdestination-2'. If needed, you could add additional
Finally you should make sure to have a
Hope this helps,
Andreas
11-14-2012 07:53 AM
Hi Patrick,
if you want to fork conditionally based on the destination alias, you could have something like
This CPL would match a call with destination alias 'endpoint-1', and fork the call to two new destination aliases, 'newdestination-1' and 'newdestination-2'. If needed, you could add additional
Finally you should make sure to have a
Hope this helps,
Andreas
11-14-2012 08:39 AM
Works perfectly, thanks. Couldn't find a CPL example that demonstrated the destination match. Is there a good place to see CPL rules and examples of each rule? I've looked through the VCS admin guide and call policy documentation, but they don't cover all the variations of the CPL rules.
11-14-2012 03:01 PM
Patrick,
although the VCS Admin guide does not have CPL examples showing every possible use of the different CPL constructs, the guide does have a quite thorough explanation of each construct and its related fields. If you are looking for any specific examples, feel free to describe these and we'll help you out as best we can.
Cheers,
Andreas
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide