cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
494
Views
0
Helpful
1
Replies

addPhone- not all values take

stephan.steiner
Spotlight
Spotlight

Hi

My unit testing discovered that I'm having discrepancies between the values I'm sending in my addPhone and subsequent response to getPhone. The following 4 tags are affected

  1. consecutiveRingSetting (on line)
  2. joinAcrossLines
  3. singleButtonBarge
  4. missedCallLogging (on line)

I'd argue that if an add is accepted, the values I'm sending are correct, so they should be applied accordingly. Here's my full addPhone, followed by the result for getPhone

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/10.5">

  <soapenv:Header/>

  <soapenv:Body>

  <ns:addPhone sequence="10">

  <phone>

  <name>UPCTEST</name>

  <description>Added phone SGRO</description>

  <product>Cisco Unified Client Services Framework</product>

  <class>Phone</class>

  <protocol>SIP</protocol>

  <protocolSide>User</protocolSide>

  <vendorConfig>

  <videoCapability>0</videoCapability>

  <desktopClient>

  <ciscoSupportField>configurationfile=jabber-config201_72.xml</ciscoSupportField>

  </desktopClient>

  </vendorConfig>

  <preemption>Disabled</preemption>

  <lines>

  <line>

  <index>1</index>

  <display>displöi</display>

  <dirn>

  <pattern>7306</pattern>

  <routePartitionName>p_phones</routePartitionName>

  </dirn>

  <ringSetting>Ring</ringSetting>

  <consecutiveRingSetting>Flash Only</consecutiveRingSetting>

  <e164Mask>044815XXXX</e164Mask>

  <mwlPolicy>Use System Policy</mwlPolicy>

  <maxNumCalls>2</maxNumCalls>

  <busyTrigger>1</busyTrigger>

  <callInfoDisplay>

  <callerName>true</callerName>

  <callerNumber>false</callerNumber>

  <redirectedNumber>false</redirectedNumber>

  <dialedNumber>true</dialedNumber>

  </callInfoDisplay>

  <recordingFlag>Call Recording Disabled</recordingFlag>

  <audibleMwi>Default</audibleMwi>

  <speedDial/>

  <partitionUsage>General</partitionUsage>

  <associatedEndusers>

  <enduser>

  <userId>testuser</userId>

  </enduser>

  </associatedEndusers>

  <missedCallLogging>false</missedCallLogging>

  <recordingMediaSource>Gateway Preferred</recordingMediaSource>

  </line>

  </lines>

  <phoneTemplateName uuid="{8E1A10FA-A52C-4435-A4EC-540D266C8C37}">Standard Client Services Framework</phoneTemplateName>

  <singleButtonBarge>Off</singleButtonBarge>

  <joinAcrossLines>On</joinAcrossLines>

  <callInfoPrivacyStatus>Default</callInfoPrivacyStatus>

  <ignorePresentationIndicators>false</ignorePresentationIndicators>

  <dndOption>Ringer Off</dndOption>

  <dndRingSetting>Beep Only</dndRingSetting>

  <dndStatus>true</dndStatus>

  <alwaysUsePrimeLine>Default</alwaysUsePrimeLine>

  <alwaysUsePrimeLineForVoiceMessage>Default</alwaysUsePrimeLineForVoiceMessage>

  <callingSearchSpaceName uuid="{BC3B6B1C-ADF4-2B1D-F723-4A927AAFFE89}">CSS_UNRESTRICTED</callingSearchSpaceName>

  <devicePoolName uuid="{1B1B9EB6-7803-11D3-BDF0-00108302EAD1}">Default</devicePoolName>

  <commonPhoneConfigName uuid="{AC243D17-98B4-4118-8FEB-5FF2E1B781AC}">Standard Common Phone Profile</commonPhoneConfigName>

  <networkLocation>Use System Default</networkLocation>

  <locationName uuid="{29C5C1C4-8871-4D1E-8394-0B9181E8C54D}">Hub_None</locationName>

  <useTrustedRelayPoint>Default</useTrustedRelayPoint>

  <retryVideoCallAsAudio>true</retryVideoCallAsAudio>

  <securityProfileName uuid="{C6085E14-A32C-4C5E-A3D1-8DAF60D81594}">Cisco Unified Client Services Framework - Standard SIP Non-Secure Profile</securityProfileName>

  <sipProfileName uuid="{FCBC7581-4D8D-48F3-917E-00B09FB39213}">Standard SIP Profile</sipProfileName>

  <useDevicePoolCgpnTransformationCss>true</useDevicePoolCgpnTransformationCss>

  <sendGeoLocation>false</sendGeoLocation>

  <ringSettingIdleBlfAudibleAlert>Default</ringSettingIdleBlfAudibleAlert>

  <ringSettingBusyBlfAudibleAlert>Default</ringSettingBusyBlfAudibleAlert>

  <enableExtensionMobility>false</enableExtensionMobility>

  <builtInBridgeStatus>Default</builtInBridgeStatus>

  <hlogStatus>On</hlogStatus>

  <ownerUserName>lsste</ownerUserName>

  <packetCaptureMode>None</packetCaptureMode>

  <packetCaptureDuration>0</packetCaptureDuration>

  <hotlineDevice>false</hotlineDevice>

  <allowCtiControlFlag>true</allowCtiControlFlag>

  <presenceGroupName>Standard Presence group</presenceGroupName>

  <unattendedPort>false</unattendedPort>

  <requireDtmfReception>false</requireDtmfReception>

  <rfc2833Disabled>false</rfc2833Disabled>

  <certificateOperation>No Pending Operation</certificateOperation>

  <deviceMobilityMode>Default</deviceMobilityMode>

  <remoteDevice>false</remoteDevice>

  <isActive>true</isActive>

  <isDualMode>false</isDualMode>

  <phoneSuite>Default</phoneSuite>

  <phoneServiceDisplay>Default</phoneServiceDisplay>

  <isProtected>false</isProtected>

  <mtpRequired>false</mtpRequired>

  <mtpPreferedCodec>711ulaw</mtpPreferedCodec>

  <outboundCallRollover>No Rollover</outboundCallRollover>

  <deviceTrustMode>Not Trusted</deviceTrustMode>

  <requireOffPremiseLocation>false</requireOffPremiseLocation>

  <useDevicePoolCgpnIngressDN>true</useDevicePoolCgpnIngressDN>

  <enableCallRoutingToRdWhenNoneIsActive>false</enableCallRoutingToRdWhenNoneIsActive>

  </phone>

  </ns:addPhone>

  </soapenv:Body>

</soapenv:Envelope>

<?xml version='1.0' encoding='UTF-8'?>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">

  <soapenv:Body>

  <ns:getPhoneResponse xmlns:ns="http://www.cisco.com/AXL/API/10.5">

  <return>

  <phone ctiid="65" uuid="{885353D7-80A1-9AB0-F1C7-DCA84532A3D3}">

  <name>UPCTEST</name>

  <description>Added phone SGRO</description>

  <product>Cisco Unified Client Services Framework</product>

  <model>Cisco Unified Client Services Framework</model>

  <class>Phone</class>

  <protocol>SIP</protocol>

  <protocolSide>User</protocolSide>

  <callingSearchSpaceName uuid="{BC3B6B1C-ADF4-2B1D-F723-4A927AAFFE89}">CSS_UNRESTRICTED</callingSearchSpaceName>

  <devicePoolName uuid="{1B1B9EB6-7803-11D3-BDF0-00108302EAD1}">Default</devicePoolName>

  <commonDeviceConfigName/>

  <commonPhoneConfigName uuid="{AC243D17-98B4-4118-8FEB-5FF2E1B781AC}">Standard Common Phone Profile</commonPhoneConfigName>

  <networkLocation>Use System Default</networkLocation>

  <locationName uuid="{29C5C1C4-8871-4D1E-8394-0B9181E8C54D}">Hub_None</locationName>

  <mediaResourceListName/>

  <networkHoldMohAudioSourceId />

  <userHoldMohAudioSourceId />

  <automatedAlternateRoutingCssName/>

  <aarNeighborhoodName/>

  <loadInformation special="false"/>

  <vendorConfig>

  <videoCapability>0</videoCapability>

  <desktopClient>

  <ciscoSupportField>configurationfile=jabber-config201_72.xml</ciscoSupportField>

  </desktopClient>

  </vendorConfig>

  <versionStamp>{1422453380-4321482F-DF30-4F56-873A-D78CFD08BBD6}</versionStamp>

  <traceFlag>false</traceFlag>

  <mlppDomainId />

  <mlppIndicationStatus>Off</mlppIndicationStatus>

  <preemption>Disabled</preemption>

  <useTrustedRelayPoint>Default</useTrustedRelayPoint>

  <retryVideoCallAsAudio>true</retryVideoCallAsAudio>

  <securityProfileName uuid="{C6085E14-A32C-4C5E-A3D1-8DAF60D81594}">Cisco Unified Client Services Framework - Standard SIP Non-Secure Profile</securityProfileName>

  <sipProfileName uuid="{FCBC7581-4D8D-48F3-917E-00B09FB39213}">Standard SIP Profile</sipProfileName>

  <cgpnTransformationCssName/>

  <useDevicePoolCgpnTransformCss>true</useDevicePoolCgpnTransformCss>

  <geoLocationName/>

  <geoLocationFilterName/>

  <sendGeoLocation>false</sendGeoLocation>

  <lines>

  <line uuid="{72C150A1-330A-E096-4856-CE17549F94C3}">

  <index>1</index>

  <label/>

  <display>displöi</display>

  <dirn uuid="{8C38931B-B59A-66ED-27A2-A48D97243C69}">

  <pattern>7306</pattern>

  <routePartitionName uuid="{82056F6A-7CF2-48DA-BDEB-9E17B12DE19D}">p_phones</routePartitionName>

  </dirn>

  <ringSetting>Ring</ringSetting>

  <consecutiveRingSetting>Use System Default</consecutiveRingSetting>

  <ringSettingIdlePickupAlert />

  <ringSettingActivePickupAlert />

  <displayAscii/>

  <e164Mask>044815XXXX</e164Mask>

  <dialPlanWizardId />

  <mwlPolicy>Use System Policy</mwlPolicy>

  <maxNumCalls>2</maxNumCalls>

  <busyTrigger>1</busyTrigger>

  <callInfoDisplay>

  <callerName>true</callerName>

  <callerNumber>false</callerNumber>

  <redirectedNumber>false</redirectedNumber>

  <dialedNumber>true</dialedNumber>

  </callInfoDisplay>

  <recordingProfileName/>

  <monitoringCssName/>

  <recordingFlag>Call Recording Disabled</recordingFlag>

  <audibleMwi>Default</audibleMwi>

  <speedDial />

  <partitionUsage>General</partitionUsage>

  <associatedEndusers>

  <enduser>

  <userId>testuser</userId>

  </enduser>

  </associatedEndusers>

  <missedCallLogging>true</missedCallLogging>

  <recordingMediaSource>Gateway Preferred</recordingMediaSource>

  </line>

  </lines>

  <numberOfButtons>1</numberOfButtons>

  <phoneTemplateName uuid="{8E1A10FA-A52C-4435-A4EC-540D266C8C37}">Standard Client Services Framework</phoneTemplateName>

  <speeddials/>

  <busyLampFields/>

  <primaryPhoneName/>

  <ringSettingIdleBlfAudibleAlert>Default</ringSettingIdleBlfAudibleAlert>

  <ringSettingBusyBlfAudibleAlert>Default</ringSettingBusyBlfAudibleAlert>

  <blfDirectedCallParks/>

  <addOnModules/>

  <userLocale />

  <networkLocale />

  <idleTimeout />

  <authenticationUrl />

  <directoryUrl />

  <idleUrl />

  <informationUrl />

  <messagesUrl />

  <proxyServerUrl />

  <servicesUrl />

  <services/>

  <softkeyTemplateName/>

  <loginUserId />

  <defaultProfileName/>

  <enableExtensionMobility>false</enableExtensionMobility>

  <currentProfileName/>

  <loginTime />

  <loginDuration />

  <currentConfig>

  <userHoldMohAudioSourceId />

  <phoneTemplateName uuid="{8E1A10FA-A52C-4435-A4EC-540D266C8C37}">Standard Client Services Framework</phoneTemplateName>

  <mlppDomainId />

  <mlppIndicationStatus>Off</mlppIndicationStatus>

  <preemption>Disabled</preemption>

  <softkeyTemplateName/>

  <ignorePresentationIndicators>false</ignorePresentationIndicators>

  <singleButtonBarge>Default</singleButtonBarge>

  <joinAcrossLines>Off</joinAcrossLines>

  <callInfoPrivacyStatus>Default</callInfoPrivacyStatus>

  <dndStatus />

  <dndRingSetting>Beep Only</dndRingSetting>

  <dndOption>Ringer Off</dndOption>

  <alwaysUsePrimeLine>Default</alwaysUsePrimeLine>

  <alwaysUsePrimeLineForVoiceMessage>Default</alwaysUsePrimeLineForVoiceMessage>

  <emccCallingSearchSpaceName xsi:nil="true" uuid="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>

  <deviceName/>

  <model/>

  <product/>

  <deviceProtocol/>

  <class/>

  <addressMode/>

  <allowAutoConfig/>

  <remoteSrstOption/>

  <remoteSrstIp/>

  <remoteSrstPort/>

  <remoteSipSrstIp/>

  <remoteSipSrstPort/>

  <geolocationInfo/>

  <remoteLocationName/>

  </currentConfig>

  <singleButtonBarge>Default</singleButtonBarge>

  <joinAcrossLines>Off</joinAcrossLines>

  <builtInBridgeStatus>Default</builtInBridgeStatus>

  <callInfoPrivacyStatus>Default</callInfoPrivacyStatus>

  <hlogStatus>On</hlogStatus>

  <ownerUserName uuid="e8854125-510c-d08f-79fd-7fc0b78b3c85">lsste</ownerUserName>

  <ignorePresentationIndicators>false</ignorePresentationIndicators>

  <packetCaptureMode>None</packetCaptureMode>

  <packetCaptureDuration>0</packetCaptureDuration>

  <subscribeCallingSearchSpaceName/>

  <rerouteCallingSearchSpaceName/>

  <allowCtiControlFlag>true</allowCtiControlFlag>

  <presenceGroupName uuid="{AD243D17-98B4-4118-8FEB-5FF2E1B781AC}">Standard Presence group</presenceGroupName>

  <unattendedPort>false</unattendedPort>

  <requireDtmfReception>false</requireDtmfReception>

  <rfc2833Disabled>false</rfc2833Disabled>

  <certificateOperation>No Pending Operation</certificateOperation>

  <certificateStatus>None</certificateStatus>

  <upgradeFinishTime />

  <deviceMobilityMode>Default</deviceMobilityMode>

  <remoteDevice>false</remoteDevice>

  <dndOption>Ringer Off</dndOption>

  <dndRingSetting>Beep Only</dndRingSetting>

  <dndStatus>true</dndStatus>

  <isActive>true</isActive>

  <isDualMode>false</isDualMode>

  <mobilityUserIdName/>

  <phoneSuite>Default</phoneSuite>

  <phoneServiceDisplay>Default</phoneServiceDisplay>

  <isProtected>false</isProtected>

  <mtpRequired>false</mtpRequired>

  <mtpPreferedCodec>711ulaw</mtpPreferedCodec>

  <dialRulesName/>

  <sshUserId/>

  <digestUser/>

  <outboundCallRollover>No Rollover</outboundCallRollover>

  <hotlineDevice>false</hotlineDevice>

  <secureInformationUrl />

  <secureDirectoryUrl />

  <secureMessageUrl />

  <secureServicesUrl />

  <secureAuthenticationUrl />

  <secureIdleUrl />

  <alwaysUsePrimeLine>Default</alwaysUsePrimeLine>

  <alwaysUsePrimeLineForVoiceMessage>Default</alwaysUsePrimeLineForVoiceMessage>

  <featureControlPolicy/>

  <deviceTrustMode>Not Trusted</deviceTrustMode>

  <confidentialAccess>

  <confidentialAccessMode />

  <confidentialAccessLevel>-1</confidentialAccessLevel>

  </confidentialAccess>

  <requireOffPremiseLocation>false</requireOffPremiseLocation>

  <cgpnIngressDN/>

  <useDevicePoolCgpnIngressDN>true</useDevicePoolCgpnIngressDN>

  <msisdn />

  <enableCallRoutingToRdWhenNoneIsActive>false</enableCallRoutingToRdWhenNoneIsActive>

  <wifiHotspotProfile/>

  <wirelessLanProfileGroup/>

  </phone>

  </return>

  </ns:getPhoneResponse>

  </soapenv:Body>

</soapenv:Envelope>

1 Reply 1

jocreed
Cisco Employee
Cisco Employee

Hmmm... I will try to reproduce this one in my lab and get back with you to see if I am getting similar results.