while setting up accountcode value try two underscores just before variable name like '__accountcode'
for more google for "Inheritance of Channel Variables" On Tue, Jul 20, 2010 at 5:05 PM, Chris Bagnall <[email protected]>wrote: > Greetings list, > > Whilst running through a routine check of some CDRs, I've noticed that the > originating channel's accountcode isn't preserved on creating a local > channel. For example, if we start with: > > exten => 123,1,Set(CDR(accountcode)=foo) > exten => 123,n,Queue(bar,nrtw,,,) > > And the queue 'bar' is defined as follows: > > [bar] > member => Local/4...@outbound > member => Local/5...@outbound > member => Local/5...@outbound > > The 'accountcode' field is empty in the CDRs, even if I add /n to the queue > members. > > So, a couple of quick questions if I may: > > 1) Is this behaviour expected? > > 2) How would one go about the above scenario whilst preserving the > 'accountcode' field? > > Thanks in advance! > > Regards, > > Chris > > -- > _____________________________________________________________________ > -- 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 > -- Nasir Iqbal ICT Innovations http://www.ictinnovations.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
