Hi all, I need some advice to know how to handle event in a PHP agi. do you have an exemple of how to it ?
more over I need some advices. currently I have the following SW architecture someone send a URL to call someone a PHP script (script 1) is launch and in its I configure Astmanager in order to make an originating call then my script stop running and Asterisk continue processing the call in an extension when hangup occurs I execute another AGI script (script 2). my concerns is that scipt 2 need same parameters, and mySQL connexions that I script 1 so at the end of the script 1 the mySQL connection is closed and I need to pass many parameters to script 2 through asterisk so my idea is to use AGI commands in script 1, and then not use the extension on the asterisk server. but I have one question if the call duration is hours then the connection to Astmanager will closed ? what's the timeout value for Astmanager ? the other solution is to use AGI session but I don't know how it works, and I don't don't know if my mySQL connection will still being up Do you have an other solution to keep mySQL connection UP and not passing several through asterisk ? Thanks a lot for your help regards Mickael
_______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users