QueueMetrics forum
QueueMetrics => Running QueueMetrics => Topic started by: bluekite on November 07, 2007, 18:02:49
-
I define 902 of extension in iax.conf file, it can be login and log out, but in queue_log file display lots of "902-X", "X" is in 1...n, I want to know why?
thank you very much!
............................
1192928572|1192928554.3|991|IAX2/902-2|CONNECT|3
............................
1192928868|1192928554.3|991|IAX2/902-2|COMPLETECALLER|3|296
1192928878|1192928778.5|991|IAX2/902-6|CONNECT|86
1192929093|1192928778.5|991|IAX2/902-6|COMPLETECALLER|86|215
............................
1192930770|1192930753.23|991|IAX2/902-1|CONNECT|2
............................
1192931160|1192930753.23|991|IAX2/902-1|COMPLETECALLER|2|390
............................
1192931496|1192931478.36|991|IAX2/902-3|CONNECT|4
1192931566|1192931478.36|991|IAX2/902-3|COMPLETECALLER|4|70
why?
-
This is because a trace iof the actual channels used is kept. But QM should strip away the trailing digits. Doesn't it?
-
Now, I want to know how strip away the trailing digits.
What can I do ??
Thanks.
-
Looks like a bug to me. I filed it as bug #230. Being a very small change, this is due to be released in 1.4.3, that is in a couple of weeks.
-
I confirm this was a bug and has been fixed.
-
I had been fixed this bug. I modify "qloader.pl" and "queueloader.pl" files.
$rowdata[0] = ($rowdata[0] * 1.0) + $timezone_offset;
#--- I insert code begin here: ------------------------
my @temp_agent = ((split /\-/, $rowdata[3]), ( "", "")) ;
$rowdata[3] = $temp_agent[0];
#---- I insert code end of here! ------------------------
my $tst = $rowdata[0];
my ($tst, $cid, $que, $age, $verb, $d1, $d2, $d3) = map { myQuote($_) } (((split /\|/, $_)), ( "", "", "", "", "", "", "")) ;
#--- I insert code begin here: ------------------------
my @temp_agent = ((split /\'/, $age), ( "", "", "")) ;
@temp_agent = ((split /\-/, $temp_agent[1]), ( "", "")) ;
$age = "'".$temp_agent[0]."'";
#---- I insert code end of here! ------------------------
;) ;)
-
You can anyway use the basic qloader with the upcoming version 1.4.3. Beware of doing the stripping yourself, some channel names are pretty picky! ;D
-
hehe, I want to know how do you deal with this problem.
??? ;)
Can you tell me?
-
Simple: next week we will release a version of Qm that solves this bug.