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
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to