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
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@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/app... Steve WA6ZFT
participants (2)
-
Chuck Kraly -
Stephen Rodgers