Hi All, 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, Please help me regarding this!! Thanks in Advance!!! Thanks, Max Alex Voip Developer -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090219/a352d1ab/attachment.htm
Philipp Kempgen
2009-Feb-19 15:35 UTC
[asterisk-users] DeadAgi Application in asterisk 1.6
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 --