Changeset 3177

Show
Ignore:
Timestamp:
11/24/06 03:44:40 (7 years ago)
Author:
p_lindheimer
Message:

if followme/ringgroup is called with NODEST set then don't answer the line and play the announcement

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.2/findmefollow/functions.inc.php

    r3168 r3177  
    9393          if ((isset($annmsg) ? $annmsg : '') != '') { 
    9494            // should always answer before playing anything, shouldn't we ? 
    95             $ext->add($contextname, $grpnum, '', new ext_gotoif('$["${DIALSTATUS}" = "ANSWER"]','DIALGRP'));       
     95            $ext->add($contextname, $grpnum, '', new ext_gotoif('$[$["${DIALSTATUS}" = "ANSWER"] | $["foo${RRNODEST}" != "foo"]]','DIALGRP'));       
    9696            $ext->add($contextname, $grpnum, '', new ext_answer('')); 
    9797            $ext->add($contextname, $grpnum, '', new ext_wait(1)); 
  • modules/branches/2.2/ringgroups/functions.inc.php

    r3173 r3177  
    8888          $ext->add($contextname, $grpnum, '', new ext_setvar('RingGroupMethod',$strategy)); 
    8989          if ($annmsg != '') { 
     90            $ext->add($contextname, $grpnum, '', new ext_gotoif('$["foo${RRNODEST}" != "foo"]','DIALGRP'));      
    9091            $ext->add($contextname, $grpnum, '', new ext_answer('')); 
    9192            $ext->add($contextname, $grpnum, '', new ext_wait(1));