My pleasure :) It's rare I have an opportunity to help someone on here.
Lee Jenkins wrote:
Mojo with Horan Company, LLC wrote:
No, because then asterisk would be presented three arguments: '-rx',
'extensions', and 'reload' -- as 'extensions' is not a command by
itself, and the
Mojo with Horan Company, LLC wrote:
No, because then asterisk would be presented three arguments: '-rx',
'extensions', and 'reload' -- as 'extensions' is not a command by
itself, and the 'reload' appears superfluous to asterisk, this would not
work as desired.
Asterisk needs to be
Ciao Tzafrir,
The only real benefit is if you can limit the permissions you give to
that specific manager user. But there's a limit to ohw useful this can
be. Even write=command alone allows changing the dialplan ('dialplan
add' / 'dialplan remove') and running an arbitrary command as the
On Wed, Oct 03, 2007 at 09:10:58PM -0500, Moises Silva wrote:
If you are running the script from a web server, the script gets
executed with the web server process permissions, hence, probably does
not have access to /var/run/asterisk.ctl.
You can give permissions to your web server, or
No, because then asterisk would be presented three arguments: '-rx',
'extensions', and 'reload' -- as 'extensions' is not a command by
itself, and the 'reload' appears superfluous to asterisk, this would not
work as desired.
Asterisk needs to be presented two arguments - the first is '-rx',
Hello,
I am trying to use PHP to reload the extensions in an Asterisk
installation. I keep getting this error:
Easiest way without compromising security or changing permissions. Use
the AMI.
1. Download phpagi (Just google it)
2. Use it to connect to the Manager interface
3. Use it to
Michael Munger wrote:
I am trying to use PHP to reload the extensions in an Asterisk
installation. I keep getting this error:
Unable to connect to remote asterisk (does /var/run/asterisk.ctl exist?)
when I run the script by visiting the URL; however, if I run the script
from the command
If you are running the script from a web server, the script gets
executed with the web server process permissions, hence, probably does
not have access to /var/run/asterisk.ctl.
You can give permissions to your web server, or better yet, dont
execute the command using shell_exec, better open a
Michael Munger wrote:
I am trying to use PHP to reload the extensions in an Asterisk
installation. I keep getting this error:
Unable to connect to remote asterisk (does /var/run/asterisk.ctl
exist?) when I run the script by visiting the URL; however, if I run
the script from the command
Michael Munger wrote:
I am trying to use PHP to reload the extensions in an Asterisk
installation. I keep getting this error:
Unable to connect to remote asterisk (does /var/run/asterisk.ctl exist?)
when I run the script by visiting the URL; however, if I run the script
from the command
Steve Totaro wrote:
Michael Munger wrote:
I am trying to use PHP to reload the extensions in an Asterisk
installation. I keep getting this error:
Unable to connect to remote asterisk (does /var/run/asterisk.ctl
exist?) when I run the script by visiting the URL; however, if I run
the
11 matches
Mail list logo