Displaying 1 result from an estimated 1 matches for "wait_a_bit".
2010 Apr 26
2
[PATCH] Make Queue announcements more consistent (1.4.26.2)
...gt;pos;
@@ -2131,6 +2133,8 @@
if (!res)
ast_moh_start(qe->chan, qe->moh, NULL);
+ /* Refresh now so that frequency is time _between_ recordings */
+ time(&now);
/* update last_periodic_announce_time */
qe->last_periodic_announce_time = now;
@@ -3292,7 +3296,8 @@
static int wait_a_bit(struct queue_ent *qe)
{
/* Don't need to hold the lock while we setup the outgoing calls */
- int retrywait = qe->parent->retry * 1000;
+ //int retrywait = qe->parent->retry * 1000;
+ int retrywait = RECHECK * 1000;
int res = ast_waitfordigit(qe->chan, retrywait);
if (res...