Service application development with Call manager express

Unanswered Question
Jul 23rd, 2007

Hi everybody,

I just wanted to know is there anyway to push a message to ip phone when using Cisco call Manager express?



I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
msabir Mon, 07/23/2007 - 08:08

Yes. You just use CiscoIPPhoneExecute.

Keep in mind that CME does not have built-in authentication, so you have to point out the authentication URL to an external service.

parisatashakori Mon, 07/23/2007 - 10:08


thanks for your reply. I have not worked with CME but we have an application for CM and want to be abale to use it for CME customers as well. and therefore I need to ask some more questions:

-Can we edit authentication URL on phone? As i knew, Authentication url on CM is not editable from phone. It is set on enterprise parameters on Call manager administration. Is it possible to edit this value directly on phone in CME?

-If I redirect authentication url to my application, what should it return back?



msabir Mon, 07/23/2007 - 10:19

Since there is no built-in authentication service in CCM, there is no harm in changing the authentication URL from enterprise parameters. I am not sure in CME if you can change this URL for just one phone or do you have to change it from enterprise. We changed enterprise for our testing.

When you redirect Authentication URL, it just needs to return "AUTHORIZED" or "UN-AUTHORIZED". Here is the simple code in Java servlet for this:

response.addHeader("Content-Type", "text/html"); out.print("AUTHORIZED");

parisatashakori Tue, 07/24/2007 - 07:41


It looks very straightforward but when I try it, phone still gives me authentication error.

phone uses my new authentication url which point to an application which has a component that simulates a tcp/ip server. It receives phones request which includes useris, password and Mac address. then I send 'AUTHORIZED' back to phone, however I get authorization error.

Is it timing issues?

I appreciate your feedbacks.



msabir Tue, 07/24/2007 - 07:44

What web server technology are you using, i.e asp, jsp, servlet, etc? I can give you sample code.

parisatashakori Tue, 07/24/2007 - 07:49

It's a third party component which I use it in my delphi program. I have events available when a request for connection comes from a remote host/when connection establishes/when a data is sent in and also can send data back.

However i sends just a text back and I need to build whole http text including headrs and content in code.

msabir Tue, 07/24/2007 - 07:50

Make sure that "Content-Type" header is set to "text/html",

parisatashakori Tue, 07/24/2007 - 08:04

I am sending this http text back:

HTTP/1.0 200 OK

Content-Type: text/xml

Content-Length: 10


Does it look ok?



msabir Tue, 07/24/2007 - 08:06

Content-Type should be text/html (not text/xml)


This Discussion