Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - bluekite

Pages: [1]
1
Running QueueMetrics / Re: About agentname in queue_log file.
« on: November 24, 2007, 04:31:59 »
hehe, I want to know how do you deal with this problem.
 ???    ;)

Can you tell me?

2
Running QueueMetrics / Re: About agentname in queue_log file.
« on: November 22, 2007, 15:53:45 »
I  had been fixed this bug. I modify "qloader.pl"  and "queueloader.pl" files.

Code: [Select]
$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];

Code: [Select]
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!  ------------------------

 ;) ;)

3
Running QueueMetrics / Re: About agentname in queue_log file.
« on: November 10, 2007, 02:44:54 »
Now, I want to know how strip away the trailing digits.
What can I do ??
Thanks.

4
Running QueueMetrics / About agentname in queue_log file.
« 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!
Code: [Select]
............................
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?

5
I want to ask a question with queue_log rotation.

I'm testing a demo of queuemetrics 1.4.2 version.

I found "queue_log, queue_log.1,queue_log.2, queue_log.3, queue_log.4,
queue_log.5" six files in "/var/log/asterisk" Directory on my asterisk server, but only "queue_log" text in qloader.pl file, I want to know ,when do flowing, how qloaderd know which log file is currently log file? how can I do?

Code: [Select]
/var/log/asterisk/*log {
   missingok
   rotate 5
   weekly
   create 0640 asterisk asterisk
   postrotate
       /usr/sbin/asterisk -rx 'logger reload' > /dev/null 2> /dev/null
       /etc/init.d/qloaderd restart > /dev/null 2> /dev/null
   endscript
}

Excuse me for my bad english.

I am a chinese, Do you understand chinese? ;)

Pages: [1]