search for: current_vm_context

Displaying 1 result from an estimated 1 matches for "current_vm_context".

2005 Jul 10
1
VM Outcall: Rube Goldberg Edition
...==================================== 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>) { chomp($vm_conf_line); if((substr($vm_conf_line,0,1...