[asterisk-users] DeadAgi Application in asterisk 1.6

Philipp Kempgen philipp.kempgen at amooma.de
Thu Feb 19 09:35:35 CST 2009


Max Alex schrieb:
> I have configured the phpagi application for counting the duration of call,
> The call is originated from the script and after hangup the call the
> duration and status will be stored.
> This functionality and php script is working fine with deadagi application
> with asterisk 1.4.
> I have a problem with asterisk 1.6 deadagi application, when the call is
> hangup at that time the script is exited and no duration and status will be
> counted, So please provide help regarding this deadagi application in
> asterisk 1.6 branch,

You need to block some signals (HUP? INT? PIPE? TERM? QUIT :-) in
your script.
http://www.php.net/manual/en/function.pcntl-signal.php
http://www.php.net/manual/en/function.pcntl-sigprocmask.php


    Philipp Kempgen
-- 
AMOOCON 2009, May 4-5, Rostock / Germany   ->  http://www.amoocon.de
Asterisk: http://the-asterisk-book.com - http://das-asterisk-buch.de
AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied  ->  http://www.amooma.de
Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998
-- 



More information about the asterisk-users mailing list