[asterisk-users] Asterisk dialplan macro output

ISABEL ORDAS ARNAL ioa at tid.es
Fri Oct 21 06:54:13 CDT 2011


Hi all,

Is there a way to read in the dialplan a macro output parameter?
For instance, in the following macro I would like to know the pid of the Linux process for killing it when hanging up.

[macro-capture]
exten => s,1,NoOp(Caller IP = ${ARG1})
exten => s,n,NoOp(Filename = ${ARG2})
exten => s,n,Set(pid=${SHELL(bash -c /usr/local/CallMonitoring/launch-tshark.sh ${ARG1} ${ARG2})})

Thank you!

Isabel

________________________________
Este mensaje se dirige exclusivamente a su destinatario. Puede consultar nuestra pol?tica de env?o y recepci?n de correo electr?nico en el enlace situado m?s abajo.
This message is intended exclusively for its addressee. We only send and receive email on the basis of the terms set out at.
http://www.tid.es/ES/PAGINAS/disclaimer.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20111021/5830c2d7/attachment.htm>


More information about the asterisk-users mailing list