; Normally, CDR's are not closed out until after all extensions are finished
; executing. By enabling this option, the CDR will be ended before executing
; the "h" extension so that CDR values such as "end" and "billsec" may be
; retrieved inside of of this extension.
;endbeforehexten=no
Lo tendrás que mirar en la extensión h...
--
Saúl -- "Nunca subestimes el ancho de banda de un camión lleno de disketes."
----------------------------------------------------------------
http://www.saghul.net/
Has intentado con el answeredtime
$duracionllamada = $agi->get_variable("ANSWEREDTIME");
Saludos!
--
Rodrigo Ramírez Norambuena
http://decipher.blackhole.cl
[test]
exten => s,1,AGI(mikosa.php)
exten => h,1,AGI(lalala.php)
y en el segundo AGI accedes a la variable y haces lo que quieras...