[asterisk-users] Storing a variable at a context and using it in another context

Sammy Govind govoiper at gmail.com
Mon Oct 24 04:50:19 CDT 2011


Try using variables between macros and contexts without doing anything. It
works fine for me in asterisk 1.6.13+. If not then use _ before variable
name.

On Mon, Oct 24, 2011 at 2:46 PM, bilal ghayyad <bilmar_gh at yahoo.com> wrote:

> Hi All;
>
> Is it possible to store a variable at context and using it in another
> context or in the MACRO? For example, how I can store the ${CALLERID(num)}
> in a variable and use it in another context or in a MACRO?
>
> Regards
> Bilal
>
> --
> _____________________________________________________________________
> -- 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20111024/f745d107/attachment.htm>


More information about the asterisk-users mailing list