AnsweredAssumed Answered

External Call Control - Reject/Deny call not work

Question asked by petr.kriz on Jan 20, 2015
Latest reply on Jan 22, 2015 by mstover

Hello,

on CUCM I created External Call Control Profile and implemented it in Translation Pattern. I want to create a logic based on the calling number - Permit or Deny (Reject) incoming call from PSTN. CUCM is in version 9.1.2.10000-28.


At first I want block all incoming calls (by this way I want to check the syntax of XML), but the example below does not work (I tried to combine examples from forums etc):


[language: asp]

<%

response.ContentType="text/xml"

response.Write("<?xml version=""1.0"" encoding=""utf-8"" ?>")

response.Write("<Response>")

response.Write("<Result>")

response.Write("<Decision>Deny</Decision>")

response.Write("<Obligations>")

response.Write("<Obligation FulfillOn=""Deny"" ObligationId=""urn:cisco:xacml:policy-attribute"">")

response.Write("<AttributeAssignment AttributeId=""Policy:simplecontinue"">")

response.Write("<AttributeValue DataType=""http://www.w3.org/2001/XMLSchema#string"">")

response.Write("&lt;cixml ver=""1.0""&gt;")

response.Write("&lt;reject&gt;")

response.Write("&lt;announce identification=""VCA_00121"" /&gt;")

response.Write("&lt;reason&gt;")

response.Write("call blocking policy")

response.Write("&lt;/reason&gt;")

response.Write("&lt;/reject&gt;")

response.Write("&lt;/cixml&gt;")     

response.Write("</AttributeValue>")

response.Write("</AttributeAssignment>")

response.Write("</Obligation>")

response.Write("</Obligations>")

response.Write("</Result>")      

response.Write("</Response>")

%>

Next I can't find this informations:

  1. Is there any comprehensive manual with examples (not only https://developer.cisco.com/media/CurriDeveloperGuide/index.html?cixml_format.html)
  2. How can I debug communication? Via RTMT? Is there some help?

 

I will be grateful for any help.

 

Thank you and best regards,
Petr


Outcomes