> > If you are setting the userfield in the 'h' extension, then this is > what I would expect. CDRs are finalized when the path of communication > between channels is finished; altering the data after that point > updates the next CDR for that channel. It isn't retroactive. > > The 'h' extension is special in that 'endbeforehexten' explicitly > ignores updates in 'h' extension. If you disable 'endbeforehexten', > then you will get a CDR for the channel while it updates the hangup > logic - but again, modifications occur on that CDR, not on previous > ones. > > If you want the CDR for the channel prior to the 'h' extension to have > a userfield entry, you have to apply it before the channel hangs up.
I see. Thank you for your answer. Alonso. > -- _____________________________________________________________________ -- 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
