Displaying 20 results from an estimated 10000 matches similar to: "php script in h context makes channel hang : solution ?"
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
2018 Jan 18
2
Handling a long-running agi on hangup-handler?
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 of the channel variables, and pass it to a python
agi script which then does speech to text.
2019 Apr 10
7
Forking AGI or GoSub
I have an AGI that can sometimes take time complete. I don't want the
dialplan to be held up by the agi. Is there any way to call it and have
Asterisk continue with the dialplan?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20190410/4c704231/attachment.html>
2013 Jun 11
1
Why does it take several seconds to interpret DTMF-input ?
Hello,
I notice that it takes 4 to 6 seconds between someone pressing a cipher
and Asterisk continuing inside the dialplan. How come ???
Taken from verbose logfile :
(attempt 1)
[Jun 11 15:29:25] DTMF[18549] channel.c: DTMF begin '1' received on
SIP/SipAgenT01-00001eb0
[Jun 11 15:29:25] DTMF[18549] channel.c: DTMF begin ignored '1' on
SIP/SipAgenT01-00001eb0
[Jun 11 15:29:25]
2016 Jan 21
4
is there some blocking in 11.21.0
>Are you saying that this worked in earlier versions but you started to
>get the delay when you updated to 11.21.0? Or just that you happened to
>be using 11.21.0 the first time you tried this scenario?
I should have said "first time" trying this.
Any thoughts?
Jerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2009 Aug 16
9
increase size for dom guest using lvm online
could we increase the size for dom guest online without rebooting or unmounting?
pls kindly advise any methods.
Yahoo!香港提供網上安全攻略,教你如何防範黑客! 請前往 http://hk.promo.yahoo.com/security/ 了解更多!
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
2003 Oct 02
7
Any way to get out of a remote console without stopping *
This probably has an easy solution, but I found it yet. How can I get out
of a remote console after using ssh to get into the box, making changes,
reload etc. without stopping *?
Thanks in advance.
Sincerely,
Andy Hester
Consero
2008 Jun 13
1
String "fwrite();" causes 503 error (Passenger or apache?)
Hi,
While testing a rails application on DreamHost (mod_rails), I found a
really weird problem.
If I submit form data which includes "fwrite();" (with semi-colon but
without quotes), I get 503 error (Server temporarily unavailable).
I checked out rails log file and it didn''t even reach the rails app.
I assume the error was from web server.
You may test this at
2006 May 10
1
Debugging with strace
We have a dovecot install that is working fine for everyone except one
user, who complains that it takes a minute or longer to delete a single
message from the INBOX to Trash. This is happening for him from
multiple IMAP clients so it appears to be server-side.
I wanted to start up a test instance of dovecot alongside the production
one and test there. So I copied dovecot.conf, put imap on
2008 Jul 22
2
screen detatch
The man page for screen says that I can create a detatched screen
running with a set command in it by doing this:
$ screen -dm $command
However, it doesn't work. Screen exits without creating the detached
screen.
If I say
$ screen $command
...I get dropped into a screen session running $command as I would
expect.
What's the magic invocation I'm missing?
Also, the next step
2005 Aug 08
1
Found solution to my PHP AGI Script problem...
Dear Moises Silva, Chris Thompson and others,
I've finally managed to find the problem with my PHP AGI script!
Apparently, my machine has 2 versions of PHP installed. One for CGI and
the other for CLI. Without knowing, to hand test my script I was
calling the CLI version (/usr/local/bin/php), whereas Asterisk was
calling the CGI version (/usr/bin/php). It turns out that my script
2019 Mar 15
0
PHP 7.x on CentOS 7 : which solution ?
Hi,
Friday, March 15, 2019, 8:51:15 AM, you wrote:
NK> As you all know, CentOS 7 is shipping PHP 5.4, which is OK in some
NK> situations. Unfortunately, some applications like OwnCloud require a
NK> more recent version of PHP.
I had the same problem a few weeks ago and decided to stick with the
webtatic repository. As our typo3 instance required 7.0, I updated
from php.5.6 to php.7.0
2019 Mar 18
0
PHP 7.x on CentOS 7 : which solution ?
On 15/03/2019 10:11, Nicolas Kovacs wrote:
> Le 15/03/2019 ? 09:29, Michael Schumacher a ?crit :
>> I had the same problem a few weeks ago and decided to stick with the
>> webtatic repository. As our typo3 instance required 7.0, I updated
>> from php.5.6 to php.7.0 by simply "yum remove php56w ..." and "yum
>> install php70w ...". Everything went
2019 Mar 15
2
PHP 7.x on CentOS 7 : which solution ?
Le 15/03/2019 ? 09:29, Michael Schumacher a ?crit :
> I had the same problem a few weeks ago and decided to stick with the
> webtatic repository. As our typo3 instance required 7.0, I updated
> from php.5.6 to php.7.0 by simply "yum remove php56w ..." and "yum
> install php70w ...". Everything went smooth and without problem.
> Before I updated, I checked if
2005 Sep 23
2
Execute php agi after channel hangup
Hi,
following I would like to implement:
1. I receive a call.
2. I hang up the call.
3. I execute a macro
I thought about using call files first... but they don't support macros, or?
Then I figured I could use php agi after I receive the call, hang up the
call with php agi and execute the macro with "exec ...".
Unfortunately, the php agi seems to die with the hangup. Does
2007 Aug 31
1
PEAR Channel and Git Repository Mirror for PHP Markdown & Extra
Until today, the only way I offered PHP Markdown and PHP Markdown
Extra was with packaged zip files available on my website. It turns
out, unsurprisingly, that some people would prefer a simpler path for
keeping their copy of PHP Markdown up-to-date.
So today I announce two additional ways of grabbing PHP Markdown and
PHP Markdown Extra. The first one is a PEAR channel which can be used
2019 Mar 15
4
PHP 7.x on CentOS 7 : which solution ?
Hi,
As you all know, CentOS 7 is shipping PHP 5.4, which is OK in some
situations. Unfortunately, some applications like OwnCloud require a
more recent version of PHP.
Up until recently, I've been using PHP 5.6 packages from the Webtatic
repository. Despite the bad press this third party repo seems to have,
it has been working perfectly for me for a few years. Here's the PHP 5.6
packages
2006 Jul 13
7
system unresponsive after issuing a zpool attach
Today I attempted to upgrade to S10_U2 and migrate some mirrored UFS SVM
partitions to ZFS.
I used Live Upgrade to migrate from U1 to U2 and that went without a
hitch on my SunBlade 2000. And the initial conversion of one side of the
UFS mirrors to a ZFS pool and subsequent data migration went fine.
However, when I attempted to attach the second side mirrors as a mirror
of the ZFS pool, all
2016 Apr 01
2
[PATCH v3 03/16] mm: add non-lru movable page support document
On 03/30/2016 09:12 AM, Minchan Kim wrote:
> This patch describes what a subsystem should do for non-lru movable
> page supporting.
Intentionally reading this first without studying the code to better catch
things that would seem obvious otherwise.
> Cc: Jonathan Corbet <corbet at lwn.net>
> Signed-off-by: Minchan Kim <minchan at kernel.org>
> ---
>
2016 Apr 01
2
[PATCH v3 03/16] mm: add non-lru movable page support document
On 03/30/2016 09:12 AM, Minchan Kim wrote:
> This patch describes what a subsystem should do for non-lru movable
> page supporting.
Intentionally reading this first without studying the code to better catch
things that would seem obvious otherwise.
> Cc: Jonathan Corbet <corbet at lwn.net>
> Signed-off-by: Minchan Kim <minchan at kernel.org>
> ---
>