cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
670
Views
0
Helpful
3
Replies

Issue wirh AXL CUCM 12.5 addLine No External Presentation Information set

thedd
Level 1
Level 1

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>

3 Replies 3

dstaudt
Cisco Employee
Cisco Employee

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)

Seems to be an issue in Version 12.5.1.10000-22
It is working in Version 12.5.1.11900-146

dstaudt
Cisco Employee
Cisco Employee

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/

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: