cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5184
Views
0
Helpful
8
Replies

URL Action to Cisco Digital Media Player

g-fontaine
Level 1
Level 1

I have been trying to configure a URL action in CPAM to trigger whenever a person badges into a door (for example...myself) and push a URL to a Cisco DMP/DMM. I want to send the command (URL string) to a DMP (digital media player) to show a website. I'm not entirely sure how I should configure the CPAM url action. I've seen this work at the Cisco EBC in San Jose....just wondering if someone else has gotten this to work on how they did it.

Guillermo..

8 Replies 8

paulw.wilkinson
Level 1
Level 1

Hi,

I haven't tried this myself yet, but you should be able to do it using a URL like the following:

http://:7777/set_param?init.BROWSER_CMD=http://www.google.com&init.TVZILLA_URL=http://www.google.com

It will get tricky if you want to include GET parameters in the URL that you want the DMP to load, because you are already passing the URL in a GET parameter.  You might be able to urlencode the parameters that you wanted to include.

Paul

Thanks...for the information. I will try this out and let you know..

Hi,

I got a chance to try this out and it works, but I had to add an additional command:

I found that I needed to set the alpha value  so that the web layer is visible, otherwise I just got a black screen.

Also, it seems that the TVZILLA_URL parameter doesn't need to be set, just the BROWSER_CMD so you can use:

http://DMP:7777/setparam?BROWSER_CMD=http://www.google.com&init.IMM_ALPHA=255

Paul

Hello Paul,

     Did you get it to work? I keep on getting the following error when I slide my credential on the reader:

Record type : Unexpected end of file from server; URLAction:URL-Test; URL: http://10.10.20.128:7777/setparam?BROWSER_CMD=http://www.google.com&init.IMM_ALPHA=255

10.10.20.128: IP Address of DMP player

I'm setting up a Global I/O entry to trigger the URL action when I slide my card on a particular reader.

Image Attached....

Hi,

Yes, I did get it to work.  Did you specify the DMP's admin username/password in the authentication section when you set up the URL?

Have you tried just entering the URL in your browser?

Paul

Hello Paul,

     Thanks for checking back. I pasted the following string in my browser and nothing happened. Got page cannot be displayed.

http://10.10.2.7:7777/setparam?BROWSER_CMD=http://www.google.com&init.IMM_ALPHA=255

10.10.2.7 (IP of DMP)

I've double checked and made sure that the credentials configured in the URL Action are good.

The following is what I have configured on the URL action:

Method: Post

Protocol: Http

Enabled : Checked

Value: Radio button is checked but no data in field

Parameters tab: No data

Authentication: DMP access creds

Also in order for the URL action to trigger I configured Global I/O action. Correct.

If you have some time I can set up a quick webex so we can discuss how you got it to work...thanks.

Guillermo..

Hi,

Apologies, it looks like I made a typo in my original message.  Instead of setparam it should be set_param and it should be init.BROWSER_CMD

so your URL should be:

http://10.10.2.7:7777/set_param?init.BROWSER_CMD=http://www.google.com&init.IMM_ALPHA=255

Try that and see how you go.

Paul

Hello Paul,

     So it didnt work...but I have a couple of questions just to understand how you got yours to work:

1) In order for me to browse into the Cisco DMP I need need to use https (443) not http (80). But your string references port 7777. Just wondering if you've customized your setup a bit.

2) I used your new string and CPAM kicks back an error which I attached to this thread.

Again, I really appreciate your help...I've tried to open a couple of cases with TAC on this issue but no real help there. If you have time for a quick webex that would be great. Thanks.

Guillermo..