Displaying 20 results from an estimated 59 matches for "forkcdr".
2008 May 27
2
ForkCDR
Hello, CDR fans!
I'm looking at some issues brought forward over time:
12726/10668: someone wants me to revert the changes I made via
bug 10668, last Sept; (that's
they are messing him up. And I didn't do the change
suggested in ForkCDR, for fear of lousing up
folks depending on current behavior. Which probably sparked:
11721 : ForkCDR's not yielding CDR with proper duration/billsec.
Add to that some calls I've gotten recently from "dude" on forkCDR
messing up the answer() times.
My thoughts: Whatev...
2008 Dec 07
0
Unexpected behaviour in ForkCDR
...risk 1.6.0.1 installation. The same code runs on version 1.2
without problems, but it seems the behaviour has changed (also on 1.4.7,
which I tried).
Please consider the following extension:
exten => 1213,1,Answer
exten => 1213,n,Set(counter=X)
exten => 1213,n(again),Set(CDR(accountcode)=forkcdr-test)
exten => 1213,n,Set(CDR(userfield)= ${counter})
exten => 1213,n,ForkCDR()
exten => 1213,n,Playback(one-moment-please)
exten => 1213,n,Wait(3)
exten => 1213,n,Set(counter=X${counter})
exten => 1213,n,Goto(again)
exten => 1213,n,Hangup
If left running, the above code shoul...
2009 Jan 16
2
CDR problems -- two call legs create only one CDR. Using ForkCDR() not even working.
...nd outgoing call (attempting to simulate
call-forwarding) I'm only getting one CDR -- that of the outgoing call.
A (PSTN) calls B (residing on Asterisk) and the Asterisk calls C (cell phone
on PSTN) and bridges the call.
The only CDR created is from B to C. I have even tried using Answer() and
ForkCDR() to get two CDRs, but to no avail.
I am starting to wonder if there's a bug in the CDR generation in general,
because I set up an extension to do only that:
exten => 5822558,1,Answer()
exten => 5822558,n,ForkCDR()
exten => 5822558,n,Playback(tt-monkeys)
exten => 5822558,n,Hangup()...
2008 Feb 18
1
ForkCdr in 1.4.*
Hello,
I'm looking for a way to restore old behaviour (before Arkadia patch
#0010668) of ForkCDR application in 1.4.18
I've done some research directly in the code (cdr.c & forkcdr.c), but
can't find any flag.
I am just f*c*ed or do you have something to suggest ? :)
Thank you for help.
Mathieu
2006 Nov 08
0
Warning: "Channel does not have a CDR" when doing ForkCDR
Gang,
I'm having this error pop up when I do a ForkCDR, and I'm not sure how
to get around it. Here are a few log lines:
Nov 8 10:37:08 VERBOSE[28079] logger.c: -- Executing
ForkCDR("Zap/49-1", "") in new stack
Nov 8 10:37:08 WARNING[28079] app_forkcdr.c: Channel does not have a
CDR
The scenario occurs like this:
I use...
2007 May 15
2
Originate and ForkCDR()
Hi,
I'm tryng to place a call through Asterisk Manager Originate Action.
Since I want separate CDR for each of the two legs of the call, I'm
forking CDR with ForkCDR as the first Channel has picked up.
The problem is that, while the first CDR is fine, in the second one the
"answer" field is always empty, "billsec" field is 0 and "disposition"
field is always set to "NO ANSWER". Is there something I'm missing?
Thanks...
2004 Dec 02
0
ForkCDR app call disposition ALWAYS says ANSWERED??????
Hi Guys,
The ForkCDR is doing pretty well, except for the call disposition. The time stamps are great, but the disposition always reads answered, even when the call is busy or not answered at all. It should read BUSY and NO ANSWER. I can send a snippet of the CDR record with forked calls for an example if needed. I...
2011 Sep 22
2
ForkCDR and asterisk 1.6.1
...'ve got a single CDR
entry like this:
SIP/baz SIP/bar time_when_foo_started_to_ring
time_when_bar_ended_talking ANSWERED
How can I get two CDR entries :
- one for the unanswered call from SIP/baz to SIP/foo
- and one for the answered one from SIP/baz to SIP/bar ?
I've read about ForkCDR app but from reading its embedded doc, I couldn't
find if and how I could get the result I'm after.
What would you suggest ?
Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110922/70...
2009 Aug 06
1
ForkCDR and setting the account info?
I've been Googling all morning and searching voip-info.org but not quite
finding what I'm looking for.
I've read that you can modify the billing/account information on a CDR via
AGI but I can't find an example or a "how to".
I'd like to then assign specific accounts in the CDRs. Possible?
Thanks,
PB
-------------- next part --------------
An HTML attachment was
2004 Dec 28
1
Asterisk consuming 100% CPU - CDR loop
...that it was looping because
cdr->next->next == cdr in ast_cdr_setapp().
I patched this up with some simple code in ast_cdr_append(), but that's
just masking the bug.
The only place were cdr->next is set is in ast_cdr_append(), and this (as
far as I can tell) code is called from ForkCDR() and the Zap channel
transfer logic (also from SIP, but SIP is not involved here). I do a
ForkCDR() somewhere before Dial() so I think my dialplan hits both (people
dial in through Zap and out again through Zap). And the trouble started
when I added ForkCDR() to the dialplan.
I suspect th...
2006 Jan 28
3
(Un)PauseQeueMamber usage
Does anyone have an example of hoe to use these two commands? I have read he
documentation, and I am still unclear on where this command goes, as part of
extensions.conf or where?
If someone could post a working example it would be most helpful.
Regards to all,
Joe
2009 Mar 12
4
log to cdr each dialpan action, not only one record for each call
...ll?
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?
I'm u...
2007 Jun 12
3
CDR changes in Trunk -- Transfers, CDRs, Life, and Everything
...//www.asterisk.org/node/48358
to describe what I will shortly be committing to trunk to correct the
weaknesses of CDRs, that asterisk users and developers have been
complaining about for quite some time.
Highlights: Restructuring the code and philosophy of CDRs.
Plans to eliminate the ForkCDR() application
Plans to create the CDRstart(),
CDRanswer(handle),
and CDRclose(handle) functions to provide
dialplan ability to create CDR records.
(I am considering restructuring the CDR function, al...
2010 Sep 23
1
Forking a call
...to send calls in my out context back
to my in context, some channel variables get mixed up, and (for example)
when the calling part puts the called party on hold, the music on hold used
is the called party's music. I am sure there are some less benign problems
that could come with that.
Is ForkCDR() what I am looking for? Any things I gotta watch out for when
using it?
I basically would like Asterisk to treat this call as two separate calls, as
if one was completely outbound and the second an independant inbound call.
Mike
-------------- next part --------------
An HTML attachmen...
2009 Apr 14
4
Ignoring time spent waiting in queue in CDR
...e out the end time of the call by adding
the CDR start time to the duration, then figure out the actual
duration by subtracting the time of the queue "CONNECT" record. That
seems messy and error-prone, and I'm hoping there's a better way.
I also looked at using the ResetCDR() or ForkCDR() dialplan functions,
but I don't see a way to cause code to run immediatly after the agent
answers a call from the queue.
Any suggestions? Am I missing some easy way of doing this?
Thanks!
----Scott.
2006 May 16
0
Need help with Dial M option and destination context
...SayDigits(${ARG1})
exten => s,n,WaitExten(1.5)
exten => s,n,Set(AGENT_TRIES=$[${AGENT_TRIES} + 1])
exten => s,n,GotoIf($[${AGENT_TRIES} > 40]?10:repeat)
exten => s,n,Noop(How did I get here?!)
exten => 1,1,Noop(Agent pressed ${EXTEN} - call being transferred)
exten => 1,n,ForkCDR() ; start new CDR if call actually got xfer'd
exten => 1,n,Noop(All done here!)
exten => t,1,Noop(Agent timeout, dropping call anyway)
exten => h,1,Hangup
exten => i,1,Noop(Invalid entry, dropping call to agent)
exten => 10,1,Playback(vm-goodbye)
exten => 10,n,Noop(Agen...
2020 Jan 28
0
How to correctly fork a CDR for billing in a call forwarding scenario?
...Bob has call forwarding delayed 20s to Charlie.
Charlie picks up immediately.
exten => bob,1,DBget(cfwdly=CFDLY/${exten}); $cfwdly contains charlie
same => n,Set(CDR(src)=${CALLERID(number)}) ; src 'alice'
same => n,Set(CDR(dst)=${exten})
same => n,Dial(bob,20)
same => n,ForkCDR
same => n,Set(CDR(src)=bob) ; 2nd cdr src shall contain 'bob'
same => n,Set(CDR(dst)=${cfwdly})
same => n,Set(CALLERID(number)=bob)
same => n,Dial(${cfwdly})
Now assume a call of 1 minute.
For billing purposes, I need 2 CDRS.
Billing to Alice: Call of 40 seconds to Bob.
B...
2013 Sep 19
1
How to customize CDR(src) value ?
...6789 while I would prefer a
normalized +34123456789.
Whenever I change CallerID presentation, the updated value persists in
CDR(callerid) which matches my needs.
Unfortunately, for CDR(dst), I'm still looking for an appropriate function
or application.
Looking at Asterisk doc, I saw NoCDR and ForkCDR apps but couldn't link
those to what I'm after.
How can I (re-)set CDR(src) value ?
Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130919/8485cc84/attachment.htm>
2014 Jun 10
1
CDR custom variable on second call leg - via originate or .call file
...unt: teste-geada
Context: TiagoGeada
Extension: outbound
Archive: Yes
## dialplan
queue => {
Set(CDR(remoteUid)=foo);
Queue(TiagoGeada,t,,,100);
Hangup();
}
outbound => {
//NoCDR();
//ForkCDR(vdD);
//ResetCDR(v);
Set(CDR(remoteUid,r)=bar);
Dial(Local/932485457 at outbound,,gT);
Hangup();
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-u...
2010 Jul 06
2
Can't dial out through AMI
...ternal number reachable from regular SIP user account)
Here's the accept context:
[accept]
include => incoming
include => outbound-pbx
exten => s,1,Answer
exten => s,n,Playback(custom/msg1)
exten => s,n,Background(custom/how-to-ack)
exten => s,n,WaitExten(5,m)
exten => 1,1,ForkCDR(v,s(fullcmd=${Data}))
exten => 1,n,Background(${Data})
exten => 1,n,Background(discon-or-out-of-service)
exten => 1,n,WaitExten(5,m)
exten => 1,n,Hangup
exten => 2,1,Background(de-activated)
exten => 2,n,ForkCDR(v,s(reject=${Data}))
exten => 2,n,Hangup
exten => 3,1,Goto(acce...