Displaying 3 results from an estimated 3 matches for "destcontext".
Did you mean:
testcontext
2003 Aug 02
0
Webalizer for CDR logs....
...t;07" => "Jul",
"08" => "Aug",
"09" => "Sep",
"10" => "Oct",
"11" => "Nov",
"12" => "Dec"
);
foreach $line (@data) {
chomp($line);
my($acctcode, $src, $dest, $destcontext, $callerid, $chan, $destchan, $lastapp, $lastapparg, $start, $answer, $end, $duration, $billable, $disposition, $amaflags, $uniqueid) = split(",",$line);
# lets clean this up a bit
$dest =~ s/\"//g;
$src =~ s/\"//g;
$start =~ s/\"//g;
$disposition =~ s/\"//g;
$de...
2010 Apr 28
1
simple dialplan question
...imple question.
I'm trying to match "sipprovider.nocredit" but the following doesn't execute NoOp (it runs "context" but not "context-custom"). What am I doing wrong?
[context]
include => context-custom
exten => _.,1,Set(GROUP()=1)
exten => _.,n,Goto(destcontext,${EXTEN},1)
[context-custom]
exten => sipprovider.nocredit,1,NoOp(No credit left)
Thanks
Vieri
2010 Jan 06
0
Originate from the Dialplan
Hi all,
I an using the Originate() dialplan command but I cant get it to save cdr's.
Here is the line I am using:
exten =>
_61XXXXXXXXX,53,Originate(SIP/${TRUNK}/${PREFIX}${PHONE},exten,${DESTCONTEXT},${PHONE},1);
The call goes out fine, but CDR's get inserted into the DB.
Any ideas on why this is happening? Is it a bug or a feature?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100106/a3826cf...