Cisco Unified Routing Rules XML Interface

« Back to Routing Rules API Questions

cixml deny not working!

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
hi,
My cURRI interface is up and running but when dialing from ext 5009 to 1000 which trigger it, the webservice sends the following response to call-manager:
 
<?xml encoding="UTF-8" version="1.0"?><Response><Result><Decision>Deny</Decision><Obligations><Obligation FulfillOn="Den
y" ObligationId="continue.simple"><AttributeAssignmentAttributeId="Route:continue.simple"<AttributeValueDataType="http:/
/www.w3.org/2001/XMLSchema#string"<cixmlversion="1.0"><reject><announce identification="ANN_2" /></reject></cixml></Attr
ibuteValue></AttributeAssignment></Obligation></Obligations></Result></Response>
 
 
The Announcement isn't being played why ? what is wrong with the response I am sending CM ?

Hi Izik,

I don't know why I didn't get a notification about your post. Sorry for the slow reply.

A couple of points.

First, it's hard to read the reply that your server is sending... these forums have messed up the word wrapping and possibly spacing.

Next, there are a few tricks:

* Cisco UCManager really only cares about the contents of the <Decision> tags and the contents of the <cixml> tags for its operations, but the rest does have to be well-formatted XACML for the results to pass the XML parser.

* The actual CIXML obligation needs to be an 'escaped' string. So replace any left bracket in the <cixml>...</cixml> block with &lt; and any right bracket in the <cixml>...</cixml> with &rt;. This includes the brackets for the <cixml> tag itself.

* The UCM configuration still has to be set up to enable UCM to play the announcement. This means that the announcement needs to be put on the announcement server, it needs to be named, the announcement server needs to be in a media resource group and the media resource group needs to be including in the media resource group list of the calling device.