Displaying 20 results from an estimated 1000 matches similar to: "AGI timeout option"
2018 Sep 14
2
AGI timeout option
I don't know AGIspeedy, but I have some PHP scripts where I set a
connect timeout using streams.
Example using https, but should be easily adaptable to non-s http.:
$pbxsh_bin = @file_get_contents("https://blah.blah.blah", FALSE,
@stream_context_create(array('https' => array('timeout' => 5,
"verify_peer"=>false,
2018 Sep 18
2
AGI timeout option
Please can i ask you i want to know which code can help me to provide the
taxation of voip/toip services in asterisk
Le mar. 18 sept. 2018 à 01:36, Patrick Wakano <pwakano at gmail.com> a écrit :
> Thanks everyone for the answers!
> I did explored some options at the PHP level and probably will do
> something in this direction, but in fact what I was really looking was
>
2019 Sep 20
4
Load issues using AGI
Hi all,
we have just upgraded from Asterisk 11 to Asterisk 16.
After porting all the config to 16 we figured out some major load problems.
the majority running of our Asterisk instances is still having Asterisk 11
so we can compare load handling on both versions.
On the same hardware configuration we see load differences that Asterisk 16
takes four times the load as Asterisk 11 (on 11 we see
2005 Mar 07
2
Question about AGI vs. FastAGI vs. straight C/DB development
Folks,
I want to build a custom IVR for my setup. I've got it
working (well, the bells and whistles are not there
yet, but the basic stuff works) using AGI, but I'm
worried about how well this will scale.
I've seen references to FastAGI, and presumably this
will be more efficient.
Question, though: how well do either of these (AGI or
FastAGI) scale if my system is handling a large
2013 Jan 29
1
Fast AGI library/support for C & C++
Dear All,
Is there anyone who is having FastAGI support for C & C++?
We do have FastAGI working for the JAVA and rest of the language / script.
But I am unable to find FastAGI for C/C++.
Please let us know how to write FastAGI using C/C++.
Thanks in Advance,
Kashyap
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Feb 14
5
Multiple AGI Issues
I've got several issues with AGI/FastAGI
1. When an AGI script sends a command to Asterisk via stdin, why does Asterisk block and not return a result until the command is complete? Specifically, the dial command. If I send a Dial command to Asterisk, I don't get a return result until AFTER the call is HUNG UP. Not when it's ringing, not when the call is connected, but when it's
2019 Apr 19
2
Forking AGI or GoSub
In PHP something like:
$pid = pcntl_fork();
if ($pid != 0) {
// we are the parent
// do parent stuff
exit;
}
// we are the child, detatch from terminal
$sid = posix_setsid();
if ($sid < 0) {
die;
}
// do child stuff
On 04/19/2019 02:00 PM, Mark Wiater wrote:
> On 4/19/2019 1:49 PM, Dovid Bender wrote:
>> Mark,
>>
>> I am using PHP agi and when forking
2005 Aug 18
4
Which AGI Development Software is fastest on Asterisk?
I'm looking to develop some custom AGI that will be MySQL intensive. It
appears Asterisk supports many different development environments. Which
would be best suited for Asterisk and MySQL?
Bart
2010 Apr 16
7
AGI, FASTAGI or Windows Voice Server
Hello!
I have developed an IVR using AGI and so far it works great. I'm using Cepstral voices, but now want to use the voices from AT & T that are on a Windows server to be heard best. With cepstral what I do is to generate audio files from shipping and this text I reproduce this method it has worked very well.
Now, try to do the same by creating the audio file in windows with the
2009 Jul 23
1
odd behaviour with AGI and dial agent
Hi,
I have come across an odd problem.
Basically I am transferring a call to an agent. The agent is logged in
and set as paused.
In order to find which agent to call I am using a fastagi script to just
set a variable.
When it falls through the agi script and dials the agent (using the
variable) it doesn't connect the call properly to the agent. I get the
beep but no audio (along with
2007 Jun 07
4
agi with java?
Hi all -
Searching for java agi in the mailing list archives turns up ancient posts.
Anyone else using java for their AGI? How well is it working &
what are you using?
My script is pretty simple, and I could write it with perl easy
enough, but I just would feel better if I can keep most programming
code for our system in java.
Thank you-
Matt
2017 Jun 30
3
Simplest way of executing a non-blocking (async) python AGI script?
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 quickest least-code way of firing off an AGI
with some variable, and then returning to the dialplan?
2006 Feb 13
2
Terminating AGI Scripts
I've noticed that Asterisk AGI scripts don't terminate when a call is answered. Does anyone know how to do this? I would think that this would be a very big problem, if the scripts stayed in memory, doing nothing, until the call terminates.
Not only do you have to have a process for routing each call, but all the previous calls, that are still in progress, also have scripts running. It
2006 Jan 25
3
Fast AGI Options. Eeeek!
Some questions regarding calling Fast AGI from the dial plan.
Considering that the server side of the Fast AGI has to be able to a) use threading and b) connect to MySQL, this causes some serious limitations. I'm not a C programmer, so development options are either perl or python.
It appears that the perl DBI isn't thread safe, so that rules out Perl. Python's database interfaces
2016 Jun 17
3
tlsv1 alert unknown ca: SSL alert number 48
I have tried all the suggestions up till now but the error message is still
there.
I have tried this configuaration for roundcube:
$config['imap_conn_options'] = array(
'ssl' => array(
'peer_name' => '<FQDN_OF_DOVECOT_CERTIFICATE>',
'verify_peer' => true,
'verify_depth' => 3,
// 'cafile' =>
2018 Feb 21
2
Asterisk crash on core show channel
Thanks for you answer Marcus,
So maybe this means some bug was fixed? Anyone aware of something related?
>From the release notes, I couldn't find any direct change that could fix
this....
Thanks,
Kind regards,
Patrick Wakano
On 21 February 2018 at 20:29, Marcus Kvarsell <Marcus.Kvarsell at fogwise.se>
wrote:
> Hello, i found upgrading to asterisk 15 helped.
>
>
>
>
2011 Nov 21
2
Continue AGI after Dial() following caller hang up?
Hello,
We would like to continue a Perl AGI after a Dial() it has done completes
following caller hangup. We would like to do this in the same AGI, and not
using a new AGI from the 'h' extension. It works fine when the called party
hangs up and the 'g' option is used, but not for caller hangup.
Is this possible?
If not a confirmation that this is the case would be very helpful.
2006 Jun 20
1
AGI: Dial and Recording my own CDR
Hi folks --
I have a FastAGI Perl script running, handling calls. It works great.
At one point I have a Dial() command. If the called party hangs up, Dial()
returns 0, and when I call my own recordCdr() function using the channel
variables ANSWEREDTIME, DIALEDTIME and DIALSTATUS, everything is fine.
However, if the called party picks up, and then the dialing party hangs up
Dial() returns -1,
2018 Mar 14
2
DIALSTATUS vs HANGUPCAUSE
Hello list,
Hope all doing well!
I've been checking some cases when a Dial fails and dialplan execution
continues to handle this. I am finding it a little confusing how we should
handle the DIALSTATUS and the HANGUPCAUSE in this situation....
More specifically, I am facing a case in version 13.6.0 where I am getting
a DIALSTATUS=BUSY and HANGUPCAUSE=19 after receiving a 480 SIP error. Seems
2018 Jul 05
3
MixMonitor and ChanSpy whisper
Hello Asterisk list,
Hope you are all doing well!
We are using the MixMonitor application to record the calls and under some
situations the call can be spied using ChanSpy with whisper enabled.
Sometimes the spying channel is a person who can interact in the call, and
some other times it is a sound file playing a message. The problem is that
for some reason the MixMonitor does not record whatever