Keep AGI alive on script restart

Hi all,

Currently we are using a “middleware” as AGI-server to communicate between our backend and asterisk.

Upon middleware restart, we all calls will terminate (except for those bridged or waiting in a queue).

Is there any way to force asterisk not to proceed to next dialplan action on agi disconnect? So we have a chance to reconnect?

Any help would be appreciated.

If you used FastAGI connections, your FastAGI server could fork a child to preserve references to the socket connections, and then the child could pass these references back to the newly-restarted server process.

Just an idea.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.