[App_rpt-users] CT and Hang timer range

Stephen Rodgers sales at qrvc.com
Wed Jun 9 04:56:56 UTC 2010


Chuck Kraly wrote:
> What is the range (in ms) that is allowed on these timers? I am safe to
> assume 0000 to whatever? REason I am asking is to shorten the ct time and
> the over all hangtime
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> App_rpt-users mailing list
> App_rpt-users at qrvc.com
> http://qrvc.com/mailman/listinfo/app_rpt-users

Looking at the current version of app_rpt.c source, setting hangtime or althangtime to zero or  a negative  value will
force it to 1 millisecond. This is as small as it can be, but don't expect anything shorter than 100 mSec or so due to
processing overhead and latencies in asterisk.

BTW: I encourage everyone with questions such as these to at least try and see if they can get the answer by searching
the app_rpt.c code with a text editor to see if they can arrive at the answer to their question. Sometimes you can
figure it out even if you don't know much C due to comments and other clues in the source. What good is open source if
you don't take advantage of it?  All ACID and Limey Linux nodes have the source code loaded on them. The source file
app_rpt.c is located in /usr/src/asterisk/apps on these systems. You can also look at the latest version of app_rpt.c
by pointing your browser to:

http://qrvc.com/viewvc/projects/allstar/astsrc-1.4.23-pre/trunk/asterisk/apps/app_rpt.c?root=svn&view=log


Steve
WA6ZFT





More information about the App_rpt-users mailing list