On 16 April 2010 02:53, Jared Smith <[email protected]> wrote:
>
> You'll need to play around with variable inheritance to get it set right.  If 
> you define a variable with a single underscore (_TRANSFER_CONTEXT in my 
> example), it'll get inherited by the next spawned channel, but go no further. 
>  If you define a variable with two underscores (say, __TRANSFER_CONTEXT), 
> then it will get inherited by the next spawned channel, and any channels 
> spawned by that channel, and so forth.  Obviously defining it without any 
> underscores at all means it won't get inherited by spawned channels.
>

Excellent - Thanks Jared. This will save a lot of effort :)

Regards,
Steve

-- 
_____________________________________________________________________
-- 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