Changeset 4891
- Timestamp:
- 08/18/07 20:11:33 (6 years ago)
- Files:
-
- modules/branches/2.3/core/etc/extensions.conf (modified) (2 diffs)
- modules/branches/2.3/core/functions.inc.php (modified) (2 diffs)
- modules/branches/2.3/core/module.xml (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.3/core/etc/extensions.conf
r4885 r4891 282 282 283 283 ; If vmx not enabled for the current mode,then jump to normal voicemail behavior 284 ; 285 exten => vmx,1,Set(MODE=${IF($["${ARG2}"="BUSY"]?busy:unavail)}) 284 ; also - if not message (no-msg) is requested, straight to voicemail 285 ; 286 exten => vmx,1,GotoIf($["${ARG2}"="NOMESSAGE"]?s-${ARG2},1) 287 exten => vmx,n,Set(MODE=${IF($["${ARG2}"="BUSY"]?busy:unavail)}) 286 288 exten => vmx,n,GotoIf($["${ARG2}" != "DIRECTDIAL"]?notdirect) 287 289 exten => vmx,n,Set(MODE=${IF($["${REGEX("[b]" ${VM_DDTYPE})}" = "1"]?busy:${MODE})}) … … 398 400 exten => s-BUSY,n,Voicemail(${ARG1}@${VMCONTEXT}|${VM_OPTS}b${VMGAIN}) ; Voicemail Busy message 399 401 exten => s-BUSY,n,Goto(exit-${VMSTATUS},1) 402 403 exten => s-NOMESSAGE,1,NoOp(NOMESSAGE (beeb only) voicemail) 404 exten => s-NOMESSAGE,n,Macro(get-vmcontext,${ARG1}) 405 exten => s-NOMESSAGE,n,Voicemail(${ARG1}@${VMCONTEXT}|${VM_OPTS}${VMGAIN}) ; Voicemail Busy message 406 exten => s-NOMESSAGE,n,Goto(exit-${VMSTATUS},1) 400 407 401 408 exten => s-DIRECTDIAL,1,NoOp(DIRECTDIAL voicemail) modules/branches/2.3/core/functions.inc.php
r4890 r4891 41 41 $extens[] = array('destination' => 'ext-local,vmb'.$result['0'].',1', 'description' => '<'.$result[0].'> '.$result[1].' (busy)', 'category' => 'Voicemail'); 42 42 $extens[] = array('destination' => 'ext-local,vmu'.$result['0'].',1', 'description' => '<'.$result[0].'> '.$result[1].' (unavail)', 'category' => 'Voicemail'); 43 $extens[] = array('destination' => 'ext-local,vms'.$result['0'].',1', 'description' => '<'.$result[0].'> '.$result[1].' (no-msg)', 'category' => 'Voicemail'); 43 44 } 44 45 } … … 389 390 $ext->add('ext-local', 'vmu'.$exten['extension'], '', new ext_macro('vm',"$vm,NOANSWER")); 390 391 $ext->add('ext-local', 'vmu'.$exten['extension'], '', new ext_hangup('')); 392 $ext->add('ext-local', 'vms'.$exten['extension'], '', new ext_macro('vm',"$vm,NOMESSAGE")); 393 $ext->add('ext-local', 'vms'.$exten['extension'], '', new ext_hangup('')); 391 394 } 392 395 modules/branches/2.3/core/module.xml
r4873 r4891 8 8 <canuninstall>no</canuninstall> 9 9 <changelog> 10 *2.3.0RC1.1.2* #2265 remove DeadAGI, #2189 add no-msg dest for vm 10 11 *2.3.0RC1.1.1* #2253 remove default jbenable, jbforce 11 12 *2.3.0RC1.1* bump to RC1 because of bug not using proper version compare
