03-17-2010 12:08 PM
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..
04-06-2010 07:12 PM
Hi,
I haven't tried this myself yet, but you should be able to do it using a URL like the following:
http://
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
04-09-2010 04:29 PM
Thanks...for the information. I will try this out and let you know..
04-26-2010 11:08 PM
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
05-17-2010 03:30 PM
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....
05-17-2010 06:26 PM
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
05-19-2010 04:19 PM
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..
05-20-2010 07:25 PM
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
05-21-2010 09:30 AM
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..
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