07-21-2016 09:16 AM
Hi
Is anyone else seeing this.. I'm adding a line that has no pstnFailover tag, and yet when I extract the new line for validation, the value is set to an empty string.
That's how it works for other properties, e.g. aarDestinationMask so I think there should be some consistency.
09-09-2016 06:59 AM
"yet when I extract the new line for validation, the value is set to an empty string.
That's how it works for other properties, e.g. aarDestinationMask so I think there should be some consistency."
Sounds like you're saying it's consistent. Did you mean to say something else?
09-09-2016 08:07 AM
On my 11.5 system, ommitting the tag on <addLine> seems to result in a null value when doing a subsequent <getLine>...is this not what you're seeing?
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/11.5">
<soapenv:Header/>
<soapenv:Body>
<ns:getLine>
<pattern>6666</pattern>
<routePartitionName></routePartitionName>
</ns:getLine>
</soapenv:Body>
</soapenv:Envelope>
---------------------
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<ns:getLineResponse xmlns:ns="http://www.cisco.com/AXL/API/11.5">
<return>
<line uuid="{437E13D9-A41E-2A3A-DEBC-DD550E93D496}">
<pattern>6666</pattern>
<description/>
...
</e164AltNum>
<pstnFailover/>
<callControlAgentProfile/>
...
</line>
</return>
</ns:getLineResponse>
</soapenv:Body>
</soapenv:Envelope>
10-04-2016 08:06 AM
Sorry for the late reply again.. I missed or didn't get the update notifications.
Anyway... what you show here is exactly the behavior I'm seeing. Given that pstnFailover is optional, if it has no value, I think it shouldn't be sent back in the first place.
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