09-05-2019 09:36 AM
Hi,
i just develop a C# application for migration purpose.
I will swicth from CUCM 11.5 to 12.5 and need to fill the External Presentation Information but it is not set.
I added a few Lines which is working fine but the External Presentation Information is empty no matter what i enter
Just tried these three Lines:
<line>
<pattern>1399</pattern>
<routePartitionName>Internal</routePartitionName>
<externalPresetationInfo>
__<isAnonymous>false</isAnonymous>
__<presentationInfo>
____<externalPresentationNumber>13991399</externalPresentationNumber>
__</presentationInfo>
</externalPresetationInfo>
</line>
<line>
<pattern>1400</pattern>
<routePartitionName>Internal</routePartitionName>
<externalPresetationInfo>
_<isAnonymous>false</isAnonymous>
_<presentationInfo>
___<externalPresentationNumber>14001400</externalPresentationNumber>
___<externalPresentationName>extName</externalPresentationName>
_</presentationInfo>
</externalPresetationInfo>
</line>
<line>
<pattern>1401</pattern>
<routePartitionName>Internal</routePartitionName>
<externalPresetationInfo>
_<isAnonymous>true</isAnonymous>
</externalPresetationInfo>
</line>
09-05-2019 12:04 PM - edited 09-05-2019 12:08 PM
I was able to get this working on my lab system, note that <externalPresntationInfo> is supported on 12.5+:
<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"> <soap-env:Body> <ns0:addLine xmlns:ns0="http://www.cisco.com/AXL/API/12.5"> <line> <pattern>9876543211</pattern> <usage>Device</usage> <externalPresentationInfo> <presentationInfo> <externalPresentationNumber>8005551212</externalPresentationNumber> <externalPresentationName>John Doe</externalPresentationName> </presentationInfo> </externalPresentationInfo> </line> </ns0:addLine> </soap-env:Body> </soap-env:Envelope>
Note, you can provide only one of (xsd:choice) <isAnonymous> or <presentationInfo>. In your second example,I suspect AXL is honoring the <isAnonymous> element and ignoring the <presentationInfo> element. I would expect the third request to succeed (in setting anonymous=true).
I've updated the axl-python-zeep-samples collection to fully demonstrate adding a line with <exteralPresentationInfo> (see axl_add_updateLine.py)
09-06-2019 12:15 AM
Seems to be an issue in Version 12.5.1.10000-22
It is working in Version 12.5.1.11900-146
09-06-2019 07:40 AM
It's working for me on 12.5.1.10000-22. Were you able to try the sample app above?
If you're still experiencing the issue, we might need to look at some trace logs to investigate - suggest opening a DevNet Developer Support ticket (use the steps under the tiny 'contact us' link:) https://developer.cisco.com/site/support/
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide