cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1153
Views
0
Helpful
5
Replies

How to get the css name via getline()?

calvinzhao
Level 1
Level 1

Hi Guys,

This is my new quick question, I just wanna get the css name from an existing directory number, I tried getline(), but the result doesn't contain the name of the css.

Is there something wrong there? Any one shed some light on this?

Acutally, I only configured one single css within this testing system, which name is: Local, but cannot be found in the response.

----------------

Getline()

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">    <SOAP-ENV:Body>
  <axl:getLine xmlns:axl="http://www.cisco.com/AXL/1.0" xsi:schemaLocation="http://www.cisco.com/AXL/1.0 http://ccmserver/schema/axlsoap.xsd"  sequence="1">
   <pattern>3001</pattern>
   <routePartitionName></routePartitionName>
        </axl:getline>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

--------------------

GetlineResponse()

- <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Header />
- <SOAP-ENV:Body>
- <axl:getPhoneResponse xmlns:axl="http://www.cisco.com/AXL/API/6.0" xmlns:xsi="http://www.cisco.com/AXL/API/6.0" sequence="1234">
- <return>
- <device ctiid="5" uuid="{5261C512-FBF5-45CD-9D40-D57EC032695B}">
<name>SEP000C2952624C</name>
<description>Auto 3001</description>
<product>Cisco IP Communicator</product>
<model>Cisco IP Communicator</model>
<class>Phone</class>
<protocol>SCCP</protocol>
<protocolSide>User</protocolSide>
<devicePoolName>Default</devicePoolName>
<locationName>Hub_None</locationName>
<networkHoldMOHAudioSourceId>0</networkHoldMOHAudioSourceId>
<userHoldMOHAudioSourceId>0</userHoldMOHAudioSourceId>
<loadInformation special="false" />
<versionStamp>{1254883578-4D65B750-8612-4DF9-9D2D-11D988045E25}</versionStamp>
<traceFlag>false</traceFlag>
<mlppDomainId>-1</mlppDomainId>
<mlppIndicationStatus>Default</mlppIndicationStatus>
<preemption>Default</preemption>
<retryVideoCallAsAudio>true</retryVideoCallAsAudio>
<securityProfileName>Cisco IP Communicator - Standard SCCP Non-Secure Profile</securityProfileName>
<associatedPC />
- <lines>
- <line index="1" uuid="{06E9B7FF-F5A0-495A-8819-33A49B0CFD47}">
<label />
<display />
<dirn uuid="{D4F9DDB6-8268-45CB-AFD7-AB89F332F88B}" />
<ringSetting>Ring</ringSetting>
<consecutiveRingSetting>Use System Default</consecutiveRingSetting>
<ringSettingIdlePickupAlert>Use System Default</ringSettingIdlePickupAlert>
<ringSettingActivePickupAlert>Use System Default</ringSettingActivePickupAlert>
<displayASCII />
<e164Mask />
<dialPlanWizardId>0</dialPlanWizardId>
<mwlPolicy>Use System Policy</mwlPolicy>
<maxNumCalls>4</maxNumCalls>
<busyTrigger>2</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>
</line>
</lines>
<numberOfButtons>8</numberOfButtons>
<phoneTemplate uuid="{36DD946E-EF46-487F-8B54-7B1A8E247613}" />
<speeddials />
<busyLampFields />
<blfDirectedCallParks />
<addOnModules />
<authenticationURL />
<directoryURL />
<idleURL />
<informationURL />
<messagesURL />
<proxyServerURL />
<servicesURL />
<services />
<loginUserId />
- <currentConfig>
<userHoldMOHAudioSourceId>0</userHoldMOHAudioSourceId>
<phoneTemplate uuid="{36DD946E-EF46-487F-8B54-7B1A8E247613}" />
<mlppDomainId>-1</mlppDomainId>
<mlppIndicationStatus>Default</mlppIndicationStatus>
<preemption>Default</preemption>
<softkeyTemplateName />
<ignorePresentationIndicators>false</ignorePresentationIndicators>
<callInfoPrivacyStatus>Default</callInfoPrivacyStatus>
<dndStatus>false</dndStatus>
</currentConfig>
<builtInBridgeStatus>Default</builtInBridgeStatus>
<callInfoPrivacyStatus>Default</callInfoPrivacyStatus>
<hlogStatus>On</hlogStatus>
<ownerUserId />
<ignorePresentationIndicators>false</ignorePresentationIndicators>
<packetCaptureMode>None</packetCaptureMode>
<packetCaptureDuration>0</packetCaptureDuration>
<allowCtiControlFlag>true</allowCtiControlFlag>
<presenceGroupName>Standard Presence group</presenceGroupName>
<unattendedPort>false</unattendedPort>
<certificateOperation>No Pending Operation</certificateOperation>
<certificateStatus>None</certificateStatus>
<upgradeFinishTime />
<deviceMobilityMode>Default</deviceMobilityMode>
<remoteDevice>false</remoteDevice>
<dndOption>Ringer Off</dndOption>
<dndStatus>false</dndStatus>
<isDualMode>false</isDualMode>
<phoneSuite>Default</phoneSuite>
</device>
</return>
</axl:getPhoneResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
5 Replies 5

Aaron Harrison
VIP Alumni
VIP Alumni

Hi

What version of CCM are you running?

Did you set the Calling Search Space on the device that has line 3001, or on the line itself?

Aaron

Aaron Please remember to rate helpful posts to identify useful responses, and mark 'Answered' if appropriate!

Ohh, man, you're really a quick responder!

Cheers!

CCM7.0, on the line itself.

Hi

OK - so there seems to be something wrong with your code.

You say you send a getLine, and show the request.

But the response that you posted is a 'getPhoneResponse'.

Aaron

Aaron Please remember to rate helpful posts to identify useful responses, and mark 'Answered' if appropriate!

Then what should I do? Do you have a correct sample?

And where to find the exactly source we should use?

Many thanks!

sorry, I posted a wrong file, here goes the correct one.

- <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Header />
- <SOAP-ENV:Body>
- <axl:getLineResponse xmlns:axl="http://www.cisco.com/AXL/API/7.0" xmlns:xsi="http://www.cisco.com/AXL/API/7.0" sequence="1">
- <return>
- <directoryNumber uuid="{D4F9DDB6-8268-45CB-AFD7-AB89F332F88B}">
<pattern>3001pattern>
<description />
<usage>Deviceusage>
<aarDestinationMask />
<aarKeepCallHistory>trueaarKeepCallHistory>
<aarVoiceMailEnabled>falseaarVoiceMailEnabled>
- <callForwardAll>
<forwardToVoiceMail>falseforwardToVoiceMail>
<secondaryCallingSearchSpace uuid="{8F95BC65-050F-99F6-7BE0-8103AD38F9BB}" />
<destination />
callForwardAll>
- <callForwardBusy>
<forwardToVoiceMail>falseforwardToVoiceMail>
<destination />
callForwardBusy>
- <callForwardBusyInt>
<forwardToVoiceMail>falseforwardToVoiceMail>
<destination />
callForwardBusyInt>
- <callForwardNoAnswer>
<forwardToVoiceMail>falseforwardToVoiceMail>
<destination />
<duration>-1duration>
callForwardNoAnswer>
- <callForwardNoAnswerInt>
<forwardToVoiceMail>falseforwardToVoiceMail>
<destination />
callForwardNoAnswerInt>
- <callForwardNoCoverage>
<forwardToVoiceMail>falseforwardToVoiceMail>
<destination />
callForwardNoCoverage>
- <callForwardNoCoverageInt>
<forwardToVoiceMail>falseforwardToVoiceMail>
<destination />
callForwardNoCoverageInt>
- <callForwardOnFailure>
<forwardToVoiceMail>falseforwardToVoiceMail>
<destination />
callForwardOnFailure>
- <callForwardAlternateParty>
<destination />
<duration>-1duration>
callForwardAlternateParty>
- <callForwardNotRegistered>
<forwardToVoiceMail>falseforwardToVoiceMail>
<destination />
callForwardNotRegistered>
- <callForwardNotRegisteredInt>
<forwardToVoiceMail>falseforwardToVoiceMail>
<destination />
callForwardNotRegisteredInt>
<autoAnswer>Auto Answer OffautoAnswer>
<networkHoldMOHAudioSourceId>0networkHoldMOHAudioSourceId>
<userHoldMOHAudioSourceId>0userHoldMOHAudioSourceId>
<alertingName />
<asciiAlertingName />
<presenceGroup uuid="{AD243D17-98B4-4118-8FEB-5FF2E1B781AC}" />
<shareLineAppearanceCSS uuid="{8F95BC65-050F-99F6-7BE0-8103AD38F9BB}" />
<patternPrecedence>DefaultpatternPrecedence>
<releaseCause>No ErrorreleaseCause>
<cfaCSSPolicy>With Activating Device/Line CSScfaCSSPolicy>
directoryNumber>
return>
axl:getLineResponse>
SOAP-ENV:Body>
SOAP-ENV:Envelope>