[Asterisk-Users] Inheriting variables

Asterisk asterisk at dotr.com
Thu Feb 24 09:05:33 MST 2005


Hmm. I'm running

Asterisk CVS-HEAD-02/16/05-07:03:04

I'll look into the bug list.

Julian.

Peter Svensson wrote:
> On Thu, 24 Feb 2005, Asterisk wrote:
> 
> 
>>>>I'm trying to set a channel variable and make it available to another
>>>>channel:
>>>>
>>>>I thought that if I SetVar(_SomeVariable=SomeValue) or
>>>>SetVar(__SomeVariable=SomeValue) then SomeVariable would be available in
>>>>the destination channel.
>>>>
>>>>However __SomeVariable, _SomeVariable and SomeVariable are all blank.
>>>>
>>>>The scenario:
>>>>
>>>>Agents logon to the queue using callbacklogin. From what I can gather
>>>>the following happens:
>>>>
>>>>1) Incomming Call -> answered, plays welcome message added to Q
>>>>2) Local channel calls the agent, plays announcement
>>>>3) incomming call connected to agent
>>>>
>>>>where would I be able to retreive the inherited variables ?
> 
> 
> Perhaps there is a problem with variable inheritance across a queue? It 
> should work the way to expected it to (passing the _SomeVariable into 
> SomeVariable).
> 
> Peter
> 
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> 




More information about the asterisk-users mailing list