Changeset 7186

Show
Ignore:
Timestamp:
10/29/08 21:03:53 (5 years ago)
Author:
p_lindheimer
Message:

Merged revisions 7081-7083,7085-7097,7100-7125,7128-7133,7135-7152,7155-7178,7180,7182-7185 via svnmerge from
http://svn.freepbx.org/modules/branches/2.5

........

r7130 | sasargen | 2008-10-24 13:39:42 -0700 (Fri, 24 Oct 2008) | 1 line


fixed dialplan for vm-callme to handle vm-starmain option

........

r7169 | mickecarlsson | 2008-10-28 08:09:42 -0700 (Tue, 28 Oct 2008) | 1 line


Fixes a couple of spelling errors in varoious module.xml files

........

r7170 | mickecarlsson | 2008-10-28 11:57:18 -0700 (Tue, 28 Oct 2008) | 1 line


Added Spanish language files for callback, closes #3340

........

r7175 | ethans | 2008-10-29 10:24:51 -0700 (Wed, 29 Oct 2008) | 5 lines


Changes sox to use vol nomenclature for adjusting volume of output file, rather than -v which was deprecated. The vol switch will work on
older and newer versions of sox.


Closes #3346

........

r7180 | p_lindheimer | 2008-10-29 11:11:06 -0700 (Wed, 29 Oct 2008) | 1 line


fixes #3348 wrong registry count with Asteisk 1.6+ and counting iax2 registrations as sip

........

r7182 | p_lindheimer | 2008-10-29 17:31:27 -0700 (Wed, 29 Oct 2008) | 1 line


fixes #3345 requires core, blacklist and cidlookup to all be updated

........

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.6

    • Property svnmerge-integrated changed from /modules/branches/2.5:1-7080,7098-7099,7126-7127,7133-7134,7153-7154 to /modules/branches/2.5:1-7185
  • modules/branches/2.6/blacklist/functions.inc.php

    r6450 r7186  
    145145             
    146146          if ($cidnum != '' && $exten == '') { 
    147             $exten = '_.'; 
     147            $exten = 's'; 
    148148            $pricid = ($item['pricid']) ? true:false; 
    149149          } else if (($cidnum != '' && $exten != '') || ($cidnum == '' && $exten == '')) { 
  • modules/branches/2.6/blacklist/module.xml

    r6614 r7186  
    22  <rawname>blacklist</rawname> 
    33  <name>Blacklist</name> 
    4   <version>2.5.0.2</version> 
     4  <version>2.5.0.3</version> 
    55  <type>setup</type> 
    66  <category>Inbound Call Control</category> 
     
    99  </menuitems> 
    1010  <changelog> 
     11    *2.5.0.3* #3345, translations 
    1112    *2.5.0.2* Swedish Translations 
    1213    *2.5.0.1* #3100, #3101 changes to work with new inbound route changes and fixes previous bug 
     
    2627    *1.1* First 2.2 release. Fix minor warnings. 
    2728  </changelog> 
    28   <location>release/2.5/blacklist-2.5.0.2.tgz</location> 
    29   <md5sum>3d1b36c0438fb7a514afd8aa1a6fc481</md5sum> 
     29  <depends> 
     30    <module>core ge 2.5.1.2</module> 
     31  </depends> 
     32  <location>release/2.5/blacklist-2.5.0.3.tgz</location> 
     33  <md5sum>605c5c2d522cdc52ce800ebc4654b6c2</md5sum> 
    3034</module> 
  • modules/branches/2.6/cidlookup/functions.inc.php

    r7049 r7186  
    8585             
    8686            if ($cidnum != '' && $exten == '') { 
    87               $exten = '_.'; 
     87              $exten = 's'; 
    8888              $pricid = ($item['pricid']) ? true:false; 
    8989            } else if (($cidnum != '' && $exten != '') || ($cidnum == '' && $exten == '')) { 
  • modules/branches/2.6/cidlookup/module.xml

    r7050 r7186  
    22  <rawname>cidlookup</rawname> 
    33  <name>Caller ID Lookup</name> 
    4   <version>2.5.0.4</version> 
     4  <version>2.5.0.5</version> 
    55  <description>Allows Caller ID Lookup of incoming calls against different sources (MySQL, HTTP, ENUM, Phonebook Module)</description> 
    66  <type>setup</type> 
     
    1111  <depends> 
    1212    <engine>asterisk 1.2</engine> 
     13    <module>core ge 2.5.1.2</module> 
    1314  </depends> 
    14   <location>release/2.5/cidlookup-2.5.0.4.tgz</location> 
    15   <md5sum>312c8e4b082edd1cb8a90f83d3e77aad</md5sum> 
     15  <location>release/2.5/cidlookup-2.5.0.5.tgz</location> 
     16  <md5sum>28fef73b27256deb1a6bbde1d4bc5354</md5sum> 
    1617  <changelog> 
     18    *2.5.0.5* #3345 
    1719    *2.5.0.4* #3260, other localization work 
    1820    *2.5.0.3* localization fixes, Swedish 
  • modules/branches/2.6/core/functions.inc.php

    r7124 r7186  
    886886          // route a non-numeric did 
    887887          // 
     888          $cidroute = false; 
    888889          if ($cidnum != '' && $exten == '') { 
    889890            $exten = '_.'; 
    890891            $pricid = ($item['pricid']) ? true:false; 
     892            $cidroute = true; 
    891893          } else if (($cidnum != '' && $exten != '') || ($cidnum == '' && $exten == '')) { 
    892894            $pricid = true; 
     
    899901          $exten = $exten.(empty($cidnum)?"":"/".$cidnum); //if a CID num is defined, add it 
    900902 
    901           $ext->add($context, $exten, '', new ext_setvar('__FROM_DID','${EXTEN}')); 
     903          if ($cidroute) { 
     904            $ext->add($context, $exten, '', new ext_setvar('__FROM_DID','${EXTEN}')); 
     905            $ext->add($context, $exten, '', new ext_goto('1','s')); 
     906            $exten = "s/$cidnum"; 
     907            $ext->add($context, $exten, '', new ext_execif('$["${FROM_DID}" = ""]','Set','__FROM_DID=${EXTEN}')); 
     908          } else { 
     909            $ext->add($context, $exten, '', new ext_setvar('__FROM_DID','${EXTEN}')); 
     910          } 
    902911          // always set callerID name 
    903           $ext->add($context, $exten, '', new ext_gotoif('$[ "${CALLERID(name)}" != "" ] ','cidok')); 
    904           $ext->add($context, $exten, '', new ext_setvar('CALLERID(name)','${CALLERID(num)}')); 
    905           $ext->add($context, $exten, 'cidok', new ext_noop('CallerID is ${CALLERID(all)}')); 
     912          $ext->add($context, $exten, '', new ext_execif('$[ "${CALLERID(name)}" = "" ] ','Set','CALLERID(name)=${CALLERID(num)}')); 
    906913 
    907914          if (!empty($item['mohclass']) && trim($item['mohclass']) != 'default') { 
     
    18781885      $ext->add($context, 's', '', new ext_answer()); 
    18791886      $ext->add($context, 's', '', new ext_wait(1)); 
    1880       $ext->add($context, 's', 'repeat', new ext_background('${MSG}&silence/2&vm-repeat')); 
     1887      $ext->add($context, 's', 'repeat', new ext_background('${MSG}&silence/2&vm-repeat&vm-starmain')); 
    18811888      $ext->add($context, 's', '', new ext_waitexten(15)); 
    18821889 
     
    18851892      $ext->add($context, '#', '', new ext_playback('vm-goodbye')); 
    18861893      $ext->add($context, '#', '', new ext_hangup()); 
     1894 
     1895      $ext->add($context, '*', '', new ext_macro('get-vmcontext', '${MBOX}')); 
     1896      $ext->add($context, '*', '', new ext_vmmain('${MBOX}@${VMCONTEXT},s')); 
    18871897 
    18881898      $ext->add($context, 'i', '', new ext_playback('pm-invalid-option')); 
  • modules/branches/2.6/core/module.xml

    r7102 r7186  
    44  <category>Basic</category> 
    55  <name>Core</name> 
    6   <version>2.5.1.1</version> 
     6  <version>2.5.1.2</version> 
    77  <candisable>no</candisable> 
    88  <canuninstall>no</canuninstall> 
    99  <changelog> 
     10    *2.5.1.2* #3345 inbound CID routing fix, adds vm-callme voicemail access option 
    1011    *2.5.1.1* #3311, revert #3266 (r7001) 
    1112    *2.5.1.0* #3304, #3276, #3299 
  • modules/branches/2.6/dashboard/class.astinfo.php

    r5566 r7186  
    123123          $pos = strpos($line,"State"); 
    124124        } else { 
    125           // subsequent lines, check if it syas "Registered" at that position 
     125          // subsequent lines, check if it says "Registered" at that position 
    126126          if (substr($line,$pos,10) == "Registered") { 
    127127            $return['sip_registrations_online']++; 
    128           } else
     128          } elseif (strlen($line) > $pos)
    129129            $return['sip_registrations_offline']++; 
    130130          } 
     
    133133    } 
    134134 
    135      
    136135    $response = $this->astman->send_request('Command',array('Command'=>"iax2 show peers")); 
    137136    $astout = explode("\n",$response['data']); 
     
    165164          // subsequent lines, check if it syas "Registered" at that position 
    166165          if (substr($line,$pos,10) == "Registered") { 
    167             $return['sip_registrations_online']++; 
    168           } else
    169             $return['sip_registrations_offline']++; 
     166            $return['iax2_registrations_online']++; 
     167          } elseif (strlen($line) > $pos)
     168            $return['iax2_registrations_offline']++; 
    170169          } 
    171170        } 
     
    173172    } 
    174173 
    175      
    176174    $return['sip_users_total'] = $return['sip_users_online'] + $return['sip_users_offline']; 
    177175    $return['sip_trunks_total'] = $return['sip_trunks_online'] + $return['sip_trunks_offline']; 
  • modules/branches/2.6/disa/module.xml

    r7021 r7186  
    88    <disa>DISA</disa> 
    99  </menuitems> 
    10   <description>DISA Allows you 'Direct Inward System Access'. This gives you the ability to have an option on an IVR that gives you a dial tone, and you're able to dial out from the freePBX machine as if you were connected to a standard extension. It appears as a Destination.</description> 
     10  <description>DISA Allows you 'Direct Inward System Access'. This gives you the ability to have an option on an IVR that gives you a dial tone, and you're able to dial out from the FreePBX machine as if you were connected to a standard extension. It appears as a Destination.</description> 
    1111  <changelog> 
    1212    *2.5.1.6* localizatoin string enclosures 
  • modules/branches/2.6/fw_ari/module.xml

    r6794 r7186  
    22  <rawname>fw_ari</rawname> 
    33  <name>FreePBX ARI Framework</name> 
    4   <version>2.5.1.1</version> 
     4  <version>2.5.2.rc1</version> 
    55  <candisable>no</candisable> 
    66  <canuninstall>no</canuninstall> 
    77  <changelog> 
     8    *2.5.2.rc1* #3042 remove player popup, embed in page and add call screening settings to phone features 
    89    *2.5.1.1* #3202, #3203 
    910    *2.5.1* #3184 SECURITY VULNERABILITY fix 
     
    1819  <type>setup</type> 
    1920  <category>Basic</category> 
    20   <location>release/2.5/fw_ari-2.5.1.1.tgz</location> 
    21   <md5sum>beeaec94adc98ca9381281807e115521</md5sum> 
     21  <location>release/2.5/fw_ari-2.5.2.rc1.tgz</location> 
     22  <md5sum>e73c82a07628a3b91c65de4e028073d0</md5sum> 
    2223</module> 
  • modules/branches/2.6/fw_langpacks/module.xml

    r7067 r7186  
    1010  </changelog> 
    1111  <description> 
    12     This module provides a facility to install new and updated localization translations for all componets in FreePBX. Localization i18n translations are still kept with each module and other components such as the User Portal (ARI). This provides an easy ability to bring all components up-to-date without the need of publishing dozens of modules for every minor change. The localization updates used will be the latest available for all modules and will not consider the curent version you are running. 
     12    This module provides a facility to install new and updated localization translations for all components in FreePBX. Localization i18n translations are still kept with each module and other components such as the User Portal (ARI). This provides an easy ability to bring all components up-to-date without the need of publishing dozens of modules for every minor change. The localization updates used will be the latest available for all modules and will not consider the current version you are running. 
    1313  </description> 
    1414  <type>setup</type> 
  • modules/branches/2.6/timeconditions/module.xml

    r7137 r7186  
    66  <category>Inbound Call Control</category> 
    77  <description> 
    8     Creates a condition where calls will to one of two destinations (eg, an extension, IVR, ring group..) based on the time and/or date. This can be used for example to ring a receptionist during the day, or go directly to an IVR at night. 
     8    Creates a condition where calls will go to one of two destinations (eg, an extension, IVR, ring group..) based on the time and/or date. This can be used for example to ring a receptionist during the day, or go directly to an IVR at night. 
    99  </description> 
    1010  <changelog> 
  • modules/branches/2.6/vmblast/module.xml

    r7031 r7186  
    66  <category>Internal Options &amp; Configuration</category> 
    77  <description> 
    8     Creates a group of extensions that Calls a group of voicemail boxes and allows you to leave a Msg for them all at once.  
     8    Creates a group of extensions that Calls a group of voicemail boxes and allows you to leave a message for them all at once.  
    99  </description> 
    1010  <changelog>