Re: [asterisk-users] static realtime vs config files

2015-03-02 Thread Carlos Chavez
On 3/2/15 3:23 PM, Marek Cervenka wrote: hi, is it possible use asterisk static realtime and config files simultaneously in asterisk 11? i want [globals] from extensions.conf in database, but dialplan in extensions.conf config file i saw this can be configured in stasis.conf in asterisk

[asterisk-users] static realtime vs config files

2015-03-02 Thread Marek Cervenka
hi, is it possible use asterisk static realtime and config files simultaneously in asterisk 11? i want [globals] from extensions.conf in database, but dialplan in extensions.conf config file i saw this can be configured in stasis.conf in asterisk 13 thanks --

[asterisk-users] Queue_log transfer

2015-03-02 Thread Carlos Chavez
I am having a problem with my queue_log. When an agent transfers a call I am not getting the extension that was dialed for transfer, I am only getting the name of the macro we use: 1425307308|1425307242.33367|PedidosKosmos|Agente 102|TRANSFER|s|macro-stdexten|13|52|1

[asterisk-users] account code

2015-03-02 Thread ricky gutierrez
Hi list , I have a question with account codes, all my outgoing calls are authenticated, but now the boss wants to monitor these calls with the codes. example: maria has an extension 110, but peter was in place and use the phone maria , maria then says that she did not make that call to that

Re: [asterisk-users] situation with ivr and four-channel gateway

2015-03-02 Thread ricky gutierrez
2015-03-02 3:44 GMT-06:00 A J Stiles asterisk_l...@earthshod.co.uk: Ah. *Incoming* calls are not something that is within your control; they have already been routed onto a line by your telco. So you will need to speak to someone at your telco about doing this. Hi Aj, I call to telco and

Re: [asterisk-users] situation with ivr and four-channel gateway

2015-03-02 Thread A J Stiles
On Friday 27 Feb 2015, ricky gutierrez wrote: the problem is that my pbx all incoming calls using only the channel gsm 1 , the idea is that an incoming call to channel 1 is passed to channel 2 Ah. *Incoming* calls are not something that is within your control; they have already been routed

[asterisk-users] Events

2015-03-02 Thread Jordan Cook - Gyron Networks
Hello, I am playing around with events in asterisk via asterisk manager - i've noticed it doesnt seem to be emitting events to my connected client. Is there something that I need to do to receive events? Also output from 'manager show events' voip*CLI manager show events Events:

Re: [asterisk-users] System() command refuses to execute bash script

2015-03-02 Thread Stefan Viljoen
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 fully and absolutely specified, there are no relative path references available.

[asterisk-users] System() command refuses to execute bash script

2015-03-02 Thread Stefan Viljoen
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

Re: [asterisk-users] System() command refuses to execute bash script

2015-03-02 Thread Tech Support
I'm surprised that you didn't have to specify the full path to the 'touch' command. When writing AGI scripts, I always do something like $touch = which( 'touch' ). I guess it's over kill. John -Original Message- From: asterisk-users-boun...@lists.digium.com

Re: [asterisk-users] System() command refuses to execute bash script

2015-03-02 Thread Kevin Larsen
asterisk-users-boun...@lists.digium.com wrote on 03/02/2015 08:27:07 AM: From: Stefan Viljoen viljo...@verishare.co.za To: asterisk-users@lists.digium.com, Date: 03/02/2015 08:27 AM Subject: [asterisk-users] System() command refuses to execute bash script How can I use System to run a

[asterisk-users] Problems with the voice quality under load

2015-03-02 Thread Mordechay Kaganer
B.H. Hello, all :-) We have a cluster of Asterisk (v. 11.9) servers that host IVR applications. The servers work behind SIP proxy (kamailio) for load balancing. All servers are in 2 processor configuration, 8-10 cores per CPU. When a particular server gets about 500 concurrent calls, the sound

Re: [asterisk-users] Problems with the voice quality under load

2015-03-02 Thread Steve Edwards
On Mon, 2 Mar 2015, Mordechay Kaganer wrote: When a particular server gets about 500 concurrent calls, the sound quality begins to degrade, the sound plays slowly and with clicks. As far as i understand, it's because asterisk is unable to send the voice stream in time i.e. the server is

Re: [asterisk-users] System() command refuses to execute bash script

2015-03-02 Thread Tzafrir Cohen
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

Re: [asterisk-users] Problems with the voice quality under load

2015-03-02 Thread Ron Wheeler
Have you done the math for the network connections? BTF and external What bit rates for the sound? What codecs? How are calls coming in - SIP - analogue Disks OK(low IO per second)? Caching working OK? CPU may not be the problem if your CPU utilization is really that low. Ron On 02/03/2015

Re: [asterisk-users] System() command refuses to execute bash script

2015-03-02 Thread Tzafrir Cohen
On Mon, Mar 02, 2015 at 11:15:26AM -0500, Tech Support wrote: I'm surprised that you didn't have to specify the full path to the 'touch' command. When writing AGI scripts, I always do something like $touch = which( 'touch' ). I guess it's over kill. John You should generally not need a path

Re: [asterisk-users] System() command refuses to execute bash script

2015-03-02 Thread Steve Edwards
On Mon, 2 Mar 2015, Tzafrir Cohen wrote: A variant on: cd `dirname $0` can help in such cases. This would yield 'the directory the script lives in' which may be read-only and is probably not where you want random files created. -- Thanks in advance,

Re: [asterisk-users] System() command refuses to execute bash script

2015-03-02 Thread Steve Edwards
Please don' top post. On Mon, 2 Mar 2015, Tech Support wrote: I'm surprised that you didn't have to specify the full path to the 'touch' command. When writing AGI scripts, I always do something like $touch = which( 'touch' ). I guess it's over kill. The AGI process inherits the environment

Re: [asterisk-users] System() command refuses to execute bash script

2015-03-02 Thread Steve Edwards
On Mon, 2 Mar 2015, Stefan Viljoen wrote: So the problem was not Asterisk or BASH or permissions, but rather that it appears that all paths in any System() script must be absolutely, not relatively, specified. Not quite. The 'base' for relative paths would be the 'cwd' (current working

Re: [asterisk-users] Problems with the voice quality under load

2015-03-02 Thread A J Stiles
On Monday 02 Mar 2015, Mordechay Kaganer wrote: When a particular server gets about 500 concurrent calls, the sound quality begins to degrade, the sound plays slowly and with clicks. As far as i understand, it's because asterisk is unable to send the voice stream in time i.e. the server is

Re: [asterisk-users] Problems with the voice quality under load

2015-03-02 Thread Mordechay Kaganer
B.H. Hi, really thanks for all the relies :-) Here's my answers: On Mon, Mar 2, 2015 at 5:56 PM, Ron Wheeler rwhee...@artifact-software.com wrote: Have you done the math for the network connections? BTF and external What bit rates for the sound? What codecs? How are calls coming in - SIP