[cisco-voip] Intercom to Mulitple Phones
Bill Riley III
BRiley at jackhenry.com
Sun Aug 27 19:52:57 EDT 2006
I am not that concerned with a device name to IP mapping at this point, if I need to I will hard code the IP address of the phones in the web page. What I still need to be able to do is multicast this to a group of phones at the same time.
________________________________
From: Seth Call (secall) [mailto:secall at cisco.com]
Sent: Sun 8/27/2006 12:51 PM
To: Bill Riley III; Ortiz, Carlos; Keith Klevenski
Cc: cisco-voip at puck.nether.net
Subject: RE: [cisco-voip] Intercom to Mulitple Phones
I don't know of anything for free that is available, but if you added the ability to begin caching DeviceListX (which is gone in CCM 5.0 btw), you would have a Devicename to IP address mapping. You also get device pool--you mentioned being able to broadcost to a location--are device pools a good start for an intercom group?
If you have a peer-to-peer intercom working, and if you built something which cached DeviceListX information, you could build the multicast version pretty quickly on top of that.
Seth
________________________________
From: cisco-voip-bounces at puck.nether.net [mailto:cisco-voip-bounces at puck.nether.net] On Behalf Of Bill Riley III
Sent: Sunday, August 27, 2006 8:57 AM
To: Ortiz, Carlos; Keith Klevenski
Cc: cisco-voip at puck.nether.net
Subject: Re: [cisco-voip] Intercom to Mulitple Phones
I have the intercom working correctly and it works great. The downside to this is you must specify the IP address of the IP phone you wish to conference. The other bad part is it is only a one to one conference. I need to do this in a multicast type fashion. I need to intercom all of the IP phones at a specific location. I have seen a few posts on NETPRO and some people have been able to get this to work with multicast. The problem is all of their code samples have expired. This is the current intercom.asp file. It is being passed the IP address of the phone to intercom as a variable in the service.
///////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Title: Intercom
// Author: kstearns
// Source File(s): intercom.asp
//
///////////////////////////////////////////////////////////////////////////////////////////////////////
// Description:
//
// Intercom allows a direct intercom feature between to IP phones. It is a simple example of how to use
// the RTP streaming URIs to stream voice.
//
///////////////////////////////////////////////////////////////////////////////////////////////////////
// Requirements and Caveats:
//
// - Client: Cisco IP Phone XML browser
//
// - Required COM Servers: Microsoft MSXML
//
// - The 'includes' file(s) listed in the beginning of this file MUST be reachable
// at the specified web path.
//
// - When creating the Intercom Phone Service on CallManager, you MUST specify a
// a Phone Service Parameter for the IP address of the destination intercom
// phone. The Parameter Name must be 'phoneIP' and the parameter should
// be marked as 'Required'.
//
///////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Edit the following settings for your environment.
// This is for sample purposes only - placing passwords and other
// sensitive information in an open text file is obviously NOT recommended !!!
//
var pushuserid = "test";
var pushpassword = "testt";
/////////////////////////////////////////////////////////////////////////////////
Response.ContentType = "text/xml";
Response.Expires = -1;
/////////////////////////////////////////////////////////////////////////////////////////////////
// Get the IP address specified in phoneIP querystring and source IP address of this request //
/////////////////////////////////////////////////////////////////////////////////////////////////
var rtpPort = "20480";
var remoteIP = String(Request.QueryString("phoneIP").Item);
var thisPage = "http://" + Request.ServerVariables("SERVER_NAME") + Request.ServerVariables("PATH_INFO");
var thisIP = Request.ServerVariables("REMOTE_HOST");
if (String(Request.QueryString("cause").Item) != "push") {
phonePush2(remoteIP, thisPage + "?phoneIP=" + thisIP + "&cause=push", "RTPRx:"+thisIP+":"+rtpPort, pushuserid, pushpassword);
phonePush(thisIP, "RTPRx:"+remoteIP+":"+rtpPort, pushuserid, pushpassword);
}
%>
<CiscoIPPhoneText>
<Title>Intercom</Title>
<Prompt>Press and Hold to Talk</Prompt>
<Text>Intercom to <%=remoteIP%></Text>
<SoftKeyItem>
<Name>Talk</Name>
<URL>RTPTx:Stop</URL>
<URLDown>RTPTx:<%=remoteIP%>:<%=rtpPort%></URLDown>
<Position>1</Position>
</SoftKeyItem>
<SoftKeyItem>
<Name>Exit</Name>
<URL>SoftKey:Exit</URL>
<Position>4</Position>
</SoftKeyItem>
</CiscoIPPhoneText>
%>
I have found another sample where a person is giving the services a list of device names and then getting the IP address from call manager. This would be the preferred method. He also says he is getting it to work by multicast but the .asp file has expired on NetPro.
---------------
//Declaring Variables
var toIPAddr1, toIpAddr2;
toIPAddr1 = getDeviceIP("SEP0008A309F789", callManager, callManagerUserId, callManagerPassword);
toIPAddr2 = getDeviceIP("SEP0002FD3BAB48", callManager, callManagerUserId, callManagerPassword);
// Starting the Transmission
phonePush(ipAddr,"RTPMTx:Stop",pushuserid,pushpassword);
phonePush(ipAddr,"RTPMTx:192.168.5.102:20482",pushuserid,pushpassword);
// Start the Receiving on the first terminal
phonePush(toIPAddr1,"RTPMRx:Stop",pushuserid,pushpassword);
phonePush(toIPAddr1,"RTPMRx:239.0.0.45:20482",pushuserid,pushpassword);
//Start the Receiving on the second terminal
phonePush(toIPAddr2,"RTPMRx:Stop",pushuserid,pushpassword);
phonePush(toIPAddr2,"RTPMRx:239.0.0.45:20482",pushuserid,pushpassword);
Response.Write("Message Sent to " + phone + " (" + ipAddr + ").
");
Can anyone help with finding away to make this intercom service multicast to a list of IP phones instead of just one phone to one phone? The intercom function works great but it is not exactly what I am looking for. Thanks.
________________________________
From: cisco-voip-bounces at puck.nether.net [mailto:cisco-voip-bounces at puck.nether.net] On Behalf Of Ortiz, Carlos
Sent: Friday, August 18, 2006 8:57 AM
To: Keith Klevenski
Cc: cisco-voip at puck.nether.net
Subject: Re: [cisco-voip] Intercom to Mulitple Phones
Keith,
Have you gotten any response or help with this? I can't help you but it would be interesting to know if you get it to work.
________________________________
From: cisco-voip-bounces at puck.nether.net [mailto:cisco-voip-bounces at puck.nether.net] On Behalf Of Keith Klevenski
Sent: Thursday, August 17, 2006 10:52 AM
To: cisco-voip at puck.nether.net
Subject: [cisco-voip] Intercom to Mulitple Phones
Hi all,
I know this topic has been discussed quite a bit here and on Netpro, but I have a sudden need for someone to dial and extension (or press a button) and all phones at the site auto answer to intercom for paging purposes. I'm aware of the different 3rd party applications that can do this, but we just need this simple function and not all the other features of these products that I'm sure are rather costly for a site with just 20 phones. I've seen people getting intercom.asp from the IP Phone SDK working with multicast which I'm assuming is doing exactly what I need to do, but I'd like to confirm that if anyone has any experience with it.
Does anyone know the quickest way to accomplish this with CCM 3.3.5? I've only been given a couple of days notice to make this work and it seems like the options are:
1. 3rd party software (probably not cost effective for what I need to do and the number of phones)
2. CCME? I understand it has an intercom feature, but I really don't want to do this based on this site having 7960s with a different CSS for each line and I'm not sure if it intercoms to mulitple phones at once with auto answer.
3. intercom.asp? This sounds the most intriging if it actually does what I think it can do. Does anyone have a script they can share? I have been unsuccessful in getting it to work at all which I think may be due to MSXML issues on the web server (i.e. my laptop).
I appreciate any and all input!
Keith
NOTICE: This electronic mail message and any files transmitted with it are intended exclusively
for the individual or entity to which it is addressed. The message, together with any attachment, may contain confidential and/or privileged
information. Any unauthorized review, use, printing, saving, copying, disclosure
or distribution is strictly prohibited. If you have received this message in error, please immediately
advise the sender by reply email and delete all copies.
NOTICE: This electronic mail message and any files transmitted with it are intended exclusively
for the individual or entity to which it is addressed. The message, together with any attachment, may contain confidential and/or privileged
information. Any unauthorized review, use, printing, saving, copying, disclosure
or distribution is strictly prohibited. If you have received this message in error, please immediately
advise the sender by reply email and delete all copies.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://puck.nether.net/pipermail/cisco-voip/attachments/20060827/aca274f5/attachment-0001.html
More information about the cisco-voip
mailing list