Changeset 7322

Show
Ignore:
Timestamp:
12/18/08 01:08:41 (4 years ago)
Author:
mickecarlsson
Message:

Closes 3448 adding check for server side DND in normal paging

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.6/paging/functions.inc.php

    r7116 r7322  
    306306      $ext->add($extpaging, "_PAGE.", '', new ext_gotoif('$[ ${AMPUSER} = ${EXTEN:4} ]','skipself')); 
    307307      $ext->add($extpaging, "_PAGE.", 'AVAIL', new ext_chanisavail('${DB(DEVICE/${EXTEN:4}/dial)}', 'js')); 
     308      $ext->add($extpaging, "_PAGE.", '', new ext_gotoif('$["${DB(DND/${EXTEN:4})}" = "YES"]', 'skipself'));       
    308309      $ext->add($extpaging, "_PAGE.", 'SKIPCHECK', new ext_macro('autoanswer','${EXTEN:4}')); 
    309310      $ext->add($extpaging, "_PAGE.", '', new ext_dial('${DIAL}','${DTIME},${DOPTIONS}'));