Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Sending #DEVICENAME# from Softkey URL

UPDATE: Literally a few minutes after posting this, the light bulb came on. I was using the wrong query parameter. All I had to do was look at my Service URL to see that "Name" had never been the right parameter to query. It is "device". All I had to do was change:

var sIPphonename = String(Request.QueryString("Name").Item);

TO

var sIPphonename = String(Request.QueryString("device").Item);

and it works just fine now.

Just putting the info into this post helped me step back for a moment and see the light.

Dave

I have a simple Phone Service which presents the user with a help screen before letting them go to the EM Login URL and I cannot seem to get the IP Phone devicename attached to the Extension Mobility Service URL using a SoftKey URL. I get to the EM Login prompt, but without a devicename it will come back with error 11 (device does not exist).

Using the Phone Services button to select the Cisco EM Login Service directly works just fine. I am using CCM 4.1(3)sr3b

My query results in name = "undefined". Am I using the wrong query?

Thanks for any help,

Dave

Cisco EM Login Service config:

http://10.111.40.128/emapp/EMAppServlet?device=#DEVICENAME#

New EM Login Intercept Help Service config:

http://10.111.72.138/ccmpd/EMHelp/EMhelp.asp?device=#DEVICENAME#

Current EMHelp.asp file:

=========================================

<%@ Language=JavaScript %>

<%

var sIPphonename = String(Request.QueryString("Name").Item);

Response.ContentType = "text/xml";

Response.Buffer = true;

%>

<CiscoIPPhoneText>

<Title>To Login to Extension Mobility:</Title>

<Text>1. Press the EM Login button

2. Use the telephone keypad to:

a. Enter your network User ID

b. Enter your your IP Phone PIN number

3.Press the Submit button

If you need additional assistance, press the HelpDesk button to call the Help Desk

</Text>

<SoftKeyItem>

<Name>EM Login</Name>

<URL>http://10.111.40.128/emapp/EMAppServlet?device=<% = sIPphonename %></URL>

<Position>1</Position>

</SoftKeyItem>

<SoftKeyItem>

<Name>HelpDesk </Name>

<URL>Dial:304100</URL>

<Position>2</Position>

</SoftKeyItem>

<SoftKeyItem>

<Name>Exit </Name>

<URL>SoftKey:Exit</URL>

<Position>3</Position>

</SoftKeyItem>

</CiscoIPPhoneText>

<%

Response.Flush();

%>

242
Views
0
Helpful
0
Replies
CreatePlease login to create content