Displaying 3 results from an estimated 3 matches for "dial_dest".
2006 Feb 19
3
Loops and Variables
I have the following in my dialplan, counts the number of loops and when
it hits greater then 5, exit. It works, but errors initially with,
"syntax error, unexpected TOK_PLUS, expecting TOK_MINUS or TOK_LP or
tolken; Input: +1".
Could somebody tell me why?
Thanks:
; ****************************************
; Setup a varriable to count the number of
; times the message has been
2005 Jul 10
1
VM Outcall: Rube Goldberg Edition
...ne "") {
exit(0);
}
if($tmp_vm_context eq $vm_context) {
$current_vm_context = $vm_context;
next;
}
} else {
if($current_vm_context eq $vm_context) {
($tmp_vm_box) = $vm_conf_line =~ /(\d+)/;
if($tmp_vm_box eq $vm_box) {
($dial_dest) = $vm_conf_line =~ /.*notify=(\d+)/;
if(!defined($dial_dest)) {
exit(0);
}
close($vm_conf_file_handle);
# If there's already a .call file for this mailbox then don't
do anything.
# If there isn't already a .call file then create...
2007 Sep 19
18
sip.conf best practices?
All - I've been wrestling with how to best structure the sip device
accounts on a new asterisk server I'm deploying. All of the sip
devices (currently only Linksys SPA941s) will reside on the same
subnet as the server, and I have already set up a decent automatic
provisioning system for the phones. When the rollout is complete,
there will be about 100 SIP devices authenticating and