[cisco-voip] calling getservicesmenu.asp from another xml menu

Tim Smith thsglobal at gmail.com
Wed Oct 29 15:15:40 EDT 2008


Ok...

Have you tried this?
Set up your URL sub with - getservicesmenu.asp?name=#DEVICENAME#

Then for an ASP page...

<%@ Language=JavaScript %>
<%

var name = String(Request.QueryString("Name").Item);
Response.ContentType = "text/xml";
%>

<CiscoIPPhoneMenu>
  <Title>SERVICES</Title>
  <Prompt>Make Your Selection...</Prompt>
  <MenuItem>
    <Name>My Subscriptions</Name>
    <URL>http://X.X.X.X/CCMCIP/getservicesmenu.asp?Name=<% = name %></URL>
  </MenuItem>
</CiscoIPPhoneMenu>

ASP page should take the DEVICENAME param from the phone, and throw it into
the URL to go to the orig page.


Cheers,

Tim.


On Wed, Oct 29, 2008 at 7:37 PM, Lelio Fulgenzi <lelio at uoguelph.ca> wrote:

> There are some internals going on that get the devicename, but I'm not sure
> why it would work when called directly from the phone, but not from a
> submenu (still from the phone).
>
> I've got it working when I pass the name to the custom menu, but I'd rather
> call it with a #DEVICENAME# not the actual MAC address, or else I have to
> update the SERVICE URL each time I update the MAC address (just one more
> thing to worry about).
>
>
> ---
> Lelio Fulgenzi, B.A.
> Senior Analyst (CCS) * University of Guelph * Guelph, Ontario N1G 2W1
> (519) 824-4120 x56354 (519) 767-1060 FAX (JNHN)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> "Bad grammar makes me [sic]" - Tshirt
>
>
> ----- Original Message -----
> From: "Ed Leatherman" <ealeatherman at gmail.com>
> To: "Lelio Fulgenzi" <lelio at uoguelph.ca>
> Cc: "voyp list" <cisco-voip at puck.nether.net>
> Sent: Wednesday, October 29, 2008 2:30:35 PM GMT -05:00 US/Canada Eastern
> Subject: Re: [cisco-voip] calling getservicesmenu.asp from another xml menu
>
> Lelio,
>
> FWIW when I push services on my IP Phone with CM 5.1, it is requesting:
> GET
> /ccmcip/getservicesmenu.jsp?locale=English_United_States&name=SEP000F3487EA29
> HTTP/1.1\r\n
>
> On Wed, Oct 29, 2008 at 1:48 PM, Lelio Fulgenzi <lelio at uoguelph.ca> wrote:
>
>> I'd like to be able to call the getservicesmenu.asp from another xmlmenu I
>> am setting up. I tried this:
>>
>> <CiscoIPPhoneMenu>
>>         <Title>Phone Services</Title>
>>         <Prompt>Make Your Selection...</Prompt>
>>         <MenuItem>
>>                 <Name>UofG Audio Paging</Name>
>>                 <URL>snip</URL>
>>         </MenuItem>
>>         <MenuItem>
>>                 <Name>Other Services</Name>
>>                 <URL>http://ipaddr/CCMCIP/getservicesmenu.asp</URL>
>>         </MenuItem>
>> </CiscoIPPhoneMenu>
>>
>> but it doesn't seem to work. When I select option two, I get:
>>
>> To set up speed dials and other
>> services for your phone,
>> please go to (
>> https://<ipaddr>/CCMUser )
>>
>> When I plug in the same getservicesmenu.asp url onto the phone's service
>> URL, it works.
>>
>> The reason I want to use a menu, is because I want the user to be able to
>> access the first application regardless of the status of the publisher. If
>> the publisher goes down and they can't get their services menu, the paging
>> application is not available.
>>
>> Any ideas?
>>
>> ---
>> Lelio Fulgenzi, B.A.
>> Senior Analyst (CCS) * University of Guelph * Guelph, Ontario N1G 2W1
>> (519) 824-4120 x56354 (519) 767-1060 FAX (JNHN)
>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>> "Bad grammar makes me [sic]" - Tshirt
>>
>>
>> _______________________________________________
>> cisco-voip mailing list
>> cisco-voip at puck.nether.net
>> https://puck.nether.net/mailman/listinfo/cisco-voip
>>
>>
>
>
> --
> Ed Leatherman
> Assistant Director, Voice Services
> West Virginia University
> Telecommunications and Network Operations
>
> _______________________________________________
> cisco-voip mailing list
> cisco-voip at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-voip
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20081029/ba3a3e04/attachment.html>


More information about the cisco-voip mailing list