Show
Ignore:
Timestamp:
07/26/06 10:59:44 (7 years ago)
Author:
gregmac
Message:

Fixes in r2174 and r2175 applied backwards - should be get-vmcontext (philippel)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.1/voicemail/functions.inc.php

    r2174 r2177  
    3939  $ext->add($id, $c, '', new ext_wait('1')); // $cmd,n,Wait(1) 
    4040  $ext->add($id, $c, '', new ext_macro('user-callerid')); // $cmd,n,Macro(user-callerid) 
    41   $ext->add($id, $c, '', new ext_macro('get-vm-context','${CALLERID(num)}'));  
     41  $ext->add($id, $c, '', new ext_macro('get-vmcontext','${CALLERID(num)}'));  
    4242  $ext->add($id, $c, '', new ext_vmmain('${CALLERID(num)}@${VMCONTEXT}')); // n,VoiceMailMain(${VMCONTEXT}) 
    4343  $ext->add($id, $c, '', new ext_macro('hangupcall')); // $cmd,n,Macro(user-callerid) 
     
    6363  // How long is the command? We need to strip that off the front 
    6464  $clen = strlen($c)-2; 
    65   $ext->add($id, $c, '', new ext_macro('get-vm-context','${EXTEN:'.$clen.'}'));  
     65  $ext->add($id, $c, '', new ext_macro('get-vmcontext','${EXTEN:'.$clen.'}'));  
    6666  $ext->add($id, $c, '', new ext_vmmain('${EXTEN:'.$clen.'}@${VMCONTEXT}')); // n,VoiceMailMain(${VMCONTEXT}) 
    6767  $ext->add($id, $c, '', new ext_macro('hangupcall')); // $cmd,n,Macro(user-callerid) 
  • modules/branches/2.1/voicemail/module.xml

    r2176 r2177  
    22  <rawname>voicemail</rawname> 
    33  <name>Voicemail</name> 
    4   <version>1.1.1</version> 
     4  <version>1.1.2</version> 
    55  <type>setup</type> 
    66  <category>Messaging</category>