Cisco Unified Application Environment Developer Forums

« Back to Developers

Send Text message to IP Phone

Combination View Flat View Tree View
Threads [ Previous | Next ]
Hello All,
 
I am very new to this side of develpement.
 
I want to develope an application which will send a text message to selected IP Phones.
What are the requirement to devlope this kind of application?
Can I use developement tool that comes with CUAE to create the application OR I also read about IP Phone services, do I need to create IP Phone service to send text message to IP Phone?
 
Also, upon receiving message, Is it possible to program the softkey on IP Phone, which access particular IP Phone service from server?
 
Please point me out, if I am going wrong.
 
Thanks and appreciate your response.

The choice is yours, you can use IP Phone Services directly or you can use CUAE.
 
CUAE front ends IP Phone Services for you.
 
It really depends on what you want to achieve. For sending a simple text message to a phone or phones, the direct IP Phone Service approach would be more cost effective.
 
However, if you already have CUAE or you intend to link this application to other UC features at a later date, then you might want to use CUAE.
 
With either approach, it is possible to configure a speed dial key to trigger the ip phone service. You can also start the service from the Services key on the phone.

RE: Send Text message to IP Phone
ip phone service
Answer
7/29/09 12:19 AM as a reply to Ian Sherrin.
Ok, that 's awesome!!! That was a super quick reply!!!
 
So, you mean I wil be able to write semd message application using IP services. TO do this, by anyway do I need CUAE installed on my server?. I believe I need CISCO call Manger 4.0.1 Or later, and IIS installed, is there any other requirement to make successful communication with IP Phone from server using IP service and call manager?
 
What I want to do is to send text message to user, upon receiving message user will press some softkey, on clicking softkey will trigger/call another IP Phone service shich will display some info to user.
 
So, for this scenario, do I need to create 2 separate IP Phone services? Or I can encarporate it inside a single IP Phone Service?
 
Can anyone please clarify these things to me.
Also, if anyone have sample app/some link which will send text message, please share with me.
 
Thanks and appreciate your response.

Using CUAE, you can see how to build an example application here: http://developer.cisco.com/web/cuae/wikidocs?src=/wiki/display/CUAE/SimpleIpPhoneMenuTree+-+Designer+Implementation#http://developer.cisco.com/wiki/display/CUAE/SimpleIpPhoneMenuTree%20-%20Designer%20Implementation?
 
Thanks,
Neha

THanks for your reply...
 
So, I will be able to create a application which runs on IP Phone using both CUAE OR IP Phone service.
 
What I want to know here is, as I said I want to send a text message to IP Phone, so I am having my other application(not related to UC) which will check for the event when to send text message to user. but my question is how can I trigger the CUAE application OR IP Phone service which will send text message to IP Phone from this application?
Am I clear to you all? I just want to send text message to IP Phone from my own application OR at least this application should trigger/run the CUAE related application which sends text message.
 
Also, can anyone please provide me some code/application/link which will send text message to IP Phone.
 
Thanks and appreciate your response,
Hemant

Hi Hemant,
 
               You could have your other application (unrelated to UC) do an http request that triggers a CUAE application which will send a text message to the IP phone. You should be able to get an idea of how to do this using the link I sent you previously. For further information, you could also have a look at the CUAE API reference guide (http://developer.cisco.com/static/cuae/2.5/2.5.1/Designer/). CreateText, SendExecute, SendResponse will be of particular interest to you here.
 
Thanks and Regards,
Neha

Hi Neha,
Thanks for your reply!! Can you clarify a bit more on it.
 
So, you mean my application will make HTTPConnection with IP Phone Service page, and it will send text message to IP Phone. How will I do that, because that page will send response back to caller which is my application. Can i do something like sending some query parameter with url which will have IP of the IP phone to which I need to send message? then on server side part I will read that query param and send response to IP Phone. but with this flow how will my application will get notified for success/failure condition.
If anyone have idea, then please respond me?
 
Thanks and appreciate your reposne,
Hemant

Hi Hemant,
 
               You can have your application do an httpgotrequest that triggers the CUAE app, with the devicename of the IP phone as the query parameter. The CUAE app in turn can act as a front end for IP phone services and have the text sent to your phone using the sendexecute / sendresponse actions. The IP address of the phone can be retrieved using the querybydevicename action.
 
Thanks,
Neha

Hi Neha,
 
Once again thanks for your reply.
It definitely makes sense.
 
Meanwhile I got a solution to directly send a text message to IP Phone from my Standalone application.
Please have  a look at following link, and let me know your view on it.
http://blog.crowe.co.nz/archive/2008/10/28/Sending-a-CISCO-IP-Phone-a-simple-command-using-C.aspx

Thanks,
Hemant

Hi,

Can we send text message to an IP Phone without using the IP Phone service nor the CUAE?
So i simply develop the application?

Regards,

You will need to use IP Phone Service API insofar as you must POST a valid CiscoIPPhoneExecute XML object to the phone in order for it to properly display the message.  This is a simple HTTP POST, however and can be accomplished from virtually any programming environment with network capabilities.

Hi,
 
The development team were able to develop a program that sends a text message to the IP Phone, but the question now, is it possible to make the phone ring when the message is received?
 
Regards,

I will be out of the office until Thursday the 22th of Novemeber with limited access to email. If your issue is urgent, please contact the our team at as_ccdt@cisco.com

However, I will reply to your email as soon as possible.

Regards


Ian Sherrin