<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Possible Format Problem</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=5226102" />
  <subtitle>Possible Format Problem</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=5226102</id>
  <updated>2013-06-19T09:14:27Z</updated>
  <dc:date>2013-06-19T09:14:27Z</dc:date>
  <entry>
    <title>RE: Possible Format Problem</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12432573" />
    <author>
      <name>Mark Stover</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12432573</id>
    <updated>2013-02-27T13:03:31Z</updated>
    <published>2013-02-27T13:03:31Z</published>
    <summary type="html">Hi Yaohua,
 
Yes, it can be tricky to get that right so they you don't create the loop. Try keeping the TP in a partition that is separate from the phones. That makes it a bit easier to manage.
 
Mark</summary>
    <dc:creator>Mark Stover</dc:creator>
    <dc:date>2013-02-27T13:03:31Z</dc:date>
  </entry>
  <entry>
    <title>RE: Possible Format Problem</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12418003" />
    <author>
      <name>yaohua wang</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12418003</id>
    <updated>2013-02-27T01:47:53Z</updated>
    <published>2013-02-27T01:47:53Z</published>
    <summary type="html">Hi Mark;
i have found the reason. because of the translation pattern is same to the route pattern, the continue call becomes a loop call. the cucm always send xml http request to my external call server.
when using the simply continue call that does not  modiy the callednumber, you must pay attention to the css and partition of translation pattern and route pattern.
tks</summary>
    <dc:creator>yaohua wang</dc:creator>
    <dc:date>2013-02-27T01:47:53Z</dc:date>
  </entry>
  <entry>
    <title>RE: Possible Format Problem</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12355395" />
    <author>
      <name>Mark Stover</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12355395</id>
    <updated>2013-02-25T17:06:09Z</updated>
    <published>2013-02-25T17:06:09Z</published>
    <summary type="html">Yaohua.
 
What version of CUCM are you running, and what called number element are you adding? Just trying to identify if there is some problem here that needs to be addressed.
 
Can you post the non-working and the working responses you are returning to CUCM?
 
Thanks, Mark</summary>
    <dc:creator>Mark Stover</dc:creator>
    <dc:date>2013-02-25T17:06:09Z</dc:date>
  </entry>
  <entry>
    <title>RE: Possible Format Problem</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12328655" />
    <author>
      <name>yaohua wang</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12328655</id>
    <updated>2013-02-25T02:31:15Z</updated>
    <published>2013-02-25T02:31:15Z</published>
    <summary type="html">Hi Mark，
My resonpse xml format is same as you.but the cm is not working and refusing continue call.
But after i add element that is a callednumber, the cm work as i expect.
why</summary>
    <dc:creator>yaohua wang</dc:creator>
    <dc:date>2013-02-25T02:31:15Z</dc:date>
  </entry>
  <entry>
    <title>RE: Possible Format Problem</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5289429" />
    <author>
      <name>Mark Stover</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5289429</id>
    <updated>2012-03-14T13:42:51Z</updated>
    <published>2012-03-14T13:42:51Z</published>
    <summary type="html">Hi Ergin,

There are some example strings that contain continue responses in the sample application. I believe there is an example of each type of response. I know the sample application is in Python, but the string itself should be the same. Below is the continue string from the sample.

Mark

continueResponse = '&lt;?xml encoding="UTF-8" version="1.0"?&gt;&lt;Response&gt;&lt;Result&gt;&lt;Decision&gt;Permit&lt;/Decision&gt;&lt;Status&gt;&lt;/Status&gt;&lt;Obligations&gt;&lt;Obligation FulfillOn="Permit" ObligationId="urn:cisco:xacml:policy-attribute"&gt;&lt;AttributeAssignment AttributeId="Policy:simplecontinue"&gt;&lt;AttributeValue DataType="http://www.w3.org/2001/XMLSchema#string"&gt;&amp;lt;cixml ver="1.0"&amp;gt;&amp;lt;continue&amp;gt;&amp;lt;/continue&amp;gt; &amp;lt;/cixml&amp;gt;&lt;/AttributeValue&gt;&lt;/AttributeAssignment&gt;&lt;/Obligation&gt;&lt;/Obligations&gt;&lt;/Result&gt;&lt;/Response&gt;'</summary>
    <dc:creator>Mark Stover</dc:creator>
    <dc:date>2012-03-14T13:42:51Z</dc:date>
  </entry>
  <entry>
    <title>RE: Possible Format Problem</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5244664" />
    <author>
      <name>Ergin GUZEL</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5244664</id>
    <updated>2012-03-05T15:30:11Z</updated>
    <published>2012-03-05T15:30:11Z</published>
    <summary type="html">Hi All


I think there's a little missing point. It will be great for me (even all .net developers) to have a simple continue XACML string that is written on .Net and works on IIS.


Thanks a lot</summary>
    <dc:creator>Ergin GUZEL</dc:creator>
    <dc:date>2012-03-05T15:30:11Z</dc:date>
  </entry>
  <entry>
    <title>Possible Format Problem</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5226101" />
    <author>
      <name>Ergin GUZEL</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5226101</id>
    <updated>2012-02-29T18:57:42Z</updated>
    <published>2012-02-29T17:27:42Z</published>
    <summary type="html">Hi All
 
I want to start the beggining of External Call Control feature, so I decided to make a simple "continue" response to CM in order to make the call to go on its normal path. My translation pattern is 3XXX and adds a prefix of 55555.
 
Calling number is 555553025 and called number is 3024 (555553024 with translation).
 
I also set the Call Treatment On Failures  to "Block Calls" in order to test wheter y application does the right thing or not.
 
The problem is, call hits the translation pattern, calls the application, application answers but call does not continue processing and it ends. On the phone screen, I see that my called number is translted to 555553024 as expected, but call drops. 
 
I'm sending wireshark capture from web server
 
POST /default.aspx HTTP/1.1

Host: 10.129.3.251:6666

Accept: */*

Content-type: text/xml; charset=ISO-8859-1

methodName: isRoleAccessAllowed

User-Agent: CiscoUCM-HttpClient/1.0

Connection:Keep-Alive

Content-Length: 1694



&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;Request xmlns="urn:oasis:names:tc:xacml:2.0:context:schema:os"&gt;
&lt;Subject SubjectCategory="urn:oasis:names:tc:xacml:1.0:subject-category:access-subject"&gt;
&lt;Attribute AttributeId="urn:oasis:names:tc:xacml:1.0:subject:role-id"
DataType="http://www.w3.org/2001/XMLSchema#string" Issuer="requestor"&gt;
&lt;AttributeValue&gt;CISCO:UC:UCMPolicy&lt;/AttributeValue&gt;
&lt;/Attribute&gt;
&lt;Attribute AttributeId="urn:Cisco:uc:1.0:callingnumber"
DataType="http://www.w3.org/2001/XMLSchema#string"&gt;
&lt;AttributeValue&gt;555553025&lt;/AttributeValue&gt;
&lt;/Attribute&gt;
&lt;Attribute AttributeId="urn:Cisco:uc:1.0:callednumber"
DataType="http://www.w3.org/2001/XMLSchema#string"&gt;
&lt;AttributeValue&gt;3024&lt;/AttributeValue&gt;
&lt;/Attribute&gt;
&lt;Attribute AttributeId="urn:Cisco:uc:1.0:transformedcgpn"
DataType="http://www.w3.org/2001/XMLSchema#string"&gt;
&lt;AttributeValue&gt;555553025&lt;/AttributeValue&gt;
&lt;/Attribute&gt;
&lt;Attribute AttributeId="urn:Cisco:uc:1.0:transformedcdpn"
DataType="http://www.w3.org/2001/XMLSchema#string"&gt;
&lt;AttributeValue&gt;555553024&lt;/AttributeValue&gt;
&lt;/Attribute&gt;
&lt;/Subject&gt;
&lt;Resource&gt;
&lt;Attribute AttributeId="urn:oasis:names:tc:xacml:1.0:resource:resource-id"
DataType="http://www.w3.org/2001/XMLSchema#anyURI"&gt;
&lt;AttributeValue&gt;CISCO:UC:VoiceOrVideoCall&lt;/AttributeValue&gt;
&lt;/Attribute&gt;
&lt;/Resource&gt;
&lt;Action&gt;
&lt;Attribute AttributeId="urn:oasis:names:tc:xacml:1.0:action:action-id"
DataType="http://www.w3.org/2001/XMLSchema#anyURI"&gt;
&lt;AttributeValue&gt;any&lt;/AttributeValue&gt;
&lt;/Attribute&gt;
&lt;/Action&gt;
&lt;Environment&gt;
&lt;Attribute AttributeId="urn:Cisco:uc:1.0:triggerpointtype"
DataType="http://www.w3.org/2001/XMLSchema#string"&gt;
&lt;AttributeValue&gt;translationpattern&lt;/AttributeValue&gt;
&lt;/Attribute&gt;
&lt;/Environment&gt;
&lt;/Request&gt;
 
 
 
HTTP/1.1 200 OK

Cache-Control: private

Keep-Alive: timeout = 4000   max = 3000

Content-Type: text/xml; charset=iso-8859-1

Server: Microsoft-IIS/7.5

X-AspNet-Version: 2.0.50727

X-Powered-By: ASP.NET

Date: Wed, 29 Feb 2012 17:52:44 GMT

Content-Length: 439



&lt;?xml encoding="UTF-8" version="1.0"?&gt;&lt;Response&gt;&lt;Result&gt;&lt;Decision&gt;Permit&lt;/Decision&gt;&lt;Obligations&gt;&lt;Obligation FulfillOn="Permit" obligationId="continue.simple"&gt;&lt;AttributeAssignment AttributeId="Policy:continue.simple"&gt;&lt;AttributeValue DataType="http://www.w3.org/2001/XMLSchema#string"&gt;&amp;lt;cixml ver="1.0"&amp;gt;&amp;lt;continue&amp;gt;&amp;lt;/continue&amp;gt;&amp;lt;/cixml&amp;gt;&lt;/AttributeValue&gt;&lt;/AttributeAssignment&gt;&lt;/Obligation&gt;&lt;/Obligations&gt;&lt;/Result&gt;&lt;/Response&gt;
 
Edit: I found some mistakes on encoding type in first one and sent you the last version of the response that I'm sending. Still doesn't work..
 
Any Ideas?</summary>
    <dc:creator>Ergin GUZEL</dc:creator>
    <dc:date>2012-02-29T17:27:42Z</dc:date>
  </entry>
</feed>

