Changeset 7687

Show
Ignore:
Timestamp:
05/07/09 19:08:12 (4 years ago)
Author:
p_lindheimer
Message:

fixes #3664 reset CWIGNORE before going to destination, also CFIGNORE reset to from-internal in ringgroups and this fix is also being applied to ringgroups

Files:

Legend:

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

    r7627 r7687  
    341341          // 
    342342          $ext->add('ext-queues', $exten, '', new ext_setvar('__NODEST', '')); 
     343          if ($q['cwignore']) { 
     344            $ext->add('ext-queues', $exten, '', new ext_setvar('__CWIGNORE', ''));  
     345          } 
    343346   
    344347          // destination field in 'incoming' database is backwards from what ext_goto expects 
  • modules/branches/2.5/queues/module.xml

    r7657 r7687  
    22  <rawname>queues</rawname> 
    33  <name>Queues</name> 
    4   <version>2.5.4.7</version> 
     4  <version>2.5.4.8</version> 
    55  <type>setup</type> 
    66  <category>Inbound Call Control</category> 
     
    99  </description> 
    1010  <changelog> 
     11    *2.5.4.8* #3664 
    1112    *2.5.4.7* #3618, localization udpates 
    1213    *2.5.4.6* localization updates 
  • modules/branches/2.5/ringgroups/functions.inc.php

    r7477 r7687  
    173173          // 
    174174          $ext->add($contextname, $grpnum, '', new ext_gotoif('$["foo${RRNODEST}" != "foo"]', 'nodest')); 
     175          if ($cwignore != '') { 
     176            $ext->add($contextname, $grpnum, '', new ext_setvar('__CWIGNORE', '')); 
     177          } 
     178          // TODO: Asterisk uses a blank FORWARD_CONTEXT as a literal at the time of this change. A better solution would be 
     179          //       if it would ignore blank, since it is possible in a customcontext setup you would not want this set to 
     180          //       from-internal 
     181          // 
     182          if ($cfignore != '') { 
     183            $ext->add($contextname, $grpnum, '', new ext_setvar('_CFIGNORE', '')); 
     184            $ext->add($contextname, $grpnum, '', new ext_setvar('_FORWARD_CONTEXT', 'from-internal')); 
     185          } 
    175186          $ext->add($contextname, $grpnum, '', new ext_setvar('__NODEST', '')); 
    176187 
  • modules/branches/2.5/ringgroups/module.xml

    r7533 r7687  
    22  <rawname>ringgroups</rawname> 
    33  <name>Ring Groups</name> 
    4   <version>2.5.1.8</version> 
     4  <version>2.5.1.9</version> 
    55  <type>setup</type> 
    66  <category>Inbound Call Control</category> 
     
    99  </description> 
    1010  <changelog> 
     11    *2.5.1.9* #3664 
    1112    *2.5.1.8* #3580, localization updates 
    1213    *2.5.1.7* #3380, localization updates