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

addLine - PstnFailover value on CUCM 11.5

stephan.steiner
Spotlight
Spotlight

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.

3 Replies 3

npetrele
Cisco Employee
Cisco Employee

"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?

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>

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.