10-03-2005 08:56 PM - edited 03-13-2019 10:44 AM
Hello,
Just wondering if anyone else out there has successfully got their Intercom ASP service to close the connections when one user presses Exit? I have been trying this for a while, and don't know how to send a remote RTPRx:Stop
All help appreciated!!
10-30-2005 12:39 AM
It seems that RTPRx:Stop only stops the transmit, not the service. Is there a way to send a remote Softkey:Services ?
Eg. <%RemoteIP%>:Softkey:Services?
The softkey:services does exactly what I want on the local phone...
Cheers,
11-03-2005 12:41 AM
A little more info on the scenario could've helped.. I don't know if you're refering to the situation on the phone that initiates the intercom, the remote phone, and what we have on screen.
I'm assuming you're refering to the remote phone that receives the RTP stream and that upon pressing some button on the phone that initiated the intercom, you want to terminate the applications on both ends. So, on the remote end, instead of sending a CiscoIPPhoneExecute with one item containing RTPRx:Stop, you add another item containing Key:Services.
You can adapt this for the scenario on the local phone.
12-20-2005 10:03 PM
Sorry, to be more specific, for my Exit key I want the intercom service to stop on both phones, not just the phone that presses exit. In the CiscoIPPhoneText for the Exit softkey I have:
This closes it on the local phone, but not the remote phone.
Does creating a new function (similar to phonepush in phonepush.asp) that has an CiscoIPPhoneExecute URI of the remote phone IP and Key:services sound like a reasonable idea?
And how would I get this to run when someone pressed the Exit softkey? Cheers,
10-20-2006 10:11 AM
Mattiep - were you ever able to get the one exit press to stop the service on both phones? Thanks!
10-21-2006 10:21 PM
Hi,
No I didn't, I moved on to something else and never came back to it. I'll give it another go and see how - I'm sure its not difficult (once you know how to do it!)
Cheers,
Matt
10-23-2006 05:02 AM
>>Does creating a new function (similar to phonepush in phonepush.asp) that has an CiscoIPPhoneExecute URI of the remote phone IP and Key:services sound like a reasonable idea?
And how would I get this to run when someone pressed the Exit softkey? Cheers,
You would rewrite the exit softkey so that it calls an url of your application, instead of SoftKey:Exit. When the call comes, you do what you described in the paragraph above (pusha CiscoIPPhoneExecute to the remote phone.. ), and then you respond with the same CiscoIPPhoneExecute so that the service will be terminated on the calling phone as well.
10-26-2006 06:04 AM
thanks again - finally got it to work! Also added the hands-free softkey option as a bonus.
10-26-2006 03:26 PM
Thats awesome - any chance of getting a snippet of your code to Matthew.Pook@PSNWorld.com?
01-18-2007 06:48 AM
So,
what?s the solution?.. pushing softkey:exit to the phone? that?s possible?
11-10-2006 01:49 PM
Does anyone have any snippets of modified intercom.asp code for multicasting?
CCM 4.1, 79xx Series IP Phones.
05-31-2007 06:34 AM
<%@ Language=JavaScript %>
<%
var pushuserid = "password";
var pushpassword = "password";
Response.ContentType = "text/xml";
Response.Expires = -1;
//Declaring Variables
ipAddr = Request.ServerVariables("REMOTE_HOST");
toIPAddr1 = "172.23.40.23";
toIPAddr2 = "172.23.40.11";
toIPAddr3 = "172.23.40.4";
// Starting the Transmission
phonePush(ipAddr,"RTPMTx:Stop",pushuserid,pushpassword);
//phonePush(ipAddr,"RTPMTx:239.0.0.45: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);
//Start the Receiving on the third terminal
phonePush(toIPAddr3,"RTPMRx:Stop",pushuserid,pushpassword);
phonePush(toIPAddr3,"RTPMRx:239.0.0.45:20482",pushuserid,pushpassword);
%>
%>
05-31-2007 07:13 AM
Where can i find
var pushuserid = "password";
var pushpassword = "password";
on my ccm ?
thanks ;-)
05-31-2007 09:02 AM
Create an account on you CCM
Associate the phones with the account
Create an IP service and point the url to where you intercom script resides
Subscribe the phones to this service
Replace "password" with the user/pass of the user you created in the CCM
Replace the IPs in the script with the IPs of the phones you want in the intercom group
Make a new script and IP service for each intercom group
06-01-2007 12:40 AM
Well ...
Many thanks ;-)
It work well :-D
best regards
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide