Displaying 1 result from an estimated 1 matches for "vm_box".
Did you mean:
vm_bo
2005 Jul 10
1
VM Outcall: Rube Goldberg Edition
...notify.pl
===========================================================================
Here is the vm-notify.pl script:
===========================================================================
#!/usr/bin/perl -w
use Fcntl;
use Fcntl ":flock";
$dial_context="local-access";
($vm_box, $vm_context) = $ARGV[1] =~/(.*)\@(.*)/;
$current_vm_context = "";
if(!sysopen($vm_conf_file_handle, "/etc/asterisk/voicemail.conf", O_RDONLY))
{
printf("Cannot open /etc/asterisk/voicemail.conf!\n");
exit(1);
}
while($vm_conf_line = <$vm_conf_file_handle>...