[asterisk-users] Asterisk dialplan macro output

Warren Selby wcselby at selbytech.com
Fri Oct 21 12:08:40 CDT 2011


On Fri, Oct 21, 2011 at 6:54 AM, ISABEL ORDAS ARNAL <ioa at tid.es> wrote:

>  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. ****
>
>

I think what you're looking for is a GoSub that ends with a Return(value).
You then can pull up the value in ${GOSUB_RETVAL}.  But I may be
misunderstanding what you're wanting to do.

-- 
Thanks,
--Warren Selby, dCAP
http://www.SelbyTech.com <http://www.selbytech.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20111021/1c0c221d/attachment.htm>


More information about the asterisk-users mailing list