Displaying 20 results from an estimated 30000 matches similar to: "System() command refuses to execute bash script"
2015 Mar 02
0
System() command refuses to execute bash script
Hi,
Some notes,
Don't run Asterisk as root.
But also:
On Mon, Mar 02, 2015 at 04:44:48PM +0200, Stefan Viljoen wrote:
> Hi all
>
> I got this solved.
>
> Turns out the script WAS executing, but I forgot that apparently you need to
> follow "cron rules" in any BASH scripts executed via System() from an
> Asterisk dialplan.
>
> E. g. all paths must be
2015 Mar 02
1
System() command refuses to execute bash script
Hi All
I'm using this extension to try and get Asterisk 1.8.11.0 to run a bash
script:
exten=>802,n,System(/bin/sh -f /root/wireless.sh)
This file is
-rwxr-xr-x 1 root root 171 Mar 2 16:23 wireless.sh
e.g. root owns the file, and it has execute permissions for all users.
Asterisk runs as root as well.
Asterisk executes the command without any errors at max verbosity.
The file
2008 Jan 05
6
Detailed Instructions
Hello List,
I am getting Asterisk set up. I am going to be installing Debian Linux
on a laptop later. I would appreciate some detailed instructions on:
(A) What to type into the shell to download and install Asterisk.
(B) How to open the configuration files (*.conf)
(C) If there is a way that I can change the configuration files remotely (SSH?).
Thanks in advance.
--
-Shane
Blog:
2017 Feb 07
3
Using g729 now that patents have expired
Now that the g729 patents have expired, how do we use g729 in Asterisk?
Will Digium be releasing a g729 codec for 'free' use or do we download the
'free' codec off the Internet now that we can use it without moral or
legal restrictions?
--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards sedwards at sedwards.com
2007 Mar 09
5
Recorded file processing app wanted
Does anybody have (or know of) a command line application that would:
) Eliminate pops and other random loud noises.
) Trim leading and trailing silence.
) Trim pauses exceeding x milliseconds to y milliseconds.
) Normalize what's left.
I know about normalize and have figured out how to trim leading and
trailing silence in sox, but I'm looking for more :)
Thanks in advance,
2010 Oct 21
8
Dial Plan Conf
Here I am expecting to be configured following scenario:
User calls : it will play a sound will ask for input DTMF, then call will be
given to particular extension for any DTMF entered.
But its not working as expected.
I have attached the dial plan file.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2010 Jul 16
4
RFCFS - reload specified file
"Request For Comments on a Feature Suggestion" -- just wondering if others
would find this useful.
Frequently, when something really doesn't make sense, I like to bump up
the console logging by editing logger.conf and changing
console = error
to
console = debug,dtmf,error,event,info,notice,verbose,warning
and entering
logger reload
When done, I
2010 Nov 27
3
sip echo server
I'm trying to find a way to setup a SIP server that will mainly echo
back a request from one agent only,
my question is do i need to setup any of the other conf files besides
extensions.conf and sip.conf?
the book says "If you plan on a pure VoIP network, the only real
requirement is the asterisk package," ,
but i'm doubtful about zaptel.
can anyone help me out?
2010 Apr 13
2
Merge master.csv files
Hi there,
Does asterisk keeps the master.csv open between writes? Right now I have 2 asterisk nodes sharing every configuration file (by using a distributed filesystem) except the master.csv files. If asterisk does not keep master.csv file open between writes, then I can share the master.csv file between both nodes right?If not, then any suggestions to merge both master.csv files?
Thanks in
2010 Jun 19
2
Using SetVar with System() is it possible?
Hi Guys,
Is it possible to harvest the output of system into a SetVar(variable)?
exten => s,n,SetVar(var=system(*asterisk -rx "sip show channels" | grep -c
"(ulaw)")*
*
*
*??? any problem with the syntax? *
*
*
*
*
*Thanks,*
*
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2011 Mar 14
2
Asterisk -rx command not returning data - Version 1.4.33.1
Hi List
I am having trouble running the command
siptest:~# asterisk -rx 'dialplan reload'
most times it does what I expect and I get a response as below
siptest:~# asterisk -rx 'dialplan reload'
Dialplan reloaded.
every now and then I get no response i.e.
siptest:~# asterisk -rx 'dialplan reload'
siptest:~#
and a "verbose 10" setting shows
[Mar
2016 May 16
6
asterisk admin interface
hi all,
can anyone give me a guide on any asterisk admin solution / interface for
config management, and monitoring?
No database use is intended and I prefer open source.
Thanks for support.
Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20160516/98f6e448/attachment.html>
2008 Apr 24
2
help...i cant do more...
Hi...
Im problem is this, i have a asterisk server (FC8 - kernel 2.6.24) a the
asterisk version is 1.4.18.
If in the machine is all ok, i can stop start the asterisk service no prob,
my problem is when in another server (in my case, debian etch 4) using the
ssh the stop service is ok, but the start service dosend finalise.
Like this:
ssh etx9 'sudo /etc/init.d/asterisk stop'
operacao at
2009 Apr 17
15
Here is Step by Step Example of Asterisk PBX System Install and configuration
Our small company is replacing Cisco CallManager with Asterisk (because we are tired of sending them money) and I am documenting the process as I go on my blog. I am trying to make the notes as easy as possible in hopes that I can ease someone else's pain. Here is the link:
http://qvlweb.blogspot.com/2009/03/asterisk-pbx-system-install-01-what-i.html
Please feel free to comment on the
2008 Apr 22
4
need examples of asterisk and mysql integration
I'm presently working on a project to build a scheduling system
accessible by both web and phone. on the web side one can query what
items are available when by using the time or the item as a key then
reserve for an available time slot. reservations may also be modified
by the user that made them or an admin. Where may I find examples of
doing similar things with asterisk? all I've
2009 Apr 22
5
Asterisk routine maintenance activities
Hello(s),
I know this might be test book question or one best suited for google but I
will take the risk of asking. Here I go. What common
routine maintenance tasks do you run on your asterisk box?
Thanks
James.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090422/8cfeb434/attachment.htm
2008 Jun 30
4
Voicemail- Recorded Mesage Low Volume
> Hi Daniel,
>
> I'm intrigued by this and wanted to try it out - but I'm wondering how
> you get Asterisk to call sox at all during Voicemail()? Our server
> doesn't even have sox installed, so I'm not sure how to go about
> tricking Asterisk into running a different one.
To do anything useful you would have to get sox installed on your
server. But to get
2009 May 22
1
/etc/asterisk/startup.d
Does anybody think it would make sense for /etc/init.d/asterisk
to run /etc/asterisk/startup.d/*.sh on start like safe_asterisk
did?
Philipp Kempgen
--
AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied -> http://www.amooma.de
Gesch?ftsf?hrer: Stefan Wintermeyer, Handelsregister: Neuwied B14998
Asterisk: http://the-asterisk-book.com - http://das-asterisk-buch.de
Videos of the AMOOCON VoIP
2008 Mar 23
6
Access rights between AGI and Web server?
Hello
I run AGI scripts from extensions.conf to save data into an SQLite
database file, but this file must also be accessible in read-write
mode by PHP scripts served by Lighttpd.
As far as I can tell, Asterisk runs by default as root:wheel. I don't
know if AGI scripts also run as root:wheel.
Lighttpd runs as www:www, and if I create a new SQLite database
through PHP scripts, they're
2011 May 22
5
call files .vbs
This may be an obvious reflection of my Asterisk/Linux/Windows weaknesses
but I want to know in any case!
Can a vb script run somehow on a Linux machine or does it only work on
Windows?
If I were to build a call file script (described in this link
http://www.voip-info.org/wiki/index.php?page=Asterisk+auto-dial+out ) then
how does it work if my Asterisk machine is running on Centos 5.5?
I simply