<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: updatePhone - missing validation on Index property on Line on CUCM 11.5 in Management</title>
    <link>https://community.cisco.com/t5/management/updatephone-missing-validation-on-index-property-on-line-on-cucm/m-p/3425499#M109</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Defect CSCvb26465 has been opened to track the &amp;lt;index&amp;gt; value validation issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The 11.5 schema here appears to show &amp;lt;recordingMediaSource&amp;gt; as optional:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.cisco.com/media/axl-schema-11-5/Files/AXLSoap_UpdatePhoneReq.html#Link536E" title="https://developer.cisco.com/media/axl-schema-11-5/Files/AXLSoap_UpdatePhoneReq.html#Link536E"&gt;https://developer.cisco.com/media/axl-schema-11-5/Files/AXLSoap_UpdatePhoneReq.html#Link536E&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;lt;xsd:element&lt;/SPAN&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;SPAN class="textAttr"&gt; name&lt;/SPAN&gt;&lt;SPAN class="textOperator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="textContents"&gt;"recordingMediaSource&lt;/SPAN&gt;&lt;SPAN class="textOperator"&gt;"&lt;/SPAN&gt;&lt;SPAN class="textAttr"&gt; type&lt;/SPAN&gt;&lt;SPAN class="textOperator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="textContents"&gt;"axlapi:XPreferredMediaSource&lt;/SPAN&gt;&lt;SPAN class="textOperator"&gt;"&lt;/SPAN&gt;&lt;SPAN class="textAttr"&gt; default&lt;/SPAN&gt;&lt;SPAN class="textOperator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="textContents"&gt;"Gateway Preferred&lt;/SPAN&gt;&lt;SPAN class="textOperator"&gt;"&lt;/SPAN&gt;&lt;SPAN class="textAttr"&gt; minOccurs&lt;/SPAN&gt;&lt;SPAN class="textOperator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="textContents"&gt;"0&lt;/SPAN&gt;&lt;SPAN class="textOperator"&gt;"&lt;/SPAN&gt;&lt;SPAN class="textAttr"&gt; maxOccurs&lt;/SPAN&gt;&lt;SPAN class="textOperator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="textContents"&gt;"1&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;"/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;


&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Sep 2016 21:54:58 GMT</pubDate>
    <dc:creator>dstaudt</dc:creator>
    <dc:date>2016-09-08T21:54:58Z</dc:date>
    <item>
      <title>updatePhone - missing validation on Index property on Line on CUCM 11.5</title>
      <link>https://community.cisco.com/t5/management/updatephone-missing-validation-on-index-property-on-line-on-cucm/m-p/3425498#M108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you're updating a phone, you can use the addLines and removeLines tags to add/remove lines.&lt;/P&gt;&lt;P&gt;According to the documentation, there are three mandatory fields for a Line in this case.. dirn, index and recordingMediaSource.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Due to a bug in my code I was sending index = 0, which CUCM happily processed. The subsequent getPhone yielded the expected result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, in ccmadmin, you'd get an error because index 0 is not valid.. and so the line would not be displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think AXL should enforce a valid value on index.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And for some reason, despite recordingMediaSource being declared mandatory, it works just fine when you leave it out. I guess the doc should says it is optional after all.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jul 2016 15:51:30 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/updatephone-missing-validation-on-index-property-on-line-on-cucm/m-p/3425498#M108</guid>
      <dc:creator>stephan.steiner</dc:creator>
      <dc:date>2016-07-22T15:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: updatePhone - missing validation on Index property on Line on CUCM 11.5</title>
      <link>https://community.cisco.com/t5/management/updatephone-missing-validation-on-index-property-on-line-on-cucm/m-p/3425499#M109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Defect CSCvb26465 has been opened to track the &amp;lt;index&amp;gt; value validation issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The 11.5 schema here appears to show &amp;lt;recordingMediaSource&amp;gt; as optional:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.cisco.com/media/axl-schema-11-5/Files/AXLSoap_UpdatePhoneReq.html#Link536E" title="https://developer.cisco.com/media/axl-schema-11-5/Files/AXLSoap_UpdatePhoneReq.html#Link536E"&gt;https://developer.cisco.com/media/axl-schema-11-5/Files/AXLSoap_UpdatePhoneReq.html#Link536E&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;lt;xsd:element&lt;/SPAN&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;SPAN class="textAttr"&gt; name&lt;/SPAN&gt;&lt;SPAN class="textOperator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="textContents"&gt;"recordingMediaSource&lt;/SPAN&gt;&lt;SPAN class="textOperator"&gt;"&lt;/SPAN&gt;&lt;SPAN class="textAttr"&gt; type&lt;/SPAN&gt;&lt;SPAN class="textOperator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="textContents"&gt;"axlapi:XPreferredMediaSource&lt;/SPAN&gt;&lt;SPAN class="textOperator"&gt;"&lt;/SPAN&gt;&lt;SPAN class="textAttr"&gt; default&lt;/SPAN&gt;&lt;SPAN class="textOperator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="textContents"&gt;"Gateway Preferred&lt;/SPAN&gt;&lt;SPAN class="textOperator"&gt;"&lt;/SPAN&gt;&lt;SPAN class="textAttr"&gt; minOccurs&lt;/SPAN&gt;&lt;SPAN class="textOperator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="textContents"&gt;"0&lt;/SPAN&gt;&lt;SPAN class="textOperator"&gt;"&lt;/SPAN&gt;&lt;SPAN class="textAttr"&gt; maxOccurs&lt;/SPAN&gt;&lt;SPAN class="textOperator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="textContents"&gt;"1&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;"/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;


&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2016 21:54:58 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/updatephone-missing-validation-on-index-property-on-line-on-cucm/m-p/3425499#M109</guid>
      <dc:creator>dstaudt</dc:creator>
      <dc:date>2016-09-08T21:54:58Z</dc:date>
    </item>
  </channel>
</rss>

