[Asterisk-Users] ASTCC -- semantic note of 'callstart' in cdrs?
Eric Lyons
eric at gus.to
Fri Oct 7 16:06:59 MST 2005
Looking at the code, it would appear that the 'callstart' column of the cdrs table should really be
called 'callend':
$dialstr = "IAX2/$res->{path}/$phone|30|HL(" . ($maxtime * 60 * 1000) .
":60000:30000)";
$res = $AGI->exec("DIAL $dialstr");
$answeredtime = $AGI->get_variable("ANSWEREDTIME");
$dialstatus = $AGI->get_variable("DIALSTATUS");
$callstart = localtime();
return $dialstatus;
No?
Eric.
More information about the asterisk-users
mailing list