<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Pop up Message from one Cisco IP Phone to another ?</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=4302336" />
  <subtitle>Pop up Message from one Cisco IP Phone to another ?</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=4302336</id>
  <updated>2013-05-19T04:59:15Z</updated>
  <dc:date>2013-05-19T04:59:15Z</dc:date>
  <entry>
    <title>when send HTTP request with CiscoIPPhoneExecute</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9296622" />
    <author>
      <name>Mahmoud Ahmed</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9296622</id>
    <updated>2012-12-12T15:09:53Z</updated>
    <published>2012-12-12T15:09:53Z</published>
    <summary type="html">Hi,
just 2 Questions please..
[b]when send HTTP request with CiscoIPPhoneExecute[/b]
 
1- using "[b]CallManagerSimulator[/b].exe" and "[b]IP Phone 7960G[/b]" , Authentication required??
    -yes i can access "http://X.X.X.X/CGI/Execute" (but Username/ Password required) Error Log 4.?????
    -yes registered and can access the url services.
 
2- using "[b]CallManager6[/b] [b]VMware[/b]" and "[b]IP Communicator[/b]", [color=#ff0000]the ip communicator take the same ip address of the pc[/color]
 
    -No i can't access "http://X.X.X.X/CGI/Execute" (not found) (404).????
    -yes registered and can access the url services.
    - pc (192.168.1.2)  IP Cummunicator(192.168.1.2)  CUCM VMware in same pc (192.168.1.3)
 
please help, thanks</summary>
    <dc:creator>Mahmoud Ahmed</dc:creator>
    <dc:date>2012-12-12T15:09:53Z</dc:date>
  </entry>
  <entry>
    <title>RE: Pop up Message from one Cisco IP Phone to another ?</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4352300" />
    <author>
      <name>Jun Hong Lexus Sim</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4352300</id>
    <updated>2011-08-12T10:32:03Z</updated>
    <published>2011-08-12T10:32:03Z</published>
    <summary type="html">[quote]Cisco XML Objects can be either pushed (HTTP POST) or pulled (HTTP GET).
If you see the Cisco Documentation Cisco Unified IP Phone Services Application Development Notes (Supporting XML Application):

[b]The following description designates how an HTTP server request is made to the phone via an HTTP POST operation:
1.The server performs an HTTP POST in response to a case-sensitive URL of the phone with this format: http://x.x.x.x/CGI/Execute, where x.x.x.x represents the IP address of the destination Cisco Unified IP Phone.
The form that is posted should have a case-sensitive form field name called ¿XML¿ that contains the desired XML object. For any HTTP POST operation, the server must provide basic HTTP authentication information with the POST. The provided credentials must be of a user in the global directory with a device association with the target phone[/b]

You can Push any object via the CiscoIPPhoneExecute object or push directly other displayable XML Object (such as CiscoIPPhoneMenu, CiscoIPPhoneText or CiscoIPPhoneStatus).

You can do this from any application (Web, service...) and from any language, that support http request.
This is a C# example:
                               string pushxml = "XML=" + HttpUtility.UrlEncode(url1);
				string uri = "http://" + ipddress + "/CGI/Execute";
				HttpWebRequest req = (HttpWebRequest)WebRequest.Create(uri);

				req.ContentType = "application/x-www-form-urlencoded";
				//req.Connection = "close";
				req.Credentials = new System.Net.NetworkCredential(uid, pwd);
				req.Method = "POST";
				System.IO.Stream stream = req.GetRequestStream();
				byte[] arrBytes = System.Text.ASCIIEncoding.ASCII.GetBytes(pushxml);
				stream.Write(arrBytes, 0, arrBytes.Length);
				stream.Close();
				WebResponse resp = req.GetResponse();
				Stream respStream = resp.GetResponseStream();
				StreamReader rdr = new StreamReader(respStream, System.Text.Encoding.ASCII);
				string strResponse = rdr.ReadToEnd();
				return strResponse;[/quote]
 
Can you explain more regarding this example, I don't really get ContentType part, pushxml </summary>
    <dc:creator>Jun Hong Lexus Sim</dc:creator>
    <dc:date>2011-08-12T10:32:03Z</dc:date>
  </entry>
  <entry>
    <title>RE: New Message from Jun Hong Lexus Sim in IP Phone Services (IPPS) - IP Ph</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4342892" />
    <author>
      <name>Stefania Oliviero</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4342892</id>
    <updated>2011-08-10T12:40:12Z</updated>
    <published>2011-08-10T12:40:12Z</published>
    <summary type="html">So,you have to send a message from phone A to phone B , I think what I¿ve written in the previous message is still valid.
I figure out you  have a web application to handle request from Phone A. Then, from this web application,  you can push anything you want to phone B, using the push function I wrote in the previous message.
You can use CiscoIPPhoneExcute , in such a case you must have  a Web application  (that you already have) or a CiscoIpPhoneText object directly.
Hope this help.


From: Cisco Developer Community Forums [mailto:cdicuser@developer.cisco.com]
Sent: mercoledì 10 agosto 2011 10:55
To: cdicuser@developer.cisco.com
Subject: New Message from Jun Hong Lexus Sim in IP Phone Services (IPPS) - IP Phone Services Questions: RE: Pop up Message from one Cisco IP Phone to another ?

Jun Hong Lexus Sim has created a new message in the forum "IP Phone Services Questions":

--------------------------------------------------------------
It's just a CiscoIPPhoneText with some text in it to inform the person
--
To respond to this post, please click the following link:

&lt;http://developer.cisco.com/web/ipps/forums/-/message_boards/view_message/4342714&gt;

or simply reply to this email.</summary>
    <dc:creator>Stefania Oliviero</dc:creator>
    <dc:date>2011-08-10T12:40:12Z</dc:date>
  </entry>
  <entry>
    <title>RE: Pop up Message from one Cisco IP Phone to another ?</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4342714" />
    <author>
      <name>Jun Hong Lexus Sim</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4342714</id>
    <updated>2011-08-10T09:55:06Z</updated>
    <published>2011-08-10T09:55:06Z</published>
    <summary type="html">It's just a CiscoIPPhoneText with some text in it to inform the person</summary>
    <dc:creator>Jun Hong Lexus Sim</dc:creator>
    <dc:date>2011-08-10T09:55:06Z</dc:date>
  </entry>
  <entry>
    <title>RE: New Message from Jun Hong Lexus Sim in IP Phone Services (IPPS) - IP Ph</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4342063" />
    <author>
      <name>Stefania Oliviero</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4342063</id>
    <updated>2011-08-10T08:29:12Z</updated>
    <published>2011-08-10T08:29:12Z</published>
    <summary type="html">Sorry, I don¿t understand. What do you mean with notification/text ?

From: Cisco Developer Community Forums [mailto:cdicuser@developer.cisco.com]
Sent: mercoledì 10 agosto 2011 05:23
To: cdicuser@developer.cisco.com
Subject: New Message from Jun Hong Lexus Sim in IP Phone Services (IPPS) - IP Phone Services Questions: RE: Pop up Message from one Cisco IP Phone to another ?

Jun Hong Lexus Sim has created a new message in the forum "IP Phone Services Questions":

--------------------------------------------------------------
I am confuse with the sudden influx of different knowledge, I think I was not clear in what I was trying to convey in the 1st place.
I have this application that sends an a text to a mobile phone, currently I wish to send not just only a text but a notification/text to a specific IP Phone as well
--
To respond to this post, please click the following link:

&lt;http://developer.cisco.com/web/ipps/forums/-/message_boards/view_message/4339895&gt;

or simply reply to this email.</summary>
    <dc:creator>Stefania Oliviero</dc:creator>
    <dc:date>2011-08-10T08:29:12Z</dc:date>
  </entry>
  <entry>
    <title>RE: Pop up Message from one Cisco IP Phone to another ?</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4339895" />
    <author>
      <name>Jun Hong Lexus Sim</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4339895</id>
    <updated>2011-08-10T06:23:30Z</updated>
    <published>2011-08-10T04:22:50Z</published>
    <summary type="html">I am confused with the sudden influx of different knowledge, I think I was not clear in what I was trying to convey in the 1st place.
I have this application that sends an a text to a mobile phone, currently I wish to send not just only a text but a notification/text to a specific IP Phone as well</summary>
    <dc:creator>Jun Hong Lexus Sim</dc:creator>
    <dc:date>2011-08-10T04:22:50Z</dc:date>
  </entry>
  <entry>
    <title>RE: Pop up Message from one Cisco IP Phone to another ?</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4331650" />
    <author>
      <name>Stefania Oliviero</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4331650</id>
    <updated>2011-08-08T14:27:59Z</updated>
    <published>2011-08-08T14:27:59Z</published>
    <summary type="html">You must have a Web Server if you want to Push Images or objects larger than 512 bytes, or if you push a CiscoIPPhoneExecute object that includes url to a web server. 
In any case you can start a request from your application based on some business logic, not necessarily from the phone..</summary>
    <dc:creator>Stefania Oliviero</dc:creator>
    <dc:date>2011-08-08T14:27:59Z</dc:date>
  </entry>
  <entry>
    <title>RE: Pop up Message from one Cisco IP Phone to another ?</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4331504" />
    <author>
      <name>Stefania Oliviero</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4331504</id>
    <updated>2011-08-08T13:25:29Z</updated>
    <published>2011-08-08T13:25:29Z</published>
    <summary type="html">Cisco XML Objects can be either pushed (HTTP POST) or pulled (HTTP GET).
If you see the Cisco Documentation Cisco Unified IP Phone Services Application Development Notes (Supporting XML Application):

[b]The following description designates how an HTTP server request is made to the phone via an HTTP POST operation:
1.The server performs an HTTP POST in response to a case-sensitive URL of the phone with this format: http://x.x.x.x/CGI/Execute, where x.x.x.x represents the IP address of the destination Cisco Unified IP Phone.
The form that is posted should have a case-sensitive form field name called ¿XML¿ that contains the desired XML object. For any HTTP POST operation, the server must provide basic HTTP authentication information with the POST. The provided credentials must be of a user in the global directory with a device association with the target phone[/b]

You can Push any object via the CiscoIPPhoneExecute object or push directly other displayable XML Object (such as CiscoIPPhoneMenu, CiscoIPPhoneText or CiscoIPPhoneStatus).

You can do this from any application (Web, service...) and from any language, that support http request.
This is a C# example:
                               string pushxml = "XML=" + HttpUtility.UrlEncode(url1);
				string uri = "http://" + ipddress + "/CGI/Execute";
				HttpWebRequest req = (HttpWebRequest)WebRequest.Create(uri);

				req.ContentType = "application/x-www-form-urlencoded";
				//req.Connection = "close";
				req.Credentials = new System.Net.NetworkCredential(uid, pwd);
				req.Method = "POST";
				System.IO.Stream stream = req.GetRequestStream();
				byte[] arrBytes = System.Text.ASCIIEncoding.ASCII.GetBytes(pushxml);
				stream.Write(arrBytes, 0, arrBytes.Length);
				stream.Close();
				WebResponse resp = req.GetResponse();
				Stream respStream = resp.GetResponseStream();
				StreamReader rdr = new StreamReader(respStream, System.Text.Encoding.ASCII);
				string strResponse = rdr.ReadToEnd();
				return strResponse;</summary>
    <dc:creator>Stefania Oliviero</dc:creator>
    <dc:date>2011-08-08T13:25:29Z</dc:date>
  </entry>
  <entry>
    <title>RE: Pop up Message from one Cisco IP Phone to another ?</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4331429" />
    <author>
      <name>Jeffrey Ness</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4331429</id>
    <updated>2011-08-08T12:23:04Z</updated>
    <published>2011-08-08T12:23:04Z</published>
    <summary type="html">If by a specific phone you mean 1 and only 1 physical phone handset which you would create a DHCP reservation for it's IP address not to change you could cut out the first 2 points. I don't think you could natively use an IP Phone Service to push to the destination phone as it will end up with a GET request and not a POST type request so you would still need a web server hosting an application (IP Phone Service) to receive the request from the source phones and initiate the push of the CiscoIPPhoneText XML to the destination phone in the proper format.</summary>
    <dc:creator>Jeffrey Ness</dc:creator>
    <dc:date>2011-08-08T12:23:04Z</dc:date>
  </entry>
  <entry>
    <title>RE: Pop up Message from one Cisco IP Phone to another ?</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4329413" />
    <author>
      <name>Jun Hong Lexus Sim</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4329413</id>
    <updated>2011-08-08T07:23:39Z</updated>
    <published>2011-08-08T07:23:39Z</published>
    <summary type="html">[quote]It's not simple because it's based on our framework, we've developed. 
You need some little bricks, in order to:
- retrieve devicename'phone associated to a DN (rof. AXL)
- retrieve IP Adress 's phone from the device name (rif. Serviceability AXL)
- a method to push an XML object (CiscoIPPhoneText) to a phone (rif. Cisco IPPhone service, HTTP Post).

Hope this help.[/quote]
 
If I just want to sent to a specific phone do I still need all that ?</summary>
    <dc:creator>Jun Hong Lexus Sim</dc:creator>
    <dc:date>2011-08-08T07:23:39Z</dc:date>
  </entry>
  <entry>
    <title>RE: Pop up Message from one Cisco IP Phone to another ?</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4320559" />
    <author>
      <name>Stefania Oliviero</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4320559</id>
    <updated>2011-08-04T16:28:30Z</updated>
    <published>2011-08-04T16:28:30Z</published>
    <summary type="html">It's not simple because it's based on our framework, we've developed. 
You need some little bricks, in order to:
- retrieve devicename'phone associated to a DN (rof. AXL)
- retrieve IP Adress 's phone from the device name (rif. Serviceability AXL)
- a method to push an XML object (CiscoIPPhoneText) to a phone (rif. Cisco IPPhone service, HTTP Post).

Hope this help.</summary>
    <dc:creator>Stefania Oliviero</dc:creator>
    <dc:date>2011-08-04T16:28:30Z</dc:date>
  </entry>
  <entry>
    <title>RE: Pop up Message from one Cisco IP Phone to another ?</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4318813" />
    <author>
      <name>Jun Hong Lexus Sim</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4318813</id>
    <updated>2011-08-04T05:44:54Z</updated>
    <published>2011-08-04T05:44:54Z</published>
    <summary type="html">[quote]You can Push a CiscoIPPhoneText  to the other phone.
What you need is to know the IP adress of the other Phone so, you need  to implement a method to retrieve IP Adress from for example DN or other parameter.
You can develop an XML service to insert DN to find the phone you want to send the message, then by AXl library you can retrieve the devicename associated to th Dn(you can have more than one device associate, however), and then you can  retrieve IP Adress by the serviceability XML library (given the devicename).

I made an implementation of this.[/quote]
 
Could a get a sample of your implementation if you don't mind ?</summary>
    <dc:creator>Jun Hong Lexus Sim</dc:creator>
    <dc:date>2011-08-04T05:44:54Z</dc:date>
  </entry>
  <entry>
    <title>RE: Pop up Message from one Cisco IP Phone to another ?</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4301915" />
    <author>
      <name>Stefania Oliviero</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4301915</id>
    <updated>2011-08-02T10:05:11Z</updated>
    <published>2011-08-02T10:05:11Z</published>
    <summary type="html">You can Push a CiscoIPPhoneText  to the other phone.
What you need is to know the IP adress of the other Phone so, you need  to implement a method to retrieve IP Adress from for example DN or other parameter.
You can develop an XML service to insert DN to find the phone you want to send the message, then by AXl library you can retrieve the devicename associated to th Dn(you can have more than one device associate, however), and then you can  retrieve IP Adress by the serviceability XML library (given the devicename).

I made an implementation of this.</summary>
    <dc:creator>Stefania Oliviero</dc:creator>
    <dc:date>2011-08-02T10:05:11Z</dc:date>
  </entry>
  <entry>
    <title>RE: Pop up Message from one Cisco IP Phone to another ?</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4302647" />
    <author>
      <name>NIGEL WARBURTON</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4302647</id>
    <updated>2011-08-02T09:49:31Z</updated>
    <published>2011-08-02T09:49:31Z</published>
    <summary type="html">hi there, additional software would be required to do what your trying to achieve (that is if you are looking for a commercial product). I would look at Burbee and Dominocomms (Phone Pager &amp; Action Caller) for products that can do this out of the box. Let me know if you want any further infomation on either.
 </summary>
    <dc:creator>NIGEL WARBURTON</dc:creator>
    <dc:date>2011-08-02T09:49:31Z</dc:date>
  </entry>
  <entry>
    <title>Pop up Message from one Cisco IP Phone to another ?</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4302335" />
    <author>
      <name>Jun Hong Lexus Sim</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=4302335</id>
    <updated>2011-08-02T06:32:00Z</updated>
    <published>2011-08-02T06:31:34Z</published>
    <summary type="html">Is it possible for a Cisco IP Phone to send a message to another Cisco IP Phone and display a Pop up Message ?</summary>
    <dc:creator>Jun Hong Lexus Sim</dc:creator>
    <dc:date>2011-08-02T06:31:34Z</dc:date>
  </entry>
</feed>

