Displaying 20 results from an estimated 50 matches for "cdr_custom".
2014 Feb 06
0
cdr_custom.conf in V12
Hello Asterisk,
I just got V12 running and all seems well but just now I looked at my CDR logs and they were messed up so I copied over the sample cdr_custom.conf and uncommented the first master line and the simple line and the logs look like:
Simple.csv:
"1391652220","",""
Master.csv
"","","","","","","","","","","&q...
2006 Jun 05
2
Duplicate CDRs
...t;DOCUMENTATION"
How can I configure asterisk not to log to <accountcode>.csv at all and
only log the 18-field line (ie, with uniqueid and userfield) to
Master.csv? I just want everything in one file, one line per record.
cdr.conf has only a '[general]' line -- nothing else.
cdr_custom.conf:
[mappings]
Master.csv =>
"${CDR(clid)}","${CDR(src)}","${CDR(dst)}","${CDR(dcontext)}","${CDR(channel)}","${CDR(dstchannel)}","${CDR(lastapp)}","${CDR(lastdata)}","${CDR(start)}","${CDR(answer)...
2005 Sep 22
0
cdr_custom?
I have a need to use cdr_custom and would like to know if anyone has gotten
it to work with a mysql cdr backend, and any examples if possible
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050922/bca01301/attachment.htm
2009 Feb 25
0
usegmtime=yes for cdr_custom
Hi!
I have set usegmtime=yes in cdr.conf, but unfortunately this is only for
cdr-csv, not for cdr-custom. AFAIS there is no such option for
cdr_custom.conf.
Is there any workaround to get GMT timestamps in cdr-custom too?
thanks
klaus
2007 Dec 26
2
No cdr_csv after upgrade from 1.2.x to 1.4.x
After upgrading from 1.2.x to 1.4.x call detail records are not being
written to /var/log/asterisk/cdr-csv/Master.csv
In cdr_manager.conf I have
[general]
Enabled = yes
Apparently there is something else that needs to be configured for call
detail records in 1.4.x. Can someone point me in the right direction?
Don Pobanz
2007 Feb 15
3
asterisk freeze due to "too many open file" error
...:59:56 WARNING[13725] res_agi.c: unable to create fromast pipe:
Too many open files
Feb 14 15:01:21 WARNING[13729] res_agi.c: unable to create fromast pipe:
Too many open files
Feb 14 15:01:56 WARNING[13744] res_agi.c: Unable to create toast pipe:
Too many open files
Feb 14 15:01:56 ERROR[13744] cdr_custom.c: Unable to re-open master file
/var/log/asterisk/cdr-custom/Master.csv : Too many open files
Feb 14 15:01:56 ERROR[13744] cdr_csv.c: Unable to re-open master file
/var/log/asterisk//cdr-csv//Master.csv : Too many open files
Feb 14 15:02:18 WARNING[13747] res_agi.c: Unable to create toast pipe:...
2008 Apr 11
5
NAT issue with Fortinet Firewall
I have a customer with a Fortinet Firewall that is having stability
issues with Asterisk and SIP endpoints (PAP2T) outside his network.
The first issue I see is that Asterisk sees all phones as the IP
address of the Fortinet. Since the parameter "localnet" defines the
local network and that address falls in that range, how will Asterisk
treat the endpoints? I have
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
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 properly, and I get no indication that the
connection to MySQL is not working properly. Has something changed since
1.2.2 or 1.2.3?
Regards,
Mike
-------------- next part --------------
An HTML attachment w...
2006 Jan 26
1
CDR problems
...st 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.
Did you install asterisk-addons?
B
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060126/327a846a/attachment.htm
2007 Feb 03
1
misdn and prostgres_cdr on asterisk 1.4
...rading an asterisk server from 1.2.4 to 1.4.
i've installed libpri 1.4
i've installed zaptel 1.4
I've installed the new version of misdn with the script of beronet.
i use this configure script:
./configure --with-postgres=/usr/local/pgsql
then:
make menuselect
[*] 1. cdr_csv
[*] 2. cdr_custom
[*] 3. cdr_manager
XXX 4. cdr_odbc
[*] 5. cdr_pgsql
XXX 6. cdr_radius
XXX 7. cdr_sqlite
XXX 8. cdr_tds
and
[*] 9. chan_misdn
then:
make && make install
all works fine
if i start asterisk, my pri configuration and my te205P works fine,
but the BN8S0 and the crd logging doesn't...
2008 Dec 29
1
1.6, CDR and h extension
...st 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
production server, it only works sporadically; for 4 out of 5 calls
the hangupcause field is empty. If I look at the Asterisk console, I
see a message like this for every call:
-- Executing [h at CallToVPBX:1] Set("DAHDI/49-1", "CDR(hangupcause)=16")
in new stack
Un...
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 =>
${CDR(dstchannel)},${CDR(clid)},${CDR(cid-num)},${CDR(dst)},${CDR(start)},${CDR(billsec)},${CDR(disposition)},${CDR(userfield)}
In my dialplan, right before my Hangup() call, I have put the following
(am using...
2007 Apr 18
2
asterisk unable to create files, too many files open
...tion failed: Can't
create alert pipe!
Apr 18 15:40:46 WARNING[11574] channel.c: Channel allocation failed: Can't
create alert pipe!
Apr 18 15:40:46 ERROR[11643] cdr_csv.c: Unable to re-open master file
/var/log/asterisk//cdr-csv//Master.csv : Too many open files
Apr 18 15:40:46 ERROR[11643] cdr_custom.c: Unable to re-open master file
/var/log/asterisk/cdr-custom/Master.csv : Too many open files
Apr 18 15:40:46 ERROR[11645] cdr_csv.c: Unable to re-open master file
/var/log/asterisk//cdr-csv//Master.csv : Too many open files
i tried to increase the number in /proc/sys/fs/file-max , which was:
203...
2007 Sep 22
2
error messages related to mysql in asterisk CLI
...:49 ERROR[3774]: cdr_csv.c:237 csv_log: Unable to re-open master
>file
>/var/log/asterisk//cdr-csv//Master.csv : Permission denied
>
>Permission error try chowning the directory to user which asterisk runs on
>OR chmod 777 /var/log/asterisk/* -R
>
>Sep 21 20:31:49 ERROR[3774]: cdr_custom.c:127 custom_log: Unable to re-open
>master file
>/var/log/asterisk/cdr-custom/Master.csv : Permission denied
>
>Same permission error .
>
On 22/09/2007, Jody Gugelhupf <knueffle at yahoo.com> wrote:
>
> hi ppl, i have a problem, i get these messages in the asterisk CLI:...
2019 Nov 18
2
How to set http.conf for HTTPS support on Debian Buster ?
...n Buster system.
This Asterisk instance is run by asterisk user (and group).
I've got:
# ls -l /etc/asterisk
total 68
-rw-r--r-- 1 asterisk asterisk 501 nov. 18 19:12 asterisk.conf
-rw-r--r-- 1 asterisk asterisk 135 nov. 18 18:57 cdr.conf
-rw-r--r-- 1 asterisk asterisk 684 nov. 18 18:57 cdr_custom.conf
-rw-r--r-- 1 asterisk asterisk 103 nov. 18 18:57 confbridge.conf
-rw-r--r-- 1 asterisk asterisk 6834 nov. 18 18:57 extensions.conf
-rw-r--r-- 1 asterisk asterisk 138 nov. 18 21:42 http.conf
-rw-r--r-- 1 asterisk asterisk 681 nov. 18 18:57 indications.conf
drwxr-xr-x 2 root root...
2013 Apr 26
0
glibc detected crash
...003e8000 rw-p 00016000 08:02 1581398 /usr/lib/libspeex.so.1.5.0
003e8000-003f8000 r-xp 00000000 08:02 571204 /usr/lib/libspeexdsp.so.1.5.0
003f8000-003f9000 rw-p 00010000 08:02 571204 /usr/lib/libspeexdsp.so.1.5.0
003f9000-003fb000 r-xp 00000000 08:02 722960 /usr/lib/asterisk/modules/cdr_custom.so
003fb000-003fc000 rw-p 00001000 08:02 722960 /usr/lib/asterisk/modules/cdr_custom.so
003fc000-003fe000 r-xp 00000000 08:02 722909 /usr/lib/asterisk/modules/app_senddtmf.so
003fe000-003ff000 rw-p 00001000 08:02 722909 /usr/lib/asterisk/modules/app_senddtmf.so
003ff000-00406000 r-xp 00...
2007 Aug 07
1
.call file and logging
...fwrite($fd, "Context: custom-NOTIFY\n");
fwrite($fd, "Extension: s\n");
fwrite($fd, "Priority: 1\n");
fclose($fd);
chown($fname,"asterisk");
chgrp($fname,"asterisk");
rename($fname,$fname_call);
# cat cdr_custom.conf
;
; Mappings for custom config file
;
[mappings]
Master.csv =>
"${CDR(clid)}","${CDR(src)}","${CDR(dst)}","${CDR(dcontext)}","${CDR(channel)}","${CDR(dstchannel)}","${CDR(lastapp)}","${CDR(lastdata)}","${CD...
2005 Jun 15
1
app_dial.c:977 dial_exec_full: Unable to create channel of type 'Zap' (cause 0)
...rmat_g723.so] => (G.723.1 Simple Timestamp File Format)
== Registered file format g723sf, extension(s) g723|g723sf
[cdr_csv.so] => (Comma Separated Values CDR Backend)
[cdr_manager.so] => (Asterisk Call Manager CDR Backend)
== Parsing '/etc/asterisk/cdr_manager.conf': Found
[cdr_custom.so] => (Customizable Comma Separated Values CDR Backend)
== Parsing '/etc/asterisk/cdr_custom.conf': Not found (No such file or
directory)
Jun 14 13:48:05 WARNING[15142]: cdr_custom.c:85 load_config: Failed to
load configuration file. Module not activated.
[func_callerid.so] => (Ca...
2005 Jun 23
2
Asterisk 'losing' upstream provider registration state during small network outages.
...gits
; after a connected call only works with inband
dtmfmode = rfc2833
;dtmf=inband
CVS-HEAD
Running Version:
Asterisk CVS-HEAD built by root@Vontage on a i686 running Linux on 2005-06-06
22:32:05
*CLI> show version files
File Revision
---- --------
cdr_custom.c Revision: 1.11
cdr_manager.c Revision: 1.6
cdr_csv.c Revision: 1.16
pbx_functions.c Revision: 1.3
chan_zap.c Revision: 1.458
chan_phone.c Revision: 1.52
chan_modem_i4l.c Revision: 1.27
chan_oss.c...