mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
Adds DAHDI support alongside Zaptel. DAHDI usage favored, but all Zap stuff should continue working. Release announcement to follow.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@122314 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1565,9 +1565,8 @@ static int say_position(struct queue_ent *qe)
|
||||
|
||||
/* If the hold time is >1 min, if it's enabled, and if it's not
|
||||
supposed to be only once and we have already said it, say it */
|
||||
if ((avgholdmins+avgholdsecs) > 0 && qe->parent->announceholdtime &&
|
||||
((qe->parent->announceholdtime == ANNOUNCEHOLDTIME_ONCE && !qe->last_pos) ||
|
||||
!(qe->parent->announceholdtime == ANNOUNCEHOLDTIME_ONCE))) {
|
||||
if ((avgholdmins+avgholdsecs) > 0 && (qe->parent->announceholdtime) &&
|
||||
(!(qe->parent->announceholdtime == ANNOUNCEHOLDTIME_ONCE) && qe->last_pos)) {
|
||||
res = play_file(qe->chan, qe->parent->sound_holdtime);
|
||||
if (res)
|
||||
goto playout;
|
||||
|
Reference in New Issue
Block a user