Asterisk (after 1.4?) sends the AGI a HUP when the call hangs up.
Try setting your script to ignore the HUP signal and make it fork and go
into the background so Asterisk thinks the process has completed.
In PHP ignore HUP:
pcntl_signal(SIGHUP, SIG_IGN);
In PHP fork and become a short
I know that hangup handlers (
https://wiki.asterisk.org/wiki/display/AST/Hangup+Handlers) have to finish
quickly.
So it's no surprise that my speech to text agi which takes 8 seconds gets
killed.
However, can anyone think of a way round this? So, once the caller has hung
up, I need to take one
> >> If you can provide details, even vague ones, about how you did it, I
> >> can update the WMM package.
> >
> > See http://asterisk.gnat.com/meetme.tgz
> >
> > That's a gzipped tar of our working directory plus the relevant parts of
> > extensions.conf. I xxx'ed out phone numbers and Google
Hi,
> On 17 Oct 2017, at 18:30, Richard Kenner wrote:
>
>> If you can provide details, even vague ones, about how you did it, I
>> can update the WMM package.
>
> See http://asterisk.gnat.com/meetme.tgz
>
> That's a gzipped tar of our working directory plus the relevant