<?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>CUCM recieve the http response,but not work</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=10781008" />
  <subtitle>CUCM recieve the http response,but not work</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=10781008</id>
  <updated>2013-05-24T15:13:15Z</updated>
  <dc:date>2013-05-24T15:13:15Z</dc:date>
  <entry>
    <title>RE: CUCM recieve the http response,but not work</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12355356" />
    <author>
      <name>Mark Stover</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12355356</id>
    <updated>2013-02-25T17:03:37Z</updated>
    <published>2013-02-25T17:03:37Z</published>
    <summary type="html">Yaohua,
 
The CIXML looks fine. Can you post the entire response?
 
Mark</summary>
    <dc:creator>Mark Stover</dc:creator>
    <dc:date>2013-02-25T17:03:37Z</dc:date>
  </entry>
  <entry>
    <title>RE: CUCM recieve the http response,but not work</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12252851" />
    <author>
      <name>yaohua wang</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12252851</id>
    <updated>2013-02-22T09:00:51Z</updated>
    <published>2013-02-22T09:00:51Z</published>
    <summary type="html">Hi Mark;
i want the call routes simply normally continue. according to the xml developer guide, the cixml is below:
&amp;lt;cixml version="1.0"&amp;gt;&amp;lt;continue&amp;gt;&amp;lt;/continue&amp;gt;&amp;lt;/cixml&amp;gt;

but the cucm can't work correctly. the call fails.
help me check the cixml formt.</summary>
    <dc:creator>yaohua wang</dc:creator>
    <dc:date>2013-02-22T09:00:51Z</dc:date>
  </entry>
  <entry>
    <title>RE: CUCM recieve the http response,but not work</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=11106658" />
    <author>
      <name>Mark Stover</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=11106658</id>
    <updated>2013-01-24T19:09:03Z</updated>
    <published>2013-01-24T19:09:03Z</published>
    <summary type="html">Yes, it is an annoying bug. It is fixed in 9.0. The good news is that it only happens if you make changes to an inservice profile; Running services aren't impacted.
Mark</summary>
    <dc:creator>Mark Stover</dc:creator>
    <dc:date>2013-01-24T19:09:03Z</dc:date>
  </entry>
  <entry>
    <title>RE: CUCM recieve the http response,but not work</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=11075180" />
    <author>
      <name>yaohua wang</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=11075180</id>
    <updated>2013-01-24T02:47:39Z</updated>
    <published>2013-01-24T02:47:39Z</published>
    <summary type="html">Thanks gery and mark.
I hit a bug at CUCM 8.6.2-20000-2. the bug ID is [color=windowtext][url=https://cdetsng.cisco.com/webui/#view=CSCtx40767]CSCtx40767[/url]. the workaround is reset CM service every time when making change to ECC profile.[/color]</summary>
    <dc:creator>yaohua wang</dc:creator>
    <dc:date>2013-01-24T02:47:39Z</dc:date>
  </entry>
  <entry>
    <title>RE: CUCM recieve the http response,but not work</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=10831156" />
    <author>
      <name>Mark Stover</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=10831156</id>
    <updated>2013-01-18T14:02:30Z</updated>
    <published>2013-01-18T14:02:30Z</published>
    <summary type="html">Does the TP that triggers the ECC have a CSS that allows you to reach the number you're attempting to Divert to?</summary>
    <dc:creator>Mark Stover</dc:creator>
    <dc:date>2013-01-18T14:02:30Z</dc:date>
  </entry>
  <entry>
    <title>RE: CUCM recieve the http response,but not work</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=10822165" />
    <author>
      <name>yaohua wang</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=10822165</id>
    <updated>2013-01-18T07:51:01Z</updated>
    <published>2013-01-18T07:51:01Z</published>
    <summary type="html">Hi Gery
thanks for your answer as first.
i have change the cixml fomat as your suggestion. the response message is below:
&lt;Response&gt;
   &lt;Result ResourceId="CISCO:UC:VoiceOrVideoCall"&gt;
     &lt;Decision&gt;Permit&lt;/Decision&gt;
     &lt;Obligations&gt;
       &lt;Obligation FulfillOn="Permit" ObligationId="urn:cisco:cepm:3.3:xacml:policy-attribute"&gt;
         &lt;AttributeAssignment AttributeId="Policy:continue.simple"&gt;
           &lt;AtributeValue DataType="http://www.w3.org/2001/XMLSchema#string"&gt;
              &amp;lt;cixml version="1.0"&amp;gt;
                &amp;lt;divert&amp;gt;
                 &amp;lt;destination&amp;gt;
                   81130110
                 &amp;lt;/destination&amp;gt;
                &amp;lt;/divert&amp;gt;
             &amp;lt;/cixml&amp;gt;
        &lt;/AtributeValue&gt;
      &lt;/AttributeAssignment&gt;
    &lt;/Obligation&gt;
   &lt;/Obligations&gt;
  &lt;/Result&gt;
&lt;/Response&gt;
i use RTMT to confirm that cucm recieved the response, but cucm does't divert the call what i expect and reject the call as i configure.
[color=#ff0000]|HttpHandler - processHttpRes response from url (http://10.20.4.170:8080/eri), directive (1), routing result code (0x1), Tid (16777228)|0,0,0,0.0^*^*[/color]
[color=#ff0000]above is SDI Log[/color]
so i don't know how to fix the issue.
please</summary>
    <dc:creator>yaohua wang</dc:creator>
    <dc:date>2013-01-18T07:51:01Z</dc:date>
  </entry>
  <entry>
    <title>RE: CUCM recieve the http response,but not work</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=10792236" />
    <author>
      <name>Gery Petrova</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=10792236</id>
    <updated>2013-01-17T14:54:26Z</updated>
    <published>2013-01-17T14:54:26Z</published>
    <summary type="html">Hi Yaohua,
 
Try escaping your entire CIXML in the Response.
 
So this:
&lt;cixml version="1.0"&gt;&lt;divert&gt;&lt;destination&gt;81138586&lt;/destination&gt;&lt;/divert&gt;&lt;/cixml&gt;
 
Will become:
&amp;lt;cixml version="1.0"&amp;gt;&amp;lt;divert&amp;gt;&amp;lt;destination&amp;gt;81138586&amp;lt;/destination&amp;gt;&amp;lt;/divert&amp;gt;&amp;lt;/cixml&amp;gt;
 
Check out this thread, this is how I was able to resolve my issue:
[url=http://developer.cisco.com/web/curri/community/-/message_boards/message/6262827]http://developer.cisco.com/web/curri/community/-/message_boards/message/6262827[/url]
 
 </summary>
    <dc:creator>Gery Petrova</dc:creator>
    <dc:date>2013-01-17T14:54:26Z</dc:date>
  </entry>
  <entry>
    <title>CUCM recieve the http response,but not work</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=10781007" />
    <author>
      <name>yaohua wang</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=10781007</id>
    <updated>2013-01-17T09:45:32Z</updated>
    <published>2013-01-17T09:45:32Z</published>
    <summary type="html">Hi Teams,
i use nodejs to build a http server for testing the external call routing featrue. CUCM has established a connection to the http server through the http head.
i want call a number 913958049385 to trigger a traslation pattern which have a external call routing profile.my http server send back the response to tell cucm divert to 81130110.
my http server recieves the post message and send back a  response message. i confirm the cucm revieves the response message by rtmt. the below is  sdi trace infomation:
16:51:47.602 |HttpHandler - wait_RoutingReq enqueue work data Tid=16777219 (xmlData=&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;81134780&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;913958049385&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;81134780&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;913958049385&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;
)
 and lastSender(PRIMARY)|1,100,230,1.740^10.12.1.161^*
16:51:47.605 |HttpHandler - processHttpRes response from url (http://10.20.4.170:8080/eri), directive (1), routing result code (0x1), Tid (16777219)|0,0,0,0.0^*^*
16:51:47.605 |HttpHandler - processHttpRes xacml [color=#ff0000](&lt;Response&gt;&lt;Result ResourceId="CISCO:UC:VoiceOrVideoCall"&gt;&lt;Decision&gt;Permit&lt;/Decision&gt;&lt;Obligations&gt;&lt;Obligation FulfillOn="Permit" ObligationId="urn:cisco:cepm:3.3:xacml:policy-attribute"&gt;&lt;AttributeAssignment AttributeId="Policy:continue.simple"&gt;&lt;AtributeValue DataType="http://www.w3.org/2001/XMLSchema#string"&gt;&lt;cixml version="1.0"&gt;&lt;divert&gt;&lt;destination&gt;81138586&lt;/destination&gt;&lt;/divert&gt;&lt;/cixml&gt;&lt;/AtributeValue&gt;&lt;/AttributeAssignment&gt;&lt;/Obligation&gt;&lt;/Obligations&gt;&lt;/Result&gt;&lt;/Response&gt;[/color]
)|0,0,0,0.0^*^*
16:51:47.605 |Da::RoutingRes directive CONTINUE , td =16777219|0,0,0,0.0^*^*
16:51:47.605 |Digit Analysis: star_DaReq: daReq.partitionSearchSpace(d990bf70-6e06-0da5-fe3e-42fd675d7a72:), filteredPartitionSearchSpaceString(), partitionSearchSpaceString()|0,0,0,0.0^*^*
16:51:47.605 |Digit Analysis: star_DaReq: Matching Legacy Numeric, digits=913958049385|0,0,0,0.0^*^*
16:51:47.605 |Digit Analysis: getDaRes data: daRes.ssType=[16777248] Intercept DAMR.sstype=[0], TPcount=[0], DAMR.NotifyCount=[0], DaRes.NotifyCount=[1]|0,0,0,0.0^*^*
16:51:47.605 |Digit analysis: match(pi="1",fqcn="81134780", cn="81134780", plv="5", pss="", TodFilteredPss="", dd="913958049385",dac="0")|0,0,0,0.0^*^*
but cucm is not working for the divert.
please help me!</summary>
    <dc:creator>yaohua wang</dc:creator>
    <dc:date>2013-01-17T09:45:32Z</dc:date>
  </entry>
</feed>

