<?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 queueCalls configurations lost after alertingName is updated in Call Control</title>
    <link>https://community.cisco.com/t5/call-control/queuecalls-configurations-lost-after-alertingname-is-updated/m-p/4634325#M3274</link>
    <description>&lt;P&gt;I used the following python code to update the queueCalls configurations and it worked ok&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;dn='7'+siteID + '1920'&lt;BR /&gt;resp = axl_service.getHuntPilot(pattern=dn, routePartitionName='PT-INTERNAL')&lt;BR /&gt;rtn=resp['return']&lt;BR /&gt;hp=rtn['huntPilot']&lt;BR /&gt;qCals=hp['queueCalls']&lt;BR /&gt;qCals['maxWaitTimeDestination']='72198920'&lt;BR /&gt;resp=axl_service.updateHuntPilot(pattern=dn, routePartitionName='PT-INTERNAL', queueCalls=qCals)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But later, I used the following code to update alertingName of the hunt pilot but all the queueCalls configurations were lost. Why? Did I do something wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;dn='7'+siteID + '1920'&lt;BR /&gt;resp = axl_service.getHuntPilot(pattern=dn, routePartitionName='PT-INTERNAL')&lt;BR /&gt;rtn=resp['return']&lt;BR /&gt;hp=rtn['huntPilot']&lt;BR /&gt;aln=siteID+ ' '+ hp['alertingName']&lt;BR /&gt;ascAln=siteID+ ' '+hp['asciiAlertingName']&lt;BR /&gt;resp=axl_service.updateHuntPilot(pattern=dn, routePartitionName='PT-INTERNAL', alertingName=aln, asciiAlertingName=ascAln)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 18 Jun 2022 15:47:23 GMT</pubDate>
    <dc:creator>Young2020</dc:creator>
    <dc:date>2022-06-18T15:47:23Z</dc:date>
    <item>
      <title>queueCalls configurations lost after alertingName is updated</title>
      <link>https://community.cisco.com/t5/call-control/queuecalls-configurations-lost-after-alertingname-is-updated/m-p/4634325#M3274</link>
      <description>&lt;P&gt;I used the following python code to update the queueCalls configurations and it worked ok&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;dn='7'+siteID + '1920'&lt;BR /&gt;resp = axl_service.getHuntPilot(pattern=dn, routePartitionName='PT-INTERNAL')&lt;BR /&gt;rtn=resp['return']&lt;BR /&gt;hp=rtn['huntPilot']&lt;BR /&gt;qCals=hp['queueCalls']&lt;BR /&gt;qCals['maxWaitTimeDestination']='72198920'&lt;BR /&gt;resp=axl_service.updateHuntPilot(pattern=dn, routePartitionName='PT-INTERNAL', queueCalls=qCals)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But later, I used the following code to update alertingName of the hunt pilot but all the queueCalls configurations were lost. Why? Did I do something wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;dn='7'+siteID + '1920'&lt;BR /&gt;resp = axl_service.getHuntPilot(pattern=dn, routePartitionName='PT-INTERNAL')&lt;BR /&gt;rtn=resp['return']&lt;BR /&gt;hp=rtn['huntPilot']&lt;BR /&gt;aln=siteID+ ' '+ hp['alertingName']&lt;BR /&gt;ascAln=siteID+ ' '+hp['asciiAlertingName']&lt;BR /&gt;resp=axl_service.updateHuntPilot(pattern=dn, routePartitionName='PT-INTERNAL', alertingName=aln, asciiAlertingName=ascAln)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jun 2022 15:47:23 GMT</pubDate>
      <guid>https://community.cisco.com/t5/call-control/queuecalls-configurations-lost-after-alertingname-is-updated/m-p/4634325#M3274</guid>
      <dc:creator>Young2020</dc:creator>
      <dc:date>2022-06-18T15:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: queueCalls configurations lost after alertingName is updated</title>
      <link>https://community.cisco.com/t5/call-control/queuecalls-configurations-lost-after-alertingname-is-updated/m-p/4645183#M3301</link>
      <description>&lt;P&gt;Hi Young2020,&lt;/P&gt;
&lt;P&gt;Try include queueCalls=qCals with qCals=hp['queueCalls'] as another parameter in the update even though you didn't change any queueCalls config.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;David&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 16:43:55 GMT</pubDate>
      <guid>https://community.cisco.com/t5/call-control/queuecalls-configurations-lost-after-alertingname-is-updated/m-p/4645183#M3301</guid>
      <dc:creator>davidn#</dc:creator>
      <dc:date>2022-07-06T16:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: queueCalls configurations lost after alertingName is updated</title>
      <link>https://community.cisco.com/t5/call-control/queuecalls-configurations-lost-after-alertingname-is-updated/m-p/4645286#M3303</link>
      <description>&lt;P&gt;If you look at the actual XML being sent to CUCM, I suspect Zeep is including an empty &amp;lt;queueCalls/&amp;gt; element - you didn't specify it, but Zeep may be including it (and other non-specified elements) anyway because it's in the schema.&lt;/P&gt;
&lt;P&gt;If so, you can try forcing Zeep to skip including the element entirely via xsd:SkipValue:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;resp=axl_service.updateHuntPilot(pattern=dn, routePartitionName='PT-INTERNAL', &lt;BR /&gt;    alertingName=aln, asciiAlertingName=ascAln, queueCalls=xsd:SkipValue)&lt;/PRE&gt;
&lt;P&gt;Note: you will need to import the zeep xsd module:&lt;/P&gt;
&lt;PRE&gt;from zeep import xsd&lt;/PRE&gt;
&lt;P&gt;The other workaround is to always retrieve/copy/return the queueCalls element when updating, though not sure why that would be necessary here...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 18:10:05 GMT</pubDate>
      <guid>https://community.cisco.com/t5/call-control/queuecalls-configurations-lost-after-alertingname-is-updated/m-p/4645286#M3303</guid>
      <dc:creator>dstaudt</dc:creator>
      <dc:date>2022-07-06T18:10:05Z</dc:date>
    </item>
  </channel>
</rss>

