On 26 February 2015 at 11:57, Daniel Gonzalez gonva...@gonvaled.com wrote:
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 ?
--
Ishfaq Malik
Department: VOIP Support
Company: Packnet Limited
t: +44 (0)845 004 4994
f: +44 (0)161 660 9825
e: i...@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
--
_
-- 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