That worked. I had to use the *two* underscores in the agi script where I was 
setting the values. Thanks.

Thanks,
Scott Haley





If you are not the intended recipient of this message (including attachments), 
or if you have received this message in error,  immediately notify us and 
delete it and any attachments.

If you do not wish to receive any email messages from us, excluding 
administrative communications, please email this request to 
[email protected] along with the email address you wish to unsubscribe.

For important additional information related to this email, visit 
www.edwardjones.com/US_email_disclosure. Edward
D. Jones & Co., L.P. d/b/a Edward Jones, 12555 Manchester Road, St. Louis, MO 
63131 © Edward Jones. All rights reserved.


-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of A J Stiles
Sent: Friday, July 18, 2014 9:15 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Simultaneous Ring

On Friday 18 Jul 2014, Haley,Scott A wrote:
> I have this working but I have one problem. I need to grab values from
> variables that I have set in the calling context to dial. How would I
> do that.

I think you need to prefix your variable names with *two* underscores, to make 
them indefinitely heritable down the succession of channels.  If they are 
prefixed with a single underscore, then they only get inherited *once*; so if 
the child channel spawns a grandchild, then any _VARS it inherited from the 
parent channel won't exist in the grandchild, but any __VARS will.

--
AJS

Note:  Originating address only accepts e-mail from list!  If replying off-
list, change address to asterisk1list at earthshod dot co dot uk .

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