Changeset 2177 for modules/branches/2.1
- Timestamp:
- 07/26/06 10:59:44 (7 years ago)
- Files:
-
- modules/branches/2.1/voicemail/functions.inc.php (modified) (2 diffs)
- modules/branches/2.1/voicemail/module.xml (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.1/voicemail/functions.inc.php
r2174 r2177 39 39 $ext->add($id, $c, '', new ext_wait('1')); // $cmd,n,Wait(1) 40 40 $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)}')); 42 42 $ext->add($id, $c, '', new ext_vmmain('${CALLERID(num)}@${VMCONTEXT}')); // n,VoiceMailMain(${VMCONTEXT}) 43 43 $ext->add($id, $c, '', new ext_macro('hangupcall')); // $cmd,n,Macro(user-callerid) … … 63 63 // How long is the command? We need to strip that off the front 64 64 $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.'}')); 66 66 $ext->add($id, $c, '', new ext_vmmain('${EXTEN:'.$clen.'}@${VMCONTEXT}')); // n,VoiceMailMain(${VMCONTEXT}) 67 67 $ext->add($id, $c, '', new ext_macro('hangupcall')); // $cmd,n,Macro(user-callerid) modules/branches/2.1/voicemail/module.xml
r2176 r2177 2 2 <rawname>voicemail</rawname> 3 3 <name>Voicemail</name> 4 <version>1.1. 1</version>4 <version>1.1.2</version> 5 5 <type>setup</type> 6 6 <category>Messaging</category>
