[Asterisk-Dev] Calling Reload Remotely

Dmitri Pavlenkov dmitri at im1.com
Wed Jun 30 09:44:46 MST 2004


User you connect as doesn't have permissions to run asterisk.

 

Dmitri Pavlenkov

Technical Support

Im1 Web Hosting

 

-----Original Message-----
From: James Dutton [mailto:james at instantecommerce.co.uk] 
Sent: Wednesday, June 30, 2004 11:59 AM
To: asterisk-dev at lists.digium.com
Subject: [Asterisk-Dev] Calling Reload Remotely

 

I am trying to call the Asterisk Reload command remotely from a Windows
box

 

I have created a shell script containing the text ...

 

/usr/sbin/asterisk -r -x reload

 

I have saved it as filename reload

 

I can run this on the Linux box using ./reload from terminal within the
correct directory

 

I now want to run it from the Windows box

 

I am using the command "plink username at host -pw password -ssh -v
./reload"

 

It certainly appears to run the script, but complains that it cannot
connect to the remote Asterisk server

 

Does anyone have a workaround for this. Would I be better off calling a
Perl script or something similar?

 

Thanks

 

James

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20040630/19d28968/attachment.htm


More information about the asterisk-dev mailing list