Changeset 7340

Show
Ignore:
Timestamp:
12/30/08 14:22:14 (2 years ago)
Author:
mickecarlsson
Message:

Closes #3448 finally fixes the DND in paging. Thank you jjshoe

Files:

Legend:

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

    r7322 r7340  
    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'));                         
     308                        $ext->add($extpaging, "_PAGE.", '', new ext_gotoif('$["${DB(DND/${DB(DEVICE/${EXTEN:4}/user)})}" = "YES"]', 'skipself'));                      
    309309                        $ext->add($extpaging, "_PAGE.", 'SKIPCHECK', new ext_macro('autoanswer','${EXTEN:4}')); 
    310310                        $ext->add($extpaging, "_PAGE.", '', new ext_dial('${DIAL}','${DTIME},${DOPTIONS}'));