Displaying 20 results from an estimated 6000 matches similar to: "AMI - Originate Action and Busy, NoAnswer calls - CDR"
2007 Feb 01
1
API Originate Action - distinguishing between No Answer and Invalid phone number
I've discovered that when dialing out using API's Originate action, a no
answer is considered a failed attempt, while a busy is considered a
successful attempt. The problem I'm having is that when I dial an
invalid number, say a disconnected number that gives a fast busy, my
CDRs are identical to those generated by a no answer attempt.
Is there a way to distinguish between a no
2019 Jan 09
2
Switched from Asterisk 1.8 to 13 - CDR ringtime now always zero (Joshua C. Colp)
Regarding this I've read the specs linked to in detail, but I can find no mention anywhere of any change that implies or states that no ring time will be recorded anymore in Asterisk 13 and that all times in start and answer columns will now be equal for all calls.
Can this be because I nowhere use the Answer() application in my dialplan when dialing out?
-----Original Message-----
From:
2004 Dec 03
2
DIALSTATUS weirdness (CHANUNAVAIL instead of BUSY, NOANSWER instead of CHANUNAVAIL)
Just throwing this out here, hopefully someone can tell me why.
*CLI> show version
Asterisk CVS-HEAD-11/17/04-10:16:38 built by root@wanderer on a i686 running
Linux
Zap/g1 is pri_cpe to Bell Canada
5551234 is a normal POTS line I have busied out (handset offhook)
exten => 1234,1,Dial(Zap/g1/5551234,,g)
exten => 1234,n,NoOp(HANGUPCAUSE is ${HANGUPCAUSE} and DIALSTATUS is
2009 Jun 30
1
Setting CDR(userfield) from Macro called from feature doesn't work with cdr_mysql
cdr_mysql doesn't set the userfield when it's set inside a macro
called from a feature (1.4.25, addons 1.4.8).
I have a feature code:
autorecord => *1,self,Macro,apprecord
The apprecord macro looks like:
[macro-apprecord]
exten => s,1,Playback(beep)
exten =>
2009 Jul 15
0
Howto change CDR record on calling channel from called thread?
I'm tearing (what's left of) my hair out on this one :-(
<shortform>
How can I set the CDR(userfield) in the calling thread from the dialplan
(actually a macro called from a feature) in the called thread?
<long version>
I use mixmonitor to record calls driven by entries in the asterisk
database for selected phones. As part of this dialplan, I set the
CDR(userfield) to the
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
----------------------------------------
From:
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 =>
2008 Jan 09
2
Set CDR userfield in a realtime dialplan
Hello,
I'm using Asterisk with Realtime extensions and ODBC CDR. And I'm have
some trouble with the CDR userfield that is not changed when using the
SET command in the realtime dialplan.
In my dialplan (extensions.conf, the file) I'm setting the userfield
like this :
exten => s,n,Set(CDR(userfield)="X")
Later, my dialplan switches to the realtime part and this is an
2014 Nov 20
1
Error saving cdr at h exten in Asterisk13
Dears,
I need to save some information on userfield when calls end in Asterisk13, but I have two error cases:
1. With endbeforehexten=no in cdr.conf, I have a registry in cdr, but userfield is not set.
2. With endbeforehexten=yes, I have two lines in cdr, one with duration, src e dst correct, and a second line with userfield setting and dst h.
I am using cdr_odbc.conf, with Asterisk11.14.0 it
2006 Oct 18
1
question about CDR command
I want to set some custom data in the field of userfield in table CDR
as following.
exten => s,19,Set(CDR(userfield)=1234)
exten => s,20,Dial(SIP/1234)
However, the userfield doesn't get update after making the call.
After that, I relocate the command as following.
exten => s,19,Dial(SIP/1234)
exten => s,20,Set(CDR(userfield)=1234)
The userfield doens't get update at all. I
2007 Nov 05
2
Problem with CDR userfield not being set
I'm trying to use the MySQL CDR records.
According to dialplan show, the line in the dialplan is:
11. Set(CDR(userfield)=${billing_code}) [pbx_ael]
It looks like the value is being set when I watch the console during the call:
-- Executing [s at restphone_event_loop:11] Set("SIP/icall-0075a2e0",
"CDR(userfield)=boatmenu") in new stack
But the record that's
2013 Nov 14
1
DAHDI with (CDR(userfield)
Hi list, I need some help to improve my cdr, now in my company are
asking me how
to know which of my phone numbers are most used when receiving calls from
the PSTN and incoming the IVR
was thinking about using userfield field, and I'm trying to do, I have at
the moment 4 channel DAHDI
; DAHDI CHANNEL 3=23XXXXX6
context=in
callerid=asreceived
group=1
signalling=fxs_ks
channel => 3
2015 Aug 03
2
Modifying CDR values from a hangup extension in Asterisk 13
Hi,
I'm trying to migrate from Asterisk 1.8 to Asterisk 13 and can't figure
this one out. I'm pretty sure the question has been already asked, but I
failed to find a solution.
Can you modify CDR values in an h-extension?
My cdr.conf contains:
[general]
enable=yes
unanswered=yes
endbeforehexten=yes
initiatedseconds=no
batch=no
The diaplan contains a simple "h" extension
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
2012 Oct 18
0
Setting CDR fields in "connected" macro of Queue command
Trying to set some CDR fields in the "connected" macro of a queue
command. None of the custom fields I set are stored in the database,
but I can set "userfield" and it does get set. I think that the macro
runs on the agent's channel, not the caller's, and this might contribute
to the problem.
From the sample below "userfield" (and its alias operatorid)
2013 Nov 20
2
userfield not logged to CDR
Hi,
I'm logging cdr via odbc to mysql. It seems that there is an intermittent problem where the CDR(userfield) isn't written to the database. The rows all seem to be there, but that specific field is missing. The same dialplan. Nothings changed. Probably 1 in 10 is missing the userfield.
Any ideas how I can debug this?
Many thanks
Dan
-------------- next part --------------
An HTML
2009 Nov 08
2
CDR userfield not written into DB
Hi everybody,
i've been googling for quite some time now but can't find an answer to
my problem...
I'm using Asterisk 1.2.12.1 with mysql as the cdr backend.
In the dialplan i've written
exten => 1234,n,Set(CDR(userfield)=blah)
exten => 1234,n,Answer()
exten => 1234,n,Queue(.....)
exten => 1234,n,Hangup()
When I'm doing a call I can see that the statement is
2007 Nov 01
2
hostname in MySQL CDR records
I would like to send the CDR records from all our machines around the
world to a single database. But I need the hostname included with each
record for monitoring purposes.
Is there a better way than using the userfield and adding
SetCDRUserfield for every call to set the userfield to the name of the
host?
Thanks...
2013 Mar 29
1
Asterisk 11 - Change CDR in hangup exten [Was: CDR values changed in hangup handler not saved]
2013/3/29 Julian Lyndon-Smith <asterisk at dotr.com>
> check out the endbeforehexten option in cdr.conf
>
> this needs to set to "yes"
>
> Julian
>
Unfortunately, this doesn't help.
Let's drop the hangup handler at the moment, and focus on the "saving to
file" part.
Then my issue is I can't update CDR value is hangup exten.
Here is a
2009 Sep 06
0
Preserve userfield on CDR on attended transfer
I'm attempting to link calls together in my CDR and would like to try to do it via the userfield. Is there any way to copy the userfield between calls when doing an attended transfer? I can't seem to find anything about it searching Google.
-Jon