Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 
New Member

Push to phone callmanager 6

Dear All,

i want to push text and ring tone using the push method


In callmanager 4 , i was using sdkapps as user id and password and the PushAuthenticate.asp file.

what's the alternative to them in callmanager6

Also I'm trying to get the phone IP using the IPAddressProvider class in Cisco SDK,

I am getting the following error

IPAddressProvider.getDeviceList() request failed.

can any one help me in this.

Thanks alot,



Re: Push to phone callmanager 6

The SDK is written for CCM 4.. so unfortunately for CCM6 you need to make quite a bit of manual changes.

For starters.. you need to use AXL Serviceabilit's SelectCmDevices command to get IP addresses for phones. Then you can only request 200 devices per SelectCmDevices call so you need to use AXL (e.g. listPhones or executeSqlQuery) to get a list of all the phones, then make one SelectCmDevices request per 200 devices.

The rest is probably the same though you need to change the AXL code in the SDK since it uses http (iirc) and makes posts to the wrong path (https://ccm/axl is the new url if I'm not mistaken).

For details about axl serviceability and axl check look for voice apis and you'll get there.

New Member

Re: Push to phone callmanager 6

Thanks stephan 4 ur fast response,

I'll try SelectCmDevices,

two more questions:

1- where can i find all AXL commands to use.

2- I need to push text Msg to the phone , how can i do so in CM6.

Re: Push to phone callmanager 6

1) look at the code in the sdk.. the commands are still the same except for those that I already mentioned.

2) Just like in ccm4.. the sdk already contains code to do so so there's nothing you need to develop.

New Member

Re: Push to phone callmanager 6

Thanks stephan,

i used phone.push(uri,ipaddress, userid, password)

but i want to push to many phones and i don't know their push passwords, is there an alternative solution in CM6,

In CM 4 i was using the pushauthenticate file and the userid and password: sdkapps

what is the alternative solution in CM6?

Thanks alot stephan 4 ur help.


Re: Push to phone callmanager 6

CCM6 works just like CCM4 in that area.. it's just that you cannot use your own authentication page and put it onto the CCM, but you can still have your own authentication page and put it on any other webserver that the CCM can reach.

Alternatively (to be done when the number of phones isn't so large.. a couple dozen should be okay but for hundreds or thousands cisco suggests that you use the separate authentication page hosted on another webserver), just configure your application user to be a controlling user of all the phones that you're pushing to (that's the normal way of authenticating.. you can push if the userid/password you use is a valid controlling user of the phone).

New Member

Re: Push to phone callmanager 6

Dear Stephan,

I tried SelectCmDevices as follows:

sAXLSOAPRequest = "POST /realtimeservice/services/RisPort HTTP/1.1\r\n";

sAXLSOAPRequest += "Host:\r\n";

sAXLSOAPRequest += "Authorization: Basic " + authorization + "\r\n";

sAXLSOAPRequest += "Accept: text/*\r\n";

sAXLSOAPRequest += "Content-type: text/xml\r\n";

sAXLSOAPRequest += "SOAPAction: \"\"";

sAXLSOAPRequest += "Content-length: ";

sAXLRequest =

" "+

"\" xmlns:xsd=\"\" xmlns:xsi=\"\">"+


"\" xmlns:ns1=\"\">"+

" "+

"\" xsi:type=\"ns2:CmSelectionCriteria\" xmlns:soapenc=\"\" xmlns:ns2=\"\">"+

"200 "+

"Phone "+

"255 "+

"Any "+

"Name "+


"\" xsi:type=\"ns3:SelectItem\" xmlns:ns3=\"\" xmlns:soapenc=\"\">" +

"SEP0022644EB415 " +







and got the following response:" xmlns:xsd="" xmlns:xsi="">soapenv:Server.userExceptionorg.xml.sax.SAXParseException: Premature end of file.">CCM-PUB

Can you help me in this error.

Thanks alot,


Re: Push to phone callmanager 6

Are you sure that this is really what you send over the wire? saxlrequest looks okay and is valid XML.. you'd only get the parsing exception if the file is indeed invalid. Since the connection is encrypted, either you catch the data before it goes over the wire, or you look at serviceability traces on ccm (I'm afraid I don't recall where those are so you have to figure that one out on your own) to see what the server really gets.

CreatePlease to create content