|
Home > Archive > Voice over IP Cisco > August 2006 > Intercom to Mulitple Phones
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Intercom to Mulitple Phones
|
|
| Keith Klevenski 2006-08-17, 1:12 pm |
| 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
| |
| Keith Klevenski 2006-08-17, 1:12 pm |
| Seth,
Thanks for the response.
I am far from a developer, but I can't imagine it being THAT hard.
Unfortunately I can't even get the service to even come up on the phone
which isn't a good sign. :-( I get this from a web browser:
Error Type:
Microsoft JScript compilation (0x800A03F0)
Expected '{'
/CiscoIPServices/includes/text2base64.asp, line 41
var j = 0;
The phone just shows HTTP error 500.
I appreciate the info!
Keith
________________________________
From: Seth Call (secall) [mailto:secall@cisco.com]
Sent: Thursday, August 17, 2006 10:31 AM
To: Keith Klevenski; cisco-voip@puck.nether.net
Subject: RE: [cisco-voip] Intercom to Mulitple Phones
If you are a developer, then I'd say plow ahead with the intercom.asp
approach--I've never used it but I assume it's using HTTP
CiscoIPPhoneExecute to do it's heavy lifting--that's about the only
complexity of the app. This is good because CSSs don't matter for this
method of controlling the phones.
If you want to read more about how it's doing it's work:
Cisco IP Phone Execute basics:
http://www.cisco.com/en/US/products...ucts_administra
tion_guide09186a008011ab23.html#xtocid13
Special-URLs for streaming used within cisco IP Phone Execute:
http://www.cisco.com/en/US/products...ucts_administra
tion_guide09186a008011ab23.html#xtocid26
Seth
________________________________
From: cisco-voip-bounces@puck.nether.net
[mailto:cisco-voip-bounces@puck.nether.net] On Behalf Of Keith Klevenski
Sent: Thursday, August 17, 2006 9:52 AM
To: cisco-voip@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
| |
| Ortiz, Carlos 2006-08-18, 1:11 pm |
| 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@puck.nether.net
[mailto:cisco-voip-bounces@puck.nether.net] On Behalf Of Keith Klevenski
Sent: Thursday, August 17, 2006 10:52 AM
To: cisco-voip@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
| |
| Bill Riley III 2006-08-27, 1:11 pm |
| 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@puck.nether.net
[mailto:cisco-voip-bounces@puck.nether.net] On Behalf Of Ortiz, Carlos
Sent: Friday, August 18, 2006 8:57 AM
To: Keith Klevenski
Cc: cisco-voip@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@puck.nether.net
[mailto:cisco-voip-bounces@puck.nether.net] On Behalf Of Keith Klevenski
Sent: Thursday, August 17, 2006 10:52 AM
To: cisco-voip@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.
| |
| Bill Riley III 2006-08-27, 7:11 pm |
| 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@cisco.com]
Sent: Sun 8/27/2006 12:51 PM
To: Bill Riley III; Ortiz, Carlos; Keith Klevenski
Cc: cisco-voip@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@puck.nether.net [mailto:cisco-voip-bounces@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@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 ofdevice names and then getting the IP address from call manager. This wouldbe 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 intercomfunction works great but it is not exactly what I am looking for. Thanks.
________________________________
From: cisco-voip-bounces@puck.nether.net [mailto:cisco-voip-bounces@puck.nether.net] On Behalf Of Ortiz, Carlos
Sent: Friday, August 18, 2006 8:57 AM
To: Keith Klevenski
Cc: cisco-voip@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@puck.nether.net [mailto:cisco-voip-bounces@puck.nether.net] On Behalf Of Keith Klevenski
Sent: Thursday, August 17, 2006 10:52 AM
To: cisco-voip@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 justneed this simple function and not all the other features of these productsthat I'm sure are rather costly for a site with just 20 phones. I've seenpeople 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 likethe 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 whatI think it can do. Does anyone have a script they can share? I have beenunsuccessful 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.
| |
| Seth Call \(secall\) 2006-08-28, 1:11 am |
| Well peer-to-peer is using RTPTx and RTPRx right? Small modication (for
a developer) to use RTPMTx and RTPMRx and to do more phones...
________________________________
From: Bill Riley III [mailto:BRiley@jackhenry.com]
Sent: Sunday, August 27, 2006 6:53 PM
To: Seth Call (secall); Ortiz, Carlos; Keith Klevenski
Cc: cisco-voip@puck.nether.net
Subject: RE: [cisco-voip] Intercom to Mulitple Phones
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@cisco.com]
Sent: Sun 8/27/2006 12:51 PM
To: Bill Riley III; Ortiz, Carlos; Keith Klevenski
Cc: cisco-voip@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@puck.nether.net
[mailto:cisco-voip-bounces@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@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@puck.nether.net
[mailto:cisco-voip-bounces@puck.nether.net] On Behalf Of Ortiz, Carlos
Sent: Friday, August 18, 2006 8:57 AM
To: Keith Klevenski
Cc: cisco-voip@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@puck.nether.net
[mailto:cisco-voip-bounces@puck.nether.net] On Behalf Of Keith Klevenski
Sent: Thursday, August 17, 2006 10:52 AM
To: cisco-voip@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.
|
|
|
|
|