Displaying 20 results from an estimated 4000 matches similar to: "How to customize CDR(src) value ? [SOLVED]"
2013 Sep 19
1
How to customize CDR(src) value ?
Hi,
Asterisk 11 doc says CDR(src) value is read-only (see
https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+Function_CDR).
For various reasons, I would appreciate to change its value so that it my
own presentation rules instead of telco rules.
Very often, I'm connected to telcos through DAHDI (and ISDN).
For instance, telco presents calls with 123456789 while I would prefer a
normalized
2013 Jun 20
0
Customer src in CDR with incoming sipp calls
Hello,
I'm stressing an Asterisk 11 platform with incoming calls from sipp 3.1.
I've dedicated a context to sipp in my dialplan.
Everything works OK expect that calls from sipp comes in with a CallerID
set to sipp and this sipp value is stored in CDR.
1. I can change the value of the CallerID but how can I have the calls from
sipp traced in CDR with a customized src field value ?
2008 Dec 29
1
1.6, CDR and h extension
I have two version 1.6 Asterisks running. One is a small hobbyist
thing just at home, and the other is handling calls for several
customers.
On both, I have added the line
exten => h,1,Set(CDR(hangupcause)=${HANGUPCAUSE})
to all relevant contexts.
On my little hobbyist box this works perfectly; all calls have their
hangupcauses recorded with cdr_adaptive_odbc and cdr_custom. On the
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 a .call file to generate a call on
2009 Jan 16
2
CDR problems -- two call legs create only one CDR. Using ForkCDR() not even working.
Hello,
When I bridge an incoming and 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
2004 Dec 28
1
Asterisk consuming 100% CPU - CDR loop
Hi,
I had Asterisk threads consuming 100% CPU at times since last week. Of
course, last week an extra card was installed (we had a 1PRI, a 4PRI was
added) so search concentrated on that, but to no avail. Today, I installed
DDD on the machine and quickly found out that it was looping because
cdr->next->next == cdr in ast_cdr_setapp().
I patched this up with some simple code in
2011 Jan 28
1
CDR issue - Problem logging CDR(userfield) in Master.csv
Dear all,
I am having an issue with CDR logging. What I want to do is log jitter
variable from RTPAUDIOQOS module into Master.csv at the end of each call.
I am using asterisk version 1.4.26. For CDR purposes, I am using
cdr_custom, and the content of my cdr_custom.conf is the following:
[mappings]
Master.csv =>
2020 Jan 28
0
How to correctly fork a CDR for billing in a call forwarding scenario?
Hi Gang
I have not yet managed to find a solution to correctly generate CDRs
for this situation:
Alice calls Bob.
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 =>
2014 Jan 08
0
(CALL FILES to Local Channel)billsec Zero in cdr via cdr_adaptive_odbc
Hi, all
Sorry for null subject last mail.
I use Ubuntu 12.04.01 TLS and install asterisk 11.7.0 (tar.gz downloaded
from asterisk.org). We named it "Asterisk11".
I want to generate a call file to /var/spool/asterisk/outgoing. This call
will dial out to Local Channel and return to some Extens.
Then Asterisk11 will generate a CDR records to MySQL's cdr table(in
database
2006 Jan 26
1
CDR logging in /var/log/asterisk instead of MySQL DB
Hi,
I've just reinstalled Asterisk 1.2.3 on a fresh system and since I've
noticed that the CDR logging in MySQL (on a different computer) has stopped.
I thought it wasn't logging anything at all, but I realized after a bit of
searching that there were log files in /var/log/asterisk/cdr_custom and
/var/log/asterisk/cdr_csv with up to date logs.
My cdr_mysql.conf is set up
2006 Jan 26
1
CDR problems
Yes I did. Fair question. I think it`s working, but is there anyway to know
for sure? Show modules show app_cdr.so as existing...
Mike
On Thursday 26 Jan 2006 16:50, Micha?l Gaudette wrote:
> Hi,
>
> I've just reinstalled Asterisk 1.2.3 on a fresh system and since I've
> noticed that the CDR logging in MySQL (on a different computer) has
> stopped. I thought it
2014 Jun 10
1
CDR custom variable on second call leg - via originate or .call file
Hi
We have the following test .call file and test dialplan:
I can't set a custom CDR var to a value on one channel leg, and another
value on the connected channel leg?
Is there a way I can woraround this issue?
## test call file
Channel: Local/queue at TiagoGeada
CallerID: teste-geada:0:210332450:
MaxRetries: 0
RetryTime: 1
WaitTime: 8640
Account: teste-geada
Context: TiagoGeada
2009 Mar 12
4
log to cdr each dialpan action, not only one record for each call
Hi to all.
What can i do if a customer needs to log in the CDR all the dialpan
actions related 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
2007 Jun 12
3
CDR changes in Trunk -- Transfers, CDRs, Life, and Everything
I have created an asterisk.org blog entry:
http://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
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 :
2008 Dec 07
0
Unexpected behaviour in ForkCDR
Dear members of the list;
I am writing in the hope to get some help with a very peculiar problem with
my new asterisk 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 =>
2009 Sep 09
0
Custom CDR Help
So, it's been a while and I am just lately getting back into Asterisk stuff.
I am trying to remember/understand how CDR works and after lots of trial and
error and searching the archives, google etc, I am stuck and have a few
questions.
I have setup custom CDR and am trying to figure out the following:
1- Can I just set a variable like set(SomeVar=SomeValue) Then stick this is
2009 Apr 14
4
Ignoring time spent waiting in queue in CDR
Hello,
I'm working on an Asterisk configuration for a call center, and they
bill based on the time spent talking to an agent, but not for any time
spent waiting in a queue. The CDR information contains the entire
duration of the call as billable seconds, including time spent waiting
in the queue. I would like the billable seconds to only include the
time spent actually talking to an agent.
2005 Feb 22
0
CDR - is this possible
Would I be able to achieve this:
Outside call to Agent A.
Agent A puts call on hold.
Agent A Speaks to Agent B.
Agent A transfers call to Agent B.
In the cdr, I would like records like
call---->A
A---->B
call---->B
In other words, 3 cdr records. One for initial call to agent a, one for
agent a to agent B and a final one for call to agent B.
The calls are being transfered using the
2010 Nov 05
0
Using Dial() but no CDR is generated for this outcall
Hi,
as far as I know my problem is not a bug but wanted behaviour. Let's
assume the following dialplan:
exten => 123,1,Answer
exten => 123,n,Dial(DAHDI/g0/00492112233,20,g)
[...]
exten => 123,n,Hangup
I do an dial-in with my SIP-Client (or phone). The Dial-Application
starts the outdial and I get connected with my partner. After hangup,
only 1 CDR is generated. But I(!) need 2