[asterisk-users] Error saving cdr at h exten in Asterisk13

Alonso Genis alonso at planetfone.com.br
Fri Nov 21 04:37:50 CST 2014



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

> 



More information about the asterisk-users mailing list