[asterisk-users] BADTIME FOR ANSWEREDTIME
Danny Nicholas
danny at debsinc.com
Mon May 3 08:32:39 CDT 2010
The values for ANSWEREDTIME are set in apps/app_followme.c and
apps/app_dial.c . The values are set in seconds, so if you're looking to
set nearest minute you'll just need to change the sprintf from %1d (1
decimal point x.x) to %0d (x).
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of François
BERGANZ
Sent: Monday, May 03, 2010 8:19 AM
To: asterisk-users at lists.digium.com
Subject: [asterisk-users] BADTIME FOR ANSWEREDTIME
Hello,
I saw that Asterisk don't calcultate fine the ANSWEREDTIME.
I want that when ANSWEREDTIME =~ 5.6 become 6 and if =~10.3 become 10
because, now, if ANSEREDTIME =~ 15.9, it become 15! it isn't correct
How can I have a rounded ANSWEREDTIME ?
Where have I to manipulate the sources?
thank you
--
Francois
More information about the asterisk-users
mailing list