[asterisk-users] Dial option limit call duration

Markus Weiler markus_weiler at mailworks.org
Wed Jun 10 09:42:31 CDT 2009


Hi,

we're using the limit option like this:
Dial ....L(60000:30000)


[Jun 10 16:14:41] VERBOSE[12196] logger.c: [Jun 10 16:14:41]     -- 
Limit Data for this call:
[Jun 10 16:14:41] VERBOSE[12196] logger.c: [Jun 10 16:14:41]        > 
timelimit      = 60000
[Jun 10 16:14:41] VERBOSE[12196] logger.c: [Jun 10 16:14:41]        > 
play_warning   = 30000
[Jun 10 16:14:41] VERBOSE[12196] logger.c: [Jun 10 16:14:41]        > 
play_to_caller = yes
[Jun 10 16:14:41] VERBOSE[12196] logger.c: [Jun 10 16:14:41]        > 
play_to_callee = yes
[Jun 10 16:14:41] VERBOSE[12196] logger.c: [Jun 10 16:14:41]        > 
warning_freq   = 0
[Jun 10 16:14:41] VERBOSE[12196] logger.c: [Jun 10 16:14:41]        > 
start_sound    =
[Jun 10 16:14:41] VERBOSE[12196] logger.c: [Jun 10 16:14:41]        > 
warning_sound  = timeleft
[Jun 10 16:14:41] VERBOSE[12196] logger.c: [Jun 10 16:14:41]        > 
end_sound      =
[Jun 10 16:14:41] VERBOSE[12196] logger.c: [Jun 10 16:14:41]   == Using 
SIP RTP CoS mark 5

but the warning is played to late it used to be exactly
"you have 30 seconds left" but now its

[Jun 10 16:15:20] VERBOSE[12201] logger.c: [Jun 10 16:15:20]     -- 
<SIP/OB-0847a3c8> Playing 'vm-youhave.gsm' (language 'de')
[Jun 10 16:15:21] WARNING[12201] file.c: File digits/8-and does not 
exist in any format
[Jun 10 16:15:21] WARNING[12201] file.c: Unable to open digits/8-and 
(format 0x4 (ulaw)): No such file or directory
[Jun 10 16:15:21] VERBOSE[12201] logger.c: [Jun 10 16:15:21]     -- 
<SIP/OB-0847a3c8> Playing 'digits/20.gsm' (language 'de')
[Jun 10 16:15:23] VERBOSE[12201] logger.c: [Jun 10 16:15:23]     -- 
<SIP/OB-0847a3c8> Playing 'queue-seconds.gsm' (language 'de')

please ignore the "File digits/8-and does not exist in any format". Taht 
is not the problem.

Why is the message two seconds too late. 28 sec instead of 30 secs??

thanks

Markus






More information about the asterisk-users mailing list