Changeset 7713

Show
Ignore:
Timestamp:
05/08/09 14:38:29 (3 years ago)
Author:
mickecarlsson
Message:

Fixed spelling errors in dialparties.agi

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.6/core/agi-bin/dialparties.agi

    r7647 r7713  
    3030require_once "phpagi-asmanager.php"; 
    3131 
    32 $ext      = array();  // Hash that will contain our list of extensions to call 
    33 $ext_hunt = array();  // Hash that will contain our list of extensions to call used by huntgroup 
     32$ext      = array();  // Hash that will contain our list of extensions to call 
     33$ext_hunt = array();  // Hash that will contain our list of extensions to call used by huntgroup 
    3434$cidnum   = "";   // Caller ID Number for this call 
    3535$cidname  = "";   // Caller ID Name for this call 
    3636$timer    = "";   // Call timer for Dial command 
    37 $dialopts = "";   // options for dialing 
     37$dialopts = "";   // Options for dialing 
    3838$rc       = "";   // Catch return code 
    3939$priority = "";   // Next priority  
    4040$rgmethod = "";   // If Ring Group what ringing method was chosen 
    41 $screen   = false;  // initialize screen variable 
     41$screen   = false;  // Initialize screen variable 
    4242$dsarray  = array();  // This will hold all the dial strings, used to check for duplicate extensions 
    4343 
     
    161161 
    162162// Clear it now so subsequent transfers don't honor it any longer 
    163 // unless it's a ringallv2 in which case it is going to got though 
     163// unless it's a ringallv2 in which case it is going to get through 
    164164// another level of local channels 
    165165// 
     
    230230    } 
    231231  } else { 
    232     debug("extension not in group list, ringging only during prering time",4); 
     232    debug("extension not in group list, ringing only during prering time",4); 
    233233    $fmgrp_realprering = $fmgrp_prering; 
    234234    array_unshift($ext,$fmgrp); 
     
    246246  if (strlen($screen_call)) { 
    247247    if($screen_call == 'nomemory' && $cidnum != '')  { // This can't go in the dialplan because macro-dial can get called multiple times 
    248       // Do a security check, we only numeric callerid numbers, otherwise code could be incjected in a cidnum field 
     248      // Do a security check, we only numeric callerid numbers, otherwise code could be injected in a cidnum field 
    249249      // that could result in an arbitrary command being executed in this remove operation. 
    250250      if (ctype_digit($cidnum)) { 
     
    260260  } 
    261261} 
    262 // IF THE FIRST EXTENSION IS CALL FORWARD ENABLED (put in logic) then we don't do master mode 
     262// IF THE FIRST EXTENSION HAVE CALL FORWARD ENABLED (put in logic) then we don't do master mode 
    263263// which means we reset the flag here after detecting that and just say we are not in master 
    264264// mode and all is well. That means the loop below needs to be modified to detect the first 
     
    344344  // 
    345345  // if mastermode is set then the first extension will be examined and mastermode will be reset so that the others 
    346   // are left alone. If the remaining extensions are not to be tried, skpremaining will be set to 1 which will 
     346  // are left alone. If the remaining extensions are not to be tried, skipremaining will be set to 1 which will 
    347347  // result in dndprimary being set to 1 thus diabling the remaining list. 
    348348  // 
     
    716716   
    717717  if (strpos($extnum,'#') != 0) { 
    718     // "#" used to identify external numbers in forwards and callgourps 
     718    // "#" used to identify external numbers in forwards and callgroups 
    719719    // If using call confirmation, need to put the # back into the new dialstring 
    720720    // we then place all external calls (denoted with a # at the end) through