| 8 | | $extens[] = array('destination' => 'app-blackhole,hangup,1', 'description' => 'Hangup'); |
|---|
| 9 | | $extens[] = array('destination' => 'app-blackhole,congestion,1', 'description' => 'Congestion'); |
|---|
| 10 | | $extens[] = array('destination' => 'app-blackhole,busy,1', 'description' => 'Busy'); |
|---|
| 11 | | $extens[] = array('destination' => 'app-blackhole,zapateller,1', 'description' => 'Play SIT Tone (Zapateller)'); |
|---|
| 12 | | $extens[] = array('destination' => 'app-blackhole,musiconhold,1', 'description' => 'Put caller on hold forever'); |
|---|
| | 8 | $category = 'Terminate Call'; |
|---|
| | 9 | $extens[] = array('destination' => 'app-blackhole,hangup,1', 'description' => 'Hangup', 'category' => $category); |
|---|
| | 10 | $extens[] = array('destination' => 'app-blackhole,congestion,1', 'description' => 'Congestion', 'category' => $category); |
|---|
| | 11 | $extens[] = array('destination' => 'app-blackhole,busy,1', 'description' => 'Busy', 'category' => $category); |
|---|
| | 12 | $extens[] = array('destination' => 'app-blackhole,zapateller,1', 'description' => 'Play SIT Tone (Zapateller)', 'category' => $category); |
|---|
| | 13 | $extens[] = array('destination' => 'app-blackhole,musiconhold,1', 'description' => 'Put caller on hold forever', 'category' => $category); |
|---|
| 41 | | $extens[] = array('destination' => 'ext-local,${VM_PREFIX}'.$result['0'].',1', 'description' => 'voicemail box '.$result['0']); |
|---|
| | 41 | $extens[] = array('destination' => 'ext-local,vmb'.$result['0'].',1', 'description' => '<'.$result[0].'> '.$result[1].' (busy)', 'category' => 'Voicemail'); |
|---|
| | 42 | $extens[] = array('destination' => 'ext-local,vmu'.$result['0'].',1', 'description' => '<'.$result[0].'> '.$result[1].' (unavail)', 'category' => 'Voicemail'); |
|---|
| | 385 | $ext->add('ext-local', 'vmb'.$exten['extension'], '', new ext_macro('vm',"$vm,BUSY")); |
|---|
| | 386 | $ext->add('ext-local', 'vmb'.$exten['extension'], '', new ext_hangup('')); |
|---|
| | 387 | $ext->add('ext-local', 'vmu'.$exten['extension'], '', new ext_macro('vm',"$vm,NOANSWER")); |
|---|
| | 388 | $ext->add('ext-local', 'vmu'.$exten['extension'], '', new ext_hangup('')); |
|---|