Changeset 11386

Show
Ignore:
Timestamp:
02/14/11 17:31:37 (2 years ago)
Author:
p_lindheimer
Message:

adds progress call to Queue No Answer mode re #4683 (may not be completely correct)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.9/queues/functions.inc.php

    r11385 r11386  
    371371          if (isset($q['qnoanswer']) && $q['qnoanswer'] == FALSE) { 
    372372            $ext->add('ext-queues', $exten, '', new ext_answer('')); 
    373           } 
     373          } else { 
     374            // TODO: should this only be set if noanswer + (!ringtones || joinannounce)??? 
     375            $ext->add('ext-queues', $exten, '', new ext_progress()); 
     376          } 
    374377 
    375378          // block voicemail until phone is answered at which point a macro should be called on the answering