Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] How to perform some tasks after the CDR has been closed?


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
gonvaled at gonvaled.com
Guest





PostPosted: Thu Feb 26, 2015 6:58 am    Post subject: [asterisk-users] How to perform some tasks after the CDR has Reply with quote

Hi,


I would like to do some tasks after the CDR has been closed, and the CDR(end), CDR(billsec) and CDR(duration) fields are available. I have tried to do that on the h extension, but it seems the CDR is not yet complete in the h extension.


When is the CDR closed? How can I trigger some actions after that event?


It would be nice if the channel is still available, since I need access to other channel variables. An alternative would be to pass those variables via the CDR if the channel has been deleted.


Thanks,
Daniel Gonzalez
Back to top
ish at pack-net.co.uk
Guest





PostPosted: Thu Feb 26, 2015 7:03 am    Post subject: [asterisk-users] How to perform some tasks after the CDR has Reply with quote

On 26 February 2015 at 11:57, Daniel Gonzalez <gonvaled@gonvaled.com (gonvaled@gonvaled.com)> wrote:
Quote:
Hi,


I would like to do some tasks after the CDR has been closed, and the CDR(end), CDR(billsec) and CDR(duration) fields are available. I have tried to do that on the h extension, but it seems the CDR is not yet complete in the h extension.


When is the CDR closed? How can I trigger some actions after that event?


It would be nice if the channel is still available, since I need access to other channel variables. An alternative would be to pass those variables via the CDR if the channel has been deleted.


Thanks,
Daniel Gonzalez


--
_____________________________________________________________________



Have you set


endbeforehexten=yes


in your cdr.conf ? 




--
Quote:
Ishfaq Malik
Department: VOIP Support
Company: Packnet Limited
t: +44 (0)845 004 4994
f: +44 (0)161 660 9825
e: ish@pack-net.co.uk (ish@pack-net.co.uk)
w: http://www.pack-net.co.uk

Registered Address: PACKNET LIMITED, Duplex 2, Ducie House
37 Ducie Street
Manchester, M1 2JW
COMPANY REG NO. 04920552
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services