Displaying 11 results from an estimated 11 matches for "safeshutdown".
2008 Dec 29
1
1.6, CDR and h extension
...at CallToVPBX:1] Set("DAHDI/49-1", "CDR(hangupcause)=16")
in new stack
Unfortunately hangupcause doesn't actually make it to the database or
the csv file, despite that message.
My cdr.conf on both servers:
[general]
enable=yes
batch=yes
size=10
time=60
scheduleronly=no
safeshutdown=yes
endbeforehexten=no
I am probably just being stupid somehow, but I cannot figure out what
is wrong. Both asterisks are 1.6.0.1-2.fc10.
/Benny
2015 Jul 06
4
CDR in an MySQL-Database
...out calls (CDR) in a MySQL-Database.
I created the DB and a user for Asterisk on a separate server, then I
configured my cdr_mysql.conf so:
[global]
hostname=192.168.10.3
dbname=asterisk
table=cdr
password=MYSECRET
user=asterisk
port=3306
and my cdr.conf so:
[general]
enable=yes
unanswered = yes
safeshutdown=yes
[mysql]
usegmtime=no
loguniqueid=yes
loguserfield=yes
accountlogs=yes
I created the table in the DB so:
CREATE TABLE IF NOT EXISTS `cdr` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`calldate` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`clid` varchar(80) COLLATE utf8_...
2007 May 08
1
asterisk 1.2 from svn ... lock on shutdown
...ist<OpalMediaFormat>::~PList () from
/usr/lib/libh323_linux_x86_r.so.1.17.3
#15 0xb79828e7 in H323PluginCodecManager::~H323PluginCodecManager ()
from /usr/lib/libh323_linux_x86_r.so.1.17.3
#16 0xb7e0d4f0 in exit () from /lib/tls/libc.so.6
#17 0x080bddd7 in quit_handler (num=135324439, nice=3, safeshutdown=1,
restart=0) at asterisk.c:945
#18 0x080be019 in handle_shutdown_now (fd=1, argc=2, argv=0xbffff830)
at asterisk.c:1104
#19 0x0809811b in ast_cli_command (fd=1, s=0x8151900 "\001") at cli.c:1364
#20 0x080c0d93 in main (argc=2, argv=0xbffffd84) at asterisk.c:1019
(gdb)
Regards,
Cesc
2015 Jul 06
1
CDR in an MySQL-Database
...on a separate server, then I
> configured my cdr_mysql.conf so:
>
> [global]
> hostname=192.168.10.3
> dbname=asterisk
> table=cdr
> password=MYSECRET
> user=asterisk
> port=3306
>
> and my cdr.conf so:
>
> [general]
> enable=yes
> unanswered = yes
> safeshutdown=yes
>
> [mysql]
> usegmtime=no
> loguniqueid=yes
> loguserfield=yes
> accountlogs=yes
>
> I created the table in the DB so:
>
> CREATE TABLE IF NOT EXISTS `cdr` (
> `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
> `calldate` datetime NOT NULL DEFAULT '0...
2004 Apr 30
6
app_dbodbc segfault
Is anyone out there using app_dbodbc
(http://www.bkw.org/~brian/app_dbodbc.c)? Any problems with it?
I was able to get it all working, but it causes * to segfault every now
and then. It does not appear to be related to any specific function
(ODBCget,ODBCput,ODBCdel,ODBCdelltree). It is 100% repeatable. If I
noload the module, everything works fine, but when its running, after
calls to any of the
2007 Nov 14
0
Real Time CDR
...want to create hard file and a compare script between the file cdr and the odbc cdr, but I was wondering if anyone else has seen this error or if my config is off.
mySQL 5
Asterisk branch/1.4 current rev
cdr.conf
[general]
enabled=yes
batch=no
size=100
time=300
scheduleronly=no
endbeforehexten=no
safeshutdown=yes
cdr_manager.conf
[general]
enabled=yes
cdr_odbc.conf
[global]
dsn=asterisk
username=user
password=password
loguniqueid=yes
dispositionstring=yes
table=cdr ;"cdr" is default table name
;usegmtime=no ; set...
2015 Jul 06
0
CDR in an MySQL-Database
...on a separate server, then I
> configured my cdr_mysql.conf so:
>
> [global]
> hostname=192.168.10.3
> dbname=asterisk
> table=cdr
> password=MYSECRET
> user=asterisk
> port=3306
>
> and my cdr.conf so:
>
> [general]
> enable=yes
> unanswered = yes
> safeshutdown=yes
>
> [mysql]
> usegmtime=no
> loguniqueid=yes
> loguserfield=yes
> accountlogs=yes
>
> I created the table in the DB so:
>
> CREATE TABLE IF NOT EXISTS `cdr` (
> `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
> `calldate` datetime NOT NULL DEFAULT '0...
2015 Jul 07
0
CDR in an MySQL-Database
...on a separate server, then I
> configured my cdr_mysql.conf so:
>
> [global]
> hostname=192.168.10.3
> dbname=asterisk
> table=cdr
> password=MYSECRET
> user=asterisk
> port=3306
>
> and my cdr.conf so:
>
> [general]
> enable=yes
> unanswered = yes
> safeshutdown=yes
>
> [mysql]
> usegmtime=no
> loguniqueid=yes
> loguserfield=yes
> accountlogs=yes
>
> I created the table in the DB so:
>
> CREATE TABLE IF NOT EXISTS `cdr` (
> `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
> `calldate` datetime NOT NULL DEFAULT '0...
2010 Dec 01
3
Abandon events in cdr
>
> Sorry, of course cdr.conf not queues.conf. marcus
>
> Am 01.12.2010 19:16 schrieb "marcus rothe" <synco16 at googlemail.com>:
>
>
> Hi Rodrigo, have you got enabled the appropriate line in queues. Conf?
> Regards Marcus
>
>
Thanks very much,
I include the line "unansweredy=yes" in the cdr.conf and solve the problem.
Thanks again!
--
2009 Feb 26
0
[cdr_odbc] error: Cannot insert the value NULL into column 'calldate'
...sip','SIP/1000-09388800','AddQueueMember','test,Local/1000 at sip,5,,Agent/1000,Local/1000 at sip',9,9,'ANSWERED',3,'1235681438.1')
a16-q1:/etc/asterisk# cat cdr.conf
[general]
enable=yes
;unanswered = no
;batch=no
;size=100
;time=300
;scheduleronly=no
;safeshutdown=yes
;endbeforehexten=no
[csv]
usegmtime=yes ; log date/time in GMT. Default is "no"
loguniqueid=yes ; log uniqueid. Default is "no"
loguserfield=yes ; log user field. Default is "no"
[odbc]
usegmtime=yes ; log date/time in GMT. Default is "no"
lo...
2004 May 18
2
problem with cdr_odbc
Hi,
Has anyone made a successfull instalation of cdr_odbc??
I've install unixODBC-2.2.8 (made my own RPM) and then built the module.
I'm trying to send the cdrs to a M$ SQL server. The sql connection
works because I can do any query via isql.
When I do the calls I get the following output on the asterisk console:
-- Executing Hangup("SIP/test1-a5e1", "") in new