On Fri, May 11, 2012 at 8:31 AM, Matthew Jordan <[email protected]> wrote:
> > In your particular case, if I were writing a system that wanted to > associate > a created channel with an Originate Action, after I issue the Originate, > I'd listen for a NewChannel event. If that NewChannel event specified a > channel that was created in the context I specified and with a > technology/extension that I specified, I'd set that as the channel I just > asked to be created. From there on, subsequent events (VarSet, NewExten, > Hangup, etc.) that are associated with that channel will contain a Channel: > header with that value. > > Isn't that likely to cause race issues if for instance he Originates 30 calls all at the same time? I would think a better approach would be to set a unique channel variable for each originated call and track based on that? -- Thanks, --Warren Selby, dCAP http://www.SelbyTech.com <http://www.selbytech.com>
-- _____________________________________________________________________ -- 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
