cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
200
Views
0
Helpful
0
Comments
cdnadmin
Level 11
Level 11
This document was generated from CDN thread

Created by: Rolando Lozano on 25-01-2011 08:37:35 PM
Hi,

I need to send a command to the tandberg  C20 via SSH in an automatic way to display a message:

ssh admin@192.168.101.2 xCommand Message Alert Display Test: "Hello"
and i get the following answer:
Failed to open -c for reading: no such file or directory

if i do this, it works:
ssh root@192.168.101.2 ls -la
then i get all the info.....

Can someone tell me how can i fix the error that i get with the ssh to admin or how can i manipulate the message alert display inside root?

Thanks
Rolando

Subject: RE: SSH to admin in a C20
Replied by: Viggo Fredriksen on 26-01-2011 09:23:42 AM
Hi Rolando,

  this is because the admin shell is driven by stdin. You could try do something like this:
1echo 'xCommand Message Alert Display Text: "Hello"' | ssh admin@host

Regards,
  Viggo

Subject: RE: SSH to admin in a C20
Replied by: Rolando Lozano on 26-01-2011 04:08:49 PM
Hi, Thanks for the answer... i tried but i get this message:
admin@192.168.101.2's password:
ssh: failed reading termmodes

Subject: RE: SSH to admin in a C20
Replied by: Viggo Fredriksen on 27-01-2011 09:58:03 AM
Hi Rolando,

  you may have better luck with http POST.

1# wget http://host/putxml \
2 --post-data="<Command><Message><Alert><Display><Text>Hi</Text></Display></Alert></Message></Command>" \
3 --user=admin --password=password


Regards,
  Viggo

Subject: RE: SSH to admin in a C20
Replied by: Rolando Lozano on 27-01-2011 09:45:15 PM
Hi,

I tried the command but no success:

wget http://192.168.101.2/putxml --post-data="<Command><Message
><Alert><Display><Text>Hi</Text></Display></Alert></Message></Command>" --user=a
dmin --password=password
Connecting to 192.168.101.2 (192.168.101.2:80)
wget: can't open 'putxml': File exists

Thanks
Rolando

Subject: RE: SSH to admin in a C20
Replied by: Rolando Lozano on 28-01-2011 02:11:17 AM
Working!!!!

we have to do it like this in order to work:

wget http://192.168.101.2/formputxml?xmldoc=%3CCommand%3E%3CMessage%3E%3CAlert%3E%3CDisplay%20command=%22True%22%3E%3CText%3EHi%3C/Text%3E%3C/Display%3E%3C/Alert%3E%3C/Message%3E%3C/Command%3E

Thanks
Rolando

Subject: RE: SSH to admin in a C20
Replied by: Rolando Lozano on 04-02-2011 03:48:56 AM
Hi,

We were able to send the messages to the Tandberg unit, but  we want to send a message to cover the message that displays “can not connect call” but when that message shows up in the screen there is no way to put one in top of it

That is our whole intention, to block it completely for one that will say “please wait...connecting your call”.

Any idea on how can I do this? Or how can we stop having the can not connect call?

for example if we send a message when the default tandberg message of "connecting to xxxx.xxxx.xxxx.xxxx" then the message that we send cover or goes on top, but with the one that says canot connect, then the story is different..

Thanks
Rolando

Subject: RE: SSH to admin in a C20
Replied by: Rolando Lozano on 04-02-2011 04:48:04 PM
Hi Viggo,
i think i have places some comments in my post but with reply to myself.... i previous post i mentioned that we managed to make the ssh work to display messages but......... see below...

Hi,

We were able to send the messages to the Tandberg unit, but we want to send a message to cover the message that displays “can not connect call” but when that message shows up in the screen there is no way to put one in top of it

That is our whole intention, to block it completely for one that will say “please wait...connecting your call”.

Any idea on how can I do this? Or how can we stop having the can not connect call?

for example if we send a message when the default tandberg message of "connecting to xxxx.xxxx.xxxx.xxxx" then the message that we send cover or goes on top, but with the one that says canot connect, then the story is different..

Thanks
Rolando

Subject: RE: SSH to admin in a C20
Replied by: Viggo Fredriksen on 04-02-2011 05:17:33 PM
Hi Rolando,

  unfortunately, there is currently no way to block popup messages from the OSD.

Regards,
  Viggo
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links