sanku has asked for the wisdom of the Perl Monks concerning the following question:
And one more thing is if i am running the same program as perl file the asterisk commands are executing without any error.Error: Unable to connect to remote asterisk (does /var/run/asterisk.ctl exist +?) Unable to connect to remote asterisk (does /var/run/asterisk.ctl e +xist?)
Can any one help me as soon as possible... Thanks in advance.#!/usr/bin/perl print "Content-type:text/html\n\n"; print `asterisk -rx "extensions reload"`; print `asterisk -rx "sip reload"`;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: how to run asterisk command through perl/cgi
by targetsmart (Curate) on Jul 13, 2009 at 07:34 UTC | |
|
Re: how to run asterisk command through perl/cgi
by afoken (Chancellor) on Jul 13, 2009 at 10:57 UTC | |
by Anonymous Monk on Jul 22, 2009 at 18:38 UTC |