search for: resetcdr

Displaying 20 results from an estimated 213 matches for "resetcdr".

2009 Jul 15
1
ResetCDR after GotoIf doesn't set dst correctly, Is this a bug?
(Both on Asterisk 1.2 and 1.4) I was struggling to find out why my CDR was recording dst = h after a call hangup. It was working fine until I added a GotoIf statement before ResetCDR to calculate some value for userfield column. Today I tested and found out that if ResetCDR is put after GotoIf (or after if in AEL), it doesn't record correct value in dst column, and isntead puts 'h' there. If GotoIf removed, it works fine. Is this is a bug, or is this how it is supp...
2013 Oct 04
1
multiple resetcdr calls have no effect
Hi All My dial plan has the following context: [sip-guest] exten => _!.,1, Answer exten => _!.,n, verbose(1,[${EXTEN}@${CONTEXT}]) exten => _!.,n, resetcdr(w) exten => _!.,n, resetcdr(w) exten => _!.,n, set(DNIS=${EXTEN}) exten => _!.,n, resetcdr(w) exten => _!.,n, hangup() I expected at least 3 CDR's in MySQL. I see only one. Tried playing with cdr.conf settings but app...
2009 Dec 03
1
only the first ResetCDR works after upgrade to 1.6
...ing, but more in a logging fashion, to record how a given call branches through the dialplan, the selections the caller makes, info retrieved from other sources, etc. The cdr_addon_mysql module loads; I have a working cdr_mysql.conf; MySQL is running; etc., etc., etc. The fact that the first time ResetCDR is called it writes out a CDR shows that all the right pieces are in place, so it isn't any of the basic installation, set-up and config issues. By way of debugging, I pulled cdr_addon_mysql.c out of SVN (from asterisk-addons/branches/1.6.2) and added a bunch of debug assertions amidst the cod...
2008 May 05
2
ResetCDR() - v 1.4.19.1
Hello,I was using the ResetCDR() right after my IVR answered the calls to set them unanswered until or if somebody pick up the callI just upgraded to version 1.4.19.1 and now ... when the ResetCDR() function is called it seems to just erase the recordIs there another to set the status of the call unanswered ? is it a bug ?Thanks...
2010 Jul 12
0
ResetCDR not working after forced hangup
...dialing (Hangup()), CDR's don't write to MySQL or CSV. Otherwise, if Hangup() is after Dial(), CDRs write normally. Here is the dialplan: ; we skipped dial, because the number is "blocked" exten => _X.,n(Finish),Hangup() exten => h,1,NoOP("hangup") exten => h,2,ResetCDR(w) exten => h,n,NoCDR() exten => h,n,GotoIf($["${BLOCKED}"="1"]?Bl) And asterisk verbose log -- Executing [370xxxxxxxx at NPDB2:78] Hangup("SIP/1002-00000201", "") in new stack == Spawn extension (NPDB2, 370xxxxxxxx, 78) exited non-zero on '...
2009 Mar 12
4
log to cdr each dialpan action, not only one record for each call
...lated to a call? I mean, not only the lastapp e the lastdata but all the dialpan actions! I know that the actual CDR system store one record for each call (and for billing purposes this can be correct) but in some cases the approach needed is something similar to the queue_log. I know that exists ResetCDR and ForkCDR but they don't do what i need, expecially because they fill-in lastdata and lastapp with "ResetCDR" So, what can i do? Is it better to do some customization to generate a CDR event on each dialplan step or is better to parse the logfile and extract the information needed...
2004 Jan 23
1
exten=>h and ResetCDR
...ntry exten => h,Hangup in my extensions.conf, and I am trying to record the call details for billing. From the wiki i found out that the use of "exten=>h,..." is not suggested for the CDRs. What impact will the use of 'h' make on CDRs? Also, what is the advantage of using ResetCDR with exten=>h? Regards... Girish _________________________________________________________________ Easiest Money Transfer to India. http://go.msnserver.com/IN/41490.asp Send Money To 6000 Indian Towns.
2010 Dec 22
0
CDR on MySQL
What would it do if you exten => h,1,ResetCDR(w) exten => h,2,NoCDR() exten => h,3,DEADAGI(get-unqiueid.php) I have not tried it but in theory it should write the first CDR and then kill the write of the second NO ANSWER CDR. Let me know if it works for you as I may need to do it on some of my h exten code as well. Bryant ---------...
2004 Jan 19
3
Getting correct CDR info
...tice that if a call come in and gets parked the CDR info doesn't how the correct info on who picked that call up, also when someone transfer a call there isn't a new record being made so the duration of the call shows up for who received the call and transferred it. I started playing around resetCDR and that does help in some cases. Just want to make sure I'm not just messing something. Thanks, Jimmy Riley
2003 Oct 07
1
[PATCH] allow announcements in app_dial
...*number, *rest, *cur; char privdb[256] = "", *s; + char announcemsg[256] = "", *ann; struct localuser *outgoing=NULL, *tmp; struct ast_channel *peer; int to; @@ -344,8 +345,10 @@ int allowredir_out=0; int allowdisconnect=0; int privacy=0; + int announce=0; int resetcdr=0; int clearchannel=0; + int cnt=0; char numsubst[AST_MAX_EXTENSION]; char restofit[AST_MAX_EXTENSION]; char *transfer = NULL; @@ -419,6 +422,16 @@ } else if (strchr(transfer, 'C')) { resetcdr = 1; } + /* XXX ANNOUNCE SUPPORT */ + else if ((ann = strstr(transfer, "A...
2007 Apr 27
2
CDR changes in 1.4.3?
...DR for the call itself I also have records to 's' in the same dest-context and entries to 's' in the default context. Up to 3 CDRs are generated for one outgoing call (SIP -> Zap channel) with one being the legit CDR and two being the type described above. My dialplan executes a ResetCDR after calling the lcr macro so that the CDR is sane and accurate, however, it appears these "spurious" CDR entries are generated by the call the ResetCDR even though I do not call it with any options. Am I missing something obvious here? I have read the ChangeLog but I didn't see any...
2004 Jan 08
4
2nd call leg status?
Hi, okay heres what I want to do .. simple ivr, we take a call, answer it, play a menu, dial out based on options. No problems so far. The CDR always shows the call as answered as I answer the 1st leg to play the prompts, I am actually more interested in if the 2nd leg - the outbound part - has been answered or not before the call is hungup. How can I get this and record the information in
2007 Jun 06
1
CDR changes in 1.4.3?
Hey, I just found this in ML archives. I have pretty the same situation - i had very well written CDR processing engine on asterisk, making use of ResetCDRs, however now when we're migrating to 1.4, it's a bit pain to deal with extra CDR records. My engine is built so that MYSQL CDR can be used directly for reports (imagine - you get whatever report you need immediately). So, this way i don't have much processing abilities to remove unnece...
2005 Oct 17
0
Solved? => Playback audio before answered by a queue member
Regarding my previous post: "Playback audio before answered by a queue member" I added a ResetCDR() command at the middle: exten => XXXXXXXXXX,1,Background(audiofile) ;answers the channel immediately exten => XXXXXXXXXX,2,ResetCDR() ;clean slate exten => XXXXXXXXXX,3,Queue(Qname|tdn|||) ;new answer time written Looking at the CDR, the billsec is no longer the same as duration. This...
2007 Sep 21
1
Authenticate() application and CDR
Dear all, I'm trying to configure Asterisk to be able to ask the caller to enter a given password in order to continue dialplan execution. I've tested this feature using the Authenticate application like this: exten => _X./5219,1,Answer exten => _X./5219,2,Authenticate(1234,a) exten => _X./5219,3,Playback(pin-number-accepted) exten => _X./5219,4,Dial(SIP/${EXTEN},120)
2010 Dec 20
2
Unexpected dialplan match
...t '_*[0-9a-zA-Z].*0.' => 1. NoOp(${EXTEN}) [pbx_config] 2. Set(accountcode=${CUT(EXTEN,*,2)}) [pbx_config] 3. Set(extension=${CUT(EXTEN,*,3)}) [pbx_config] 4. Set(CDR(accountcode)=${accountcode}) [pbx_config] 7. ResetCDR() [pbx_config] 8. ... -- Daniel Tryba
2008 Mar 11
3
Call tracing - Asterisk 1.4
Hi guys I've just read this about the upcoming release of * 1.6: ?Better reporting through a new call event logging capability in Asterisk 1.6 will allow complete tracking of events that take place during a call. The goal, according to Fleming, is to provide more detail than traditional CDR (Call Detail Recording) features offer and to allow for more granular tracking and auditing.? That
2003 Dec 14
1
Error loading modem driver
...ion 'Goto' [GotoIf] == Registered application 'GotoIf' [GotoIfTime] == Registered application 'GotoIfTime' [Hangup] == Registered application 'Hangup' [NoOp] == Registered application 'NoOp' [Prefix] == Registered application 'Prefix' [ResetCDR] == Registered application 'ResetCDR' [ResponseTimeout] == Registered application 'ResponseTimeout' [Ringing] == Registered application 'Ringing' [SayNumber] == Registered application 'SayNumber' [SayDigits] == Registered application 'SayDigits'...
2009 Mar 30
2
Newbie trying to make calls outside via digium card and POTS line
...e a call, I receive the "cannot be completed as dialed" message. The log for the event in question is: [Mar 30 10:51:22] VERBOSE[1944] logger.c: -- Starting simple switch on 'Zap/3-1' [Mar 30 10:51:30] VERBOSE[1944] logger.c: -- Executing [18585300400 at from-internal:1] ResetCDR("Zap/3-1", "") in new stack [Mar 30 10:51:30] VERBOSE[1944] logger.c: -- Executing [18585300400 at from-internal:2] NoCDR("Zap/3-1", "") in new stack [Mar 30 10:51:30] VERBOSE[1944] logger.c: -- Executing [18585300400 at from-internal:3] Wait("Za...
2005 Sep 14
1
TE110P - Asterisk@Home Install Problems
...' -- Starting simple switch on 'Zap/14-1' -- Executing Playback("Zap/7-1", "vm-goodbye") in new stack -- Playing 'vm-goodbye' (language 'en') -- Executing Macro("Zap/7-1", "hangupcall") in new stack -- Executing ResetCDR("Zap/7-1", "w") in new stack -- Executing NoCDR("Zap/7-1", "") in new stack -- Executing Wait("Zap/7-1", "5") in new stack -- Executing Playback("Zap/14-1", "vm-goodbye") in new stack -- Playing 'vm-...