[asterisk-users] Transfer_CONTEXT behaviour
Steve Davies
davies147 at gmail.com
Fri Apr 16 04:47:39 CDT 2010
On 16 April 2010 02:53, Jared Smith <jsmith at digium.com> 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
More information about the asterisk-users
mailing list