Re: [asterisk-users] CDR Problem - No CDRs when call is not bridged

2009-08-05 Thread Klaus Darilion
Miguel Molina schrieb: Klaus Darilion escribió: Hi! I just found out that Asterisk (1.4) does not write CDRs if the incoming call was not forwarded but handled internally without answering the call. E.g.: [from_pstn] exten = 997,1,Answer() exten = 997,2,Playback(tt-weasels) exten =

Re: [asterisk-users] CDR Problem - No CDRs when call is not bridged

2009-08-05 Thread Klaus Darilion
FYI: I checked the sources and Asterisk does write CDRs only if the call in answered locally or forwarded to an outgoing channel. Thus, as workaround I wrapped the extensions behind Dial(Local/...) regards klaus Klaus Darilion schrieb: Hi! I just found out that Asterisk (1.4) does not

Re: [asterisk-users] CDR Problem - No CDRs when call is not bridged

2009-08-05 Thread Anthony
Klaus Darilion wrote: FYI: I checked the sources and Asterisk does write CDRs only if the call in answered locally or forwarded to an outgoing channel. Thus, as workaround I wrapped the extensions behind Dial(Local/...) regards klaus Klaus Darilion schrieb: Hi! I just found out

[asterisk-users] CDR Problem - No CDRs when call is not bridged

2009-08-04 Thread Klaus Darilion
Hi! I just found out that Asterisk (1.4) does not write CDRs if the incoming call was not forwarded but handled internally without answering the call. E.g.: [from_pstn] exten = 997,1,Answer() exten = 997,2,Playback(tt-weasels) exten = 997,3,Hangup() exten = 999,1,Playback(tt-weasels|noanswer)

Re: [asterisk-users] CDR Problem - No CDRs when call is not bridged

2009-08-04 Thread Alex Balashov
Alex Balashov wrote: Klaus Darilion wrote: [from_pstn] exten = 997,1,Answer() exten = 997,2,Playback(tt-weasels) exten = 997,3,Hangup() exten = 999,1,Playback(tt-weasels|noanswer) exten = 999,4,Hangup() For incoming calls to 997 a CDR will be written, but not for 999. It seems to

Re: [asterisk-users] CDR Problem - No CDRs when call is not bridged

2009-08-04 Thread Alex Balashov
Klaus Darilion wrote: [from_pstn] exten = 997,1,Answer() exten = 997,2,Playback(tt-weasels) exten = 997,3,Hangup() exten = 999,1,Playback(tt-weasels|noanswer) exten = 999,4,Hangup() For incoming calls to 997 a CDR will be written, but not for 999. It seems to me that this has to do

Re: [asterisk-users] CDR Problem - No CDRs when call is not bridged

2009-08-04 Thread Miguel Molina
Klaus Darilion escribió: Hi! I just found out that Asterisk (1.4) does not write CDRs if the incoming call was not forwarded but handled internally without answering the call. E.g.: [from_pstn] exten = 997,1,Answer() exten = 997,2,Playback(tt-weasels) exten = 997,3,Hangup() exten =

Re: [asterisk-users] Cdr problem

2009-03-10 Thread Anthony Francis
Tilghman Lesher wrote: On Monday 09 March 2009 01:28:49 pm Anthony Francis wrote: Tilghman Lesher wrote: On Friday 06 March 2009 11:24:46 pm Hooman Peiro wrote: hi, I'm working with asterisk on a project and I found a problem with cdr_odbc. As we know, after answering each call

Re: [asterisk-users] Cdr problem

2009-03-10 Thread Hooman Peiro
thanks for your responses, I checked again and I found that I asked a wrong question! I was supposed to ask about answer time. The answer time is not getting save in the database. On Tue, Mar 10, 2009 at 11:41 AM, Anthony Francis antho...@rockynet.comwrote: Tilghman Lesher wrote: On Monday

Re: [asterisk-users] Cdr problem

2009-03-10 Thread Tilghman Lesher
On Tuesday 10 March 2009 05:31:38 Hooman Peiro wrote: thanks for your responses, I checked again and I found that I asked a wrong question! I was supposed to ask about answer time. The answer time is not getting save in the database. Answer time = calldate + duration - billsecs -- Tilghman

Re: [asterisk-users] Cdr problem

2009-03-10 Thread Tilghman Lesher
On Tuesday 10 March 2009 03:11:57 Anthony Francis wrote: Tilghman Lesher wrote: On Monday 09 March 2009 01:28:49 pm Anthony Francis wrote: Tilghman Lesher wrote: On Friday 06 March 2009 11:24:46 pm Hooman Peiro wrote: hi, I'm working with asterisk on a project and I found a problem with

Re: [asterisk-users] Cdr problem

2009-03-09 Thread Tilghman Lesher
On Friday 06 March 2009 11:24:46 pm Hooman Peiro wrote: hi, I'm working with asterisk on a project and I found a problem with cdr_odbc. As we know, after answering each call a cdr event is raised which is saved in cdr_csv and cdr_odbc. but here my point is on cdr_odbc. some information,

Re: [asterisk-users] Cdr problem

2009-03-09 Thread Anthony Francis
Tilghman Lesher wrote: On Friday 06 March 2009 11:24:46 pm Hooman Peiro wrote: hi, I'm working with asterisk on a project and I found a problem with cdr_odbc. As we know, after answering each call a cdr event is raised which is saved in cdr_csv and cdr_odbc. but here my point is on cdr_odbc.

Re: [asterisk-users] Cdr problem

2009-03-09 Thread Mark Michelson
Anthony Francis wrote: Tilghman Lesher wrote: On Friday 06 March 2009 11:24:46 pm Hooman Peiro wrote: hi, I'm working with asterisk on a project and I found a problem with cdr_odbc. As we know, after answering each call a cdr event is raised which is saved in cdr_csv and cdr_odbc. but

Re: [asterisk-users] Cdr problem

2009-03-09 Thread Tilghman Lesher
On Monday 09 March 2009 01:28:49 pm Anthony Francis wrote: Tilghman Lesher wrote: On Friday 06 March 2009 11:24:46 pm Hooman Peiro wrote: hi, I'm working with asterisk on a project and I found a problem with cdr_odbc. As we know, after answering each call a cdr event is raised which is

[asterisk-users] Cdr problem

2009-03-06 Thread Hooman Peiro
hi, I'm working with asterisk on a project and I found a problem with cdr_odbc. As we know, after answering each call a cdr event is raised which is saved in cdr_csv and cdr_odbc. but here my point is on cdr_odbc. some information, including start_time and end_time is given by cdr event but the

Re: [asterisk-users] CDR problem with call transfer

2006-10-05 Thread Mojo with Horan Company, LLC
I could be wrong, but I think the ForkCDR Application might help you: http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+ForkCDR Moj Kamran Ahmad wrote: Hi i am using call transfer feature between three parties. dial(sip/${EXTEN}||t) it is working perfectly but the problem is that

[asterisk-users] CDR problem with call transfer

2006-10-04 Thread Kamran Ahmad
Hi i am using call transfer feature between three parties. dial(sip/${EXTEN}||t) it is working perfectly but the problem is that cdr is incorrect. here is the call senrio A-B (A calls B, A and B connected) B-C (B transfer call to C) A-C (C got ringing, B Hangup, A and C connected) in cdr

[Asterisk-Users] CDR problem with TAPI

2006-03-21 Thread Koopmann, Jan-Peter
Hi, we just noticed a strange CDR problem. We are using individual phone numbers for all our SIP phones. During dialout we do a database lookup in order to set the correct callerid (e.g. phone has number 100 but in external calls this should be displayed as CID -20). This works like a charm and

Re: [Asterisk-Users] CDR problem - incorrect time

2006-01-13 Thread Ben Higley
I have written my own AGI CDR logging application. I set certain variables, and then extract them out of the channel using the agi. Run what I need with it, and then post it. Upon hangup (run a deadagi) and the channel still has the variables in it, so i finish up. It has worked rock solid.

Re: [Asterisk-Users] CDR problem - incorrect time

2006-01-12 Thread Simone Cittadini
Chris Mason (Lists) ha scritto: We have a billing system that depends on the CDRs. We had a guest that made a one minute call to a local cellphone, this call went out Zap channel through our channel bank. The CDR recorded a 200 minute call, but I checked with the Telco's records and it had

[Asterisk-Users] CDR problem - incorrect time

2006-01-10 Thread Chris Mason (Lists)
We have a billing system that depends on the CDRs. We had a guest that made a one minute call to a local cellphone, this call went out Zap channel through our channel bank. The CDR recorded a 200 minute call, but I checked with the Telco's records and it had terminated after one minute. What

Re: [Asterisk-Users] CDR problem - incorrect time

2006-01-10 Thread C F
Just a quick guess tells me its hangup detection failure. On 1/10/06, Chris Mason (Lists) [EMAIL PROTECTED] wrote: We have a billing system that depends on the CDRs. We had a guest that made a one minute call to a local cellphone, this call went out Zap channel through our channel bank. The

[Asterisk-Users] CDR problem

2005-12-09 Thread Edwin Lam
hi folks. i'm trying to make CDR record the ID of the phone unit that perform a transfer or forward function. but no matter what i do it seems like CDR only record the original caller ID of the call in the src field. for example if someone call in on a zap channel with caller ID '' and

[Asterisk-Users] CDR problem with DST Channel

2005-10-10 Thread pbx
I have 3 different SIP extensions in my DIAL string. i.e. I have HOME_PHONES_TO_RING=SIP/2000SIP/2001SIP/2002 so in my Extensions file i have Dial(${HOME_PHONES_TO_RING},30,tTr) So... when the home phone line rings, all three phones ring. Anyways.. the problem is.. in the CDR log, sometimes

[Asterisk-Users] CDR problem

2005-09-24 Thread FaberK
Hi to All, I've an Asterisk CVS Head working with Mysql. My problem is that instead of ANSWERED or something like, into the CDR database records, I find only numbers. This is also a problem to let ASTPP works, infact I receive an error: ERROR - ERROR - ERROR - ERROR - ERROR DISPOSITION NOT MATCHED

Re: [Asterisk-Users] CDR problem

2005-09-24 Thread Darren Wiebe
Could you post an example of you cdr output. The ASTPP question would be better put on astpp-users. Visit http://aleph.aleph-com.net/mailman/listinfo/astpp-users to subscribe. Darren Wiebe [EMAIL PROTECTED] FaberK wrote: Hi to All, I've an Asterisk CVS Head working with Mysql. My problem

Re: [Asterisk-Users] CDR problem with macros

2004-01-17 Thread Olle E. Johansson
Philipp von Klitzing wrote: Hi there, whenever I use a macro to dial out I see only s recorded in the dst field of the CDR. Is there anyway to get around that problem except for not using a macro? Example: ) Try to match every extension before dialing out instead, using s is a bad thing for

[Asterisk-Users] CDR problem with macros

2004-01-16 Thread Philipp von Klitzing
Hi there, whenever I use a macro to dial out I see only s recorded in the dst field of the CDR. Is there anyway to get around that problem except for not using a macro? Example: [default] exten = 1234,1,macro(dial-out) [macro-dial-out] exten = s,1,Dial(SIP/test,30,r) Now, I can probably