I'm calling a script which needs to wait a certain time and also hold the call for this time. But the script dialplan application seems to work non blocking. Is there a way to hold the call/dialplan till the shell script is finished? same => n,Set(PUSHRESULT=${SHELL(sendpush.sh)}) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20180604/9fa78290/attachment.html>
Matt Riddell (lists)
2018-Jun-04 16:52 UTC
[asterisk-users] shell dialplan application blocking
Use AGI Kind regards, Matt> On Jun 4, 2018, at 02:28, Benjamin Marty <benjamin.marty at gmail.com> wrote: > > I'm calling a script which needs to wait a certain time and also hold the call for this time. But the script dialplan application seems to work non blocking. Is there a way to hold the call/dialplan till the shell script is finished? > > same => n,Set(PUSHRESULT=${SHELL(sendpush.sh)}) > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > Check out the new Asterisk community forum at: https://community.asterisk.org/ > > New to Asterisk? Start here: > https://wiki.asterisk.org/wiki/display/AST/Getting+Started > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20180604/c7276f8f/attachment.html>