Re: [asterisk-users] Asterisk CDRs

2012-04-05 Thread [Digital^Dude] ®
I am using AMI Originate on asterisk 1.8.11 on SIP channels. I have set
unanswered=yes in cdr.conf because I want to log NO ANSWER and BUSY
calls.
The issue is, that if a SIP peer is not registered, and an originate
request is made for that peer, a null cdr entry is made as follows:

,2012-04-05 09:28:53,,2012-04-05
09:28:53,0,0,FAILED,DOCUMENTATION,,

How can I fix it? Or, how can I set cdr not to log entries if a channel
doesn't exist.
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Asterisk CDRs

2012-03-02 Thread Leandro Dardini
Really interesting finding. From my point of view, it is a good thing.
Having spike in cpu load will harm voice quality for sure, but it can hurts
if you are relaying on prompt write of cdr records.

What cdr backend are you using? Maybe the constant speed you see is the
maximal write speed the backend can receive.

A silly question ... have you reloaded the cdr module once made the changes?

Leandro

2012/3/2 [Digital^Dude] ® millennium@gmail.com

 I've tried with batch enabled as well as disabled, it seems irrespective
 of the call burst I send to asterisk. CDR writes at a constant speed, not
 changing with the call load!

 On Fri, Mar 2, 2012 at 12:20 PM, Leandro Dardini ldard...@gmail.comwrote:

 Asterisk can cache cdr records to avoid having to write continuosly in
 the cdr backend. Writing in bunch instead one at once improves performance.
 Check the cdr.conf file and disable the option batch if it hurts you.

 Leandro
 Il giorno 02/mar/2012 07:24, [Digital^Dude] ® millennium@gmail.com
 ha scritto:

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users



 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Asterisk CDRs

2012-03-02 Thread [Digital^Dude] ®
I tried it on asterisk version 1.8 as well as other minor releases of 1.6.
Its the same. Not a silly question, since silly products usually have
instantaneous errors vanished by a silly action :)
I tried changing different parameters in cdr.conf and reloading multiple
times...
Yes, I am just using the default CDR backend and I check CDR population via
AST_LOG_DIR/Master.csv
By the way, even if I use the mysql backend, its the same result. the CPU
load is negligible and call quality is fine but still CDR write speed is
almost 1 entry /1.5 second. I highly doubt that would be the max write
speed!

The kind of call burst I get on my asterisk box, tail -f Master.csv should
be an unreadable scroll of entries!
Hasn't *anyone *noticed it?

On Fri, Mar 2, 2012 at 1:02 PM, Leandro Dardini ldard...@gmail.com wrote:

 Really interesting finding. From my point of view, it is a good thing.
 Having spike in cpu load will harm voice quality for sure, but it can hurts
 if you are relaying on prompt write of cdr records.

 What cdr backend are you using? Maybe the constant speed you see is the
 maximal write speed the backend can receive.

 A silly question ... have you reloaded the cdr module once made the
 changes?

 Leandro

 2012/3/2 [Digital^Dude] ® millennium@gmail.com

 I've tried with batch enabled as well as disabled, it seems irrespective
 of the call burst I send to asterisk. CDR writes at a constant speed, not
 changing with the call load!

 On Fri, Mar 2, 2012 at 12:20 PM, Leandro Dardini ldard...@gmail.comwrote:

 Asterisk can cache cdr records to avoid having to write continuosly in
 the cdr backend. Writing in bunch instead one at once improves performance.
 Check the cdr.conf file and disable the option batch if it hurts you.

 Leandro
 Il giorno 02/mar/2012 07:24, [Digital^Dude] ® 
 millennium@gmail.com ha scritto:

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users



 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users



 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Asterisk CDRs

2012-03-01 Thread Leandro Dardini
Asterisk can cache cdr records to avoid having to write continuosly in the
cdr backend. Writing in bunch instead one at once improves performance.
Check the cdr.conf file and disable the option batch if it hurts you.

Leandro
Il giorno 02/mar/2012 07:24, [Digital^Dude] ® millennium@gmail.com
ha scritto:
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Asterisk CDRs

2012-03-01 Thread [Digital^Dude] ®
I've tried with batch enabled as well as disabled, it seems irrespective of
the call burst I send to asterisk. CDR writes at a constant speed, not
changing with the call load!

On Fri, Mar 2, 2012 at 12:20 PM, Leandro Dardini ldard...@gmail.com wrote:

 Asterisk can cache cdr records to avoid having to write continuosly in the
 cdr backend. Writing in bunch instead one at once improves performance.
 Check the cdr.conf file and disable the option batch if it hurts you.

 Leandro
 Il giorno 02/mar/2012 07:24, [Digital^Dude] ® millennium@gmail.com
 ha scritto:

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

RE: [Asterisk-Users] Asterisk CDRs

2005-09-15 Thread William Boehlke

Why would you want it to do that? If the call is not complete, the system
cannot know the duration. Call duration is the heart of a call detail
record.
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Prakash Rao
Kanthi
Sent: Thursday, September 15, 2005 3:27 PM
To: asterisk-users@lists.digium.com
Subject: [Asterisk-Users] Asterisk CDRs

Hi Group,

I am trying to capture CDR records from Asterisk into PGSQL database. The
problem is that the CDR information does not get populated until the call is
hangup.

Does anyone know if there is a way to get CDR info into database before call
ends???

Thanks,
Prakash


___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.0/103 - Release Date: 9/15/2005
 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.0/103 - Release Date: 9/15/2005
 

___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Asterisk CDRs

2005-09-15 Thread Prakash Rao Kanthi


Thats because i am interested in the other fields of CDR like the 
Trunk/dst/application etc...


Prakash


From: William Boehlke [EMAIL PROTECTED]
Reply-To: Asterisk Users Mailing List - Non-Commercial 
Discussionasterisk-users@lists.digium.com
To: 'Asterisk Users Mailing List - Non-Commercial 
Discussion'asterisk-users@lists.digium.com

Subject: RE: [Asterisk-Users] Asterisk CDRs
Date: Thu, 15 Sep 2005 15:40:15 -0700


Why would you want it to do that? If the call is not complete, the system
cannot know the duration. Call duration is the heart of a call detail
record.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Prakash Rao
Kanthi
Sent: Thursday, September 15, 2005 3:27 PM
To: asterisk-users@lists.digium.com
Subject: [Asterisk-Users] Asterisk CDRs

Hi Group,

I am trying to capture CDR records from Asterisk into PGSQL database. The
problem is that the CDR information does not get populated until the call 
is

hangup.

Does anyone know if there is a way to get CDR info into database before 
call

ends???

Thanks,
Prakash


___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.0/103 - Release Date: 9/15/2005


--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.0/103 - Release Date: 9/15/2005


___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users



___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Asterisk CDRs

2005-09-15 Thread Nathan Pralle
Does anyone know if there is a way to get CDR info into database before 
call ends???


The only way I have figured out how to interact with the call before it 
hangs up is to use the AGI to do various things -- whether it be 
inserting DB rows or whatever -- both before and after the call.


Nathan

--
-
Nathan E. Pralle
Give the Director a Serpent Deflector
www.nathanpralle.com
-
___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Asterisk CDRs

2005-09-15 Thread Prakash Rao Kanthi
Never mind, i found a way to do this. There is an app called 'ResetCDR' 
which pushes the CDR info into database. Just call it with appropriate 
channel info and 'w' (second arg) for force insert whenever during the call 
processing in your dial-plan.


Thanks anyway,
Prakash




From: Nathan Pralle [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED],Asterisk Users Mailing List - Non-Commercial 
Discussionasterisk-users@lists.digium.com
To: Asterisk Users Mailing List - Non-Commercial 
Discussionasterisk-users@lists.digium.com

Subject: Re: [Asterisk-Users] Asterisk CDRs
Date: Thu, 15 Sep 2005 17:48:25 -0500

Does anyone know if there is a way to get CDR info into database before 
call ends???


The only way I have figured out how to interact with the call before it 
hangs up is to use the AGI to do various things -- whether it be inserting 
DB rows or whatever -- both before and after the call.


Nathan

--
-
Nathan E. Pralle
Give the Director a Serpent Deflector
www.nathanpralle.com
-
___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users



___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users