similar to: Modifying CDR values from a hangup extension in Asterisk 13

Displaying 20 results from an estimated 5000 matches similar to: "Modifying CDR values from a hangup extension in Asterisk 13"

2015 Aug 04
2
Modifying CDR values from a hangup extension in Asterisk 13
With endbeforehexten=no I actually get two CDR entries. One for the call and a second one for the "h" extension. "","13","10","sip-locals","""13"" <13>","SIP/13-00000006","SIP/10-00000007","Dial","SIP/10","2015-08-04 06:28:44","2015-08-04
2018 Feb 20
2
Modifying CDR values from a hangup extension in Asterisk 13
Hi, Reading this old thread, may I ask if keeping hangup handlers from updating CDR values still enforced in Asterisk 15 ? If positive, would it be very complex to add in Asterisk, a configuration option allowing a system administrator to list in cdr.conf, the CDR fields allowed to be updated in hangup handlers ? I'm planning to store some RTCP stats. Saving them in CDR(userfield) would be
2014 Nov 20
1
Asterisk13 don't execute h exten inside macros
Hi, We are try new Asterisk13 and was noted it don't execute h exten priorities inside macros. We have a macro where we make all our call processing, and we use h exten inside it for billing (updating CDR(vars)). If context where that macro is called have some h extens, asterisk execute them. So, I wonder, h exten inside macros was deprecated? Thanks in advance. Atenciosamente,
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
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
2015 Oct 09
2
Storing HANGUPCAUSE in CDR
This was always possible in the past, however does not work in the current release. I believe this is a bug. To: asterisk-users at lists.digium.com From: cervajs at fpf.slu.cz Date: Fri, 9 Oct 2015 10:04:47 +0200 Subject: Re: [asterisk-users] Storing HANGUPCAUSE in CDR search in archives save the records to another table like cdr_extended Dne
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
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 =>
2006 Feb 01
1
SetCDRUserField not working in A@H?
I have A@H 2.1, running * 1.2.1. I am trying to put information into the userfield with SetCDRUserField and AppendCDRUserField. However, the field is never populated in the cdr - I've checked the csv files and the MySQL asteriskcdrdb table. The field is defined in the MySQL table, but is always empty. The csv files that get created don't have a userfield at all, that is, there
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
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
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
2009 Aug 08
1
A problem with recoding agents calls via monitor
Hello everyone, I can not get the name of the recoding file of agents calls. I set agents.conf as following: ; Enable recording calls addressed to agents. It's turned off by default. recordagentcalls=yes ; ; The format to be used to record the calls (wav, gsm, wav49) ; By default its "wav". ;recordformat=gsm ; ; Insert into CDR userfield a name of the the created recording ; By
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
2007 Dec 06
3
CDR Function in Hangup Channel
So... I'm trying to access CDR(duration) and CDR(billsec) inside h... I keep getting 0. Can I access the CDR function inside a hangup extensions? Asterisk 1.4.13 Thanks, Doug. ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
2011 Aug 05
1
No more CDR record for simple Hangup?
I am using the new 1.8.5 and I just found out that Asterisk won't record the call if the call just hangup. I did a test like this: exten => 1009, 1, Hangup() Then I called 1009: == Using UDPTL CoS mark 5 == Using SIP RTP CoS mark 5 -- Executing [1009 at init-1005:1] Hangup("SIP/1007-0000003c", "") in new stack == Spawn extension (init-1005, 1009, 1)
2010 Dec 21
1
SOLVED: Re: Setting `userfield` from within a callfile
On Monday 20 Dec 2010, Olivier wrote: > 2010/12/20 A J Stiles <asterisk_list at earthshod.co.uk> > > > Our current Asterisk 1.6.2.9 setup includes a CGI auto-dial application > > (written by someone else before me) which sets up calls by creating > > files of > > the general form > > > > Channel: SIP/$INSIDE_NUMBER > > Context: $CONTEXT >
2007 Dec 06
1
Dial() Macro option error in 1.4.15
After updating to 1.4.15, I have the following issue: When I try to use the "M" macro option in the Dial() option, I get the following in the console: -- Executing Dial("Zap/1-1", "Zap/g2/w5051234|60|M(set-userfield^local)KT") -- Called g2/w5051234 -- Zap/3-1 answered Zap/1-1 [Dec 6 12:10:58] ERROR[19496]: app_dial.c:1541 dial_exec_full: Unable to start
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
2010 Dec 20
2
Setting `userfield` from within a callfile
Our current Asterisk 1.6.2.9 setup includes a CGI auto-dial application (written by someone else before me) which sets up calls by creating files of the general form Channel: SIP/$INSIDE_NUMBER Context: $CONTEXT Extension: $OUTSIDE_NUMBER Priority: 1 CallerId: $INSIDE_NUMBER in /var/spool/asterisk/outgoing/ . It works very well. However, it would be nice to be able to attach an additional