I would vote for system() on two accounts. #1 AGI requires more overhead
and protocol #2 you are not expecting a result to return to the dialplan.
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Jonas Kellens
Sent: Wednesday, January 23, 2013 4:10 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] Execute a script outside Asterisk
Hello,
at certain time inside my dialplan I would like to have an external php
script executed. Asterisk should not wait for the end of the execution to
continue with the rest of the dialplan. It should just start the execution
of the php script (which inserts an entry into a remote mysql-DB).
What is the best way to work ?
- with AGI inside the dialplan ?
- with the system()-command inside the dialplan ?
Kind regards,
Jonas.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.digium.com/pipermail/asterisk-users/attachments/20130123/f4fab69c/attachment.htm>