Re: [asterisk-users] asterisk ari dialer

2017-06-30 Thread marek cervenka
my use case is for performace testing scenario asterisk14 - sip - tested asterisk - sip - clients (asterisk 14) i have working ari push configuration now i want create a call where call leg A will be some media file. call leg B will be channel to tested asterisk i dont have an incoming

[asterisk-users] Asterisk sip_autodestruct messages - extensions locked

2017-06-30 Thread Stefan Viljoen
Hi guys Does anybody have any opinion on what causes tens of thousands of these messages per hour to pop up in the CLI: [Jun 30 14:24:59] WARNING[2209]: chan_sip.c:4057 __sip_autodestruct: Autodestruct on dialog '7e9597ae6ce95fef23374f4b380a9b70@192.168.0.1:5060' with owner

Re: [asterisk-users] Asterisk sip_autodestruct messages - extensions locked

2017-06-30 Thread Steve Davies
Based on the line number of that error in chan_sip.c, it looks like you're running Asterisk 1.8 or earlier. AFAIK, The issue you are seeing was fixed years ago, but not THAT many years ago! If I'm right, you should upgrade to fix that issue. Cheers, Steve On Fri, 30 Jun 2017 at 13:39 Stefan

Re: [asterisk-users] asterisk.conf ignored?

2017-06-30 Thread Marcelo Terres
You should try to limit it in your sip trunks (is you are using SIP trunks, of course) Marcelo H. Terres IM: mhter...@jabber.mundoopensource.com.br https://www.mundoopensource.com.br https://twitter.com/mhterres https://linkedin.com/in/marceloterres On 30 June 2017 at 15:41,

[asterisk-users] Simplest way of executing a non-blocking (async) python AGI script?

2017-06-30 Thread Jonathan H
I use a python AGI which pulls some info from a web service, which should take half a second. Sometimes, it takes 5-10 seconds which blocks the dialplan execution, but the dialplan should continue immediately as it's not dependent on the AGI/web service data. What's the simplest, easiest

Re: [asterisk-users] Simplest way of executing a non-blocking (async) python AGI script?

2017-06-30 Thread Antony Stone
On Friday 30 June 2017 at 19:11:08, Jonathan H wrote: > I use a python AGI which pulls some info from a web service, which should > take half a second. > > Sometimes, it takes 5-10 seconds which blocks the dialplan execution, but > the dialplan should continue immediately as it's not dependent

Re: [asterisk-users] Simplest way of executing a non-blocking (async) python AGI script?

2017-06-30 Thread J Montoya or A J Stiles
On Friday 30 Jun 2017, Jonathan H wrote: > What's the simplest, easiest quickest least-code way of firing off an AGI > with some variable, and then returning to the dialplan? You have to use the "fork" command. This starts a copy of the process with all the same internal state including

Re: [asterisk-users] Simplest way of executing a non-blocking (async) python AGI script?

2017-06-30 Thread Jonathan H
OK, I give up and come grovelling, "Fork" was suggested at 18:23, it's now 22:20 and I have been through 4 different methods, all block with a 2 second delay before returning to dialplan. Here are just some of the examples I have tried, as as per the suggestions, I am closing all possible outputs

Re: [asterisk-users] Simplest way of executing a non-blocking (async) python AGI script?

2017-06-30 Thread Marcelo Terres
Take a look on that: https://issues.asterisk.org/jira/browse/ASTERISK-20532 Regards, Marcelo H. Terres IM: mhter...@jabber.mundoopensource.com.br https://www.mundoopensource.com.br https://twitter.com/mhterres https://linkedin.com/in/marceloterres On 30 June 2017 at 22:23,

[asterisk-users] asterisk.conf ignored?

2017-06-30 Thread Stefan Viljoen
Hi all I'm trying to limit the maximum concurrent calls on my Asterisk to try and mitigate another problem I posted about earlier. I've edited /etc/asterisk/asterisk.conf And uncommented this line, and put a value of 60 in there: maxcalls = 60 in an effort to limit my

Re: [asterisk-users] asterisk.conf ignored?

2017-06-30 Thread Marcelo Terres
This limit is only valid for inbound calls: Sets a maximum number of simultaneous inbound channels. No limit is set by default. Marcelo H. Terres IM: mhter...@jabber.mundoopensource.com.br https://www.mundoopensource.com.br https://twitter.com/mhterres