search for: log_warning

Displaying 20 results from an estimated 160 matches for "log_warning".

2005 Jun 20
2
app_valetparking.c
Since www.bkw.org seems not to exist anymore (getting response from some hosting provider), does anyone happend to have a copy of app_valetparking.c from www.bkw.org - the one that should work with * stable 1.0.X ? If so please contact me. One that can be downloaded from www.loligo.com dosn't compile with 1.0.X, and SuperValletParking (www.asterlink.com/svp/) seems to be for * HEAD
2005 Jun 20
1
Re: app_valetparking.c for * STABLE (1.0.X)
Nope ! This is the one that tries to include PRE 1.0.X header file <parking.h>. It cannot compile on * 1.0.X (I have tried also to include <features.h> instead of <parking.h> (as far as I know features.h is successor to parking.h), but still without results). Thanks anyway. Nenad > > Try this > >> Since www.bkw.org seems not to exist anymore (getting
2003 Jul 11
4
module : cdr_sybase.so
...->answer); gettimeofday(&tv,&tz); t = tv.tv_sec; localtime_r(&t,&tm); strftime(timestr,128,DATE_FORMAT,&tm); strftime(timeend,128,DATE_FORMAT,&end); strftime(timeanswer,128,DATE_FORMAT,&answer); strftime(timestart,128,DATE_FORMAT,&start); ast_log(LOG_WARNING,timeend); ast_log(LOG_WARNING,timestart); ast_log(LOG_WARNING,timeanswer); ast_log(LOG_DEBUG,"cdr_sybase: inserting a CDR record.\n"); sprintf(sqlcmd,"INSERT INTO cdr (calldate,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,...
2003 Nov 06
2
this is the code that breaks outgoing calls on grandstream
...ty = capability; 5698,5709d5691 < } else if (!strcasecmp(v->name, "allow")) { < format = ast_getformatbyname(v->value); < if (format < 1) < ast_log(LOG_WARNING, "Cannot allow unknown format '%s'\n", v->value); < else < user->capability |= format; < } else if (!strcasecmp(v->name, "disallow")) { <...
2003 Nov 18
4
Help with Warnings
...il the call is answered */ ????????????????????????p->dialing = 1; ????????????????????????if (p->use_callerid) { ????????????????????????????????/* Generate the Caller-ID spill if desired */ ????????????????????????????????if (p->cidspill) { ????????????????????????????????????????ast_log(LOG_WARNING, "cidspill already exists??\n"); ????????????????????????????????????????free(p->cidspill); ????????????????????????????????} ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Nov 17 17:13:51 NOTICE[1242768320]: File app_dial.c, Line 502 (dial_exec): Unable to creat...
2019 Oct 31
2
Dovecot and MySQL aborted connections.
I will top post here ... got a similar issue with mariadb a while ago after upgrading from 10.1 to 10.2 lots of warnings about aborted connections in the logs. after digging into this issue the culprit was a new default setting value in the newer maridb server. during the update the log_warnings changed from 1 to 2 therefore showing lots of aborted connection notices in the logs changing the log_warnings back from 2 to 1 solved this issue https://mariadb.com/kb/en/library/upgrading-from-mariadb-101-to-mariadb-102/ https://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html#sys...
2019 Nov 01
1
Dovecot and MySQL aborted connections.
On 01/11/2019 01:19, Benjamin Connelly via dovecot wrote: >> during the update the log_warnings changed from 1 to 2 therefore >> showing lots of aborted connection notices in the logs >> >> changing the log_warnings back from 2 to 1 solved this issue > > Yes the same setting made the same change to the default with mysql: > > https://dev.mysql.com/doc/refman/5.7...
2006 Dec 06
1
0002475: [patch] Allow app_directory to work with REALTIME
Hi All, I'm running 1.2.9.1 stable. I'm wondering has this patch been applied to stable release or is it still only in CVS. Will this file patch apply correctly to 1.2.9.1 stable? Which file do I patch? I'm guessing app_directory_realtime_1.6.1.patch <http://bugs.digium.com/file_download.php?file_id=4915&type=bug> and config.h.patch
2010 Nov 13
3
[PATCH 1/4] Experimental IFF_ONE_QUEUE support for Linux
--- doc/tinc.conf.5.in | 3 +++ src/linux/device.c | 7 +++++++ 2 files changed, 10 insertions(+), 0 deletions(-) diff --git a/doc/tinc.conf.5.in b/doc/tinc.conf.5.in index 2bfd5fe..01f7f81 100644 --- a/doc/tinc.conf.5.in +++ b/doc/tinc.conf.5.in @@ -255,6 +255,9 @@ a lookup if your DNS server is not responding. This does not affect resolving hostnames to IP addresses from the host
2005 Jan 22
0
chan_capi patch: app_capiFax modifications
...SELECT_B_PROTOCOL_REQ_B3PROTOCOL(&CMSG) = 4; SELECT_B_PROTOCOL_REQ_B1CONFIGURATION(&CMSG) = NULL; SELECT_B_PROTOCOL_REQ_B2CONFIGURATION(&CMSG) = NULL; SELECT_B_PROTOCOL_REQ_B3CONFIGURATION(&CMSG) = (_cstruct)&B3conf; if ((error = _capi_put_cmsg(&CMSG)) != 0) ast_log(LOG_WARNING, "capiAnswerFax CAPI SELECT_B_PROTOCOL put_cmsg error\n"); return 0; } static int capi_answer_fax(struct ast_channel *c, char* stationID) { struct ast_capi_pvt *i = c->pvt->pvt; MESSAGE_EXCHANGE_ERROR error; _cmsg CMSG; char buf[AST_MAX_EXTENSIO...
2004 Jun 23
0
UPDATE Patch for postgres enabled app_voicemail.c
...r: query = %s\n",query); ! ast_mutex_lock(&postgreslock); ! PGSQLres=PQexec(dbhandler,query); ! if (PGSQLres!=NULL) { ! if (PQresultStatus(PGSQLres) == PGRES_BAD_RESPONSE || ! PQresultStatus(PGSQLres) == PGRES_NONFATAL_ERROR || ! PQresultStatus(PGSQLres) == PGRES_FATAL_ERROR) { ! ! ast_log(LOG_WARNING,"PGSQL_query: Query Error (%s) Calling PQreset\n",PQcmdStatus(PGSQLres)); ! PQclear(PGSQLres); ! PQreset(dbhandler); ! ast_mutex_unlock(&postgreslock); ! return; ! } else { ! numFields = PQnfields(PGSQLres); ! //fprintf(stdout,"postgres sql_append_user: query found %d rows with %...
2004 Jun 23
0
Patch for postgres enabled app_voicemail.c
...r: query = %s\n",query); ! ast_mutex_lock(&postgreslock); ! PGSQLres=PQexec(dbhandler,query); ! if (PGSQLres!=NULL) { ! if (PQresultStatus(PGSQLres) == PGRES_BAD_RESPONSE || ! PQresultStatus(PGSQLres) == PGRES_NONFATAL_ERROR || ! PQresultStatus(PGSQLres) == PGRES_FATAL_ERROR) { ! ! ast_log(LOG_WARNING,"PGSQL_query: Query Error (%s) Calling PQreset\n",PQcmdStatus(PGSQLres)); ! PQclear(PGSQLres); ! PQreset(dbhandler); ! ast_mutex_unlock(&postgreslock); ! return; ! } else { ! numFields = PQnfields(PGSQLres); ! //fprintf(stdout,"postgres sql_append_user: query found %d rows with %...
2004 Jun 10
1
RE: question about prepaid app_prepaid
...5 **** --- 382,390 ---- struct varshead *headp, *newheadp; struct ast_var_t *newvar; int go_on=0; + time_t myt; + int iBrdgTO=0; /* CHANGE: Time out after call bridged. Storm Petersen */ + if (!data) { ast_log(LOG_WARNING, "Dial requires an argument (technology1/number1&technology2/number2...|optional timeout)\n"); *************** *** 416,422 **** ast_log(LOG_WARNING, "Dial argument takes format (technology1/number1&technology2/number2...|optional timeout)\n");...
2006 Jun 09
0
Cleaned up belkinunv diff
...ack in upsdrv_shutdown() at the end and now looks like this: upsdrv_shutdown() /* decide if we're in waitonshutdown and set wos=1 if we are ... */ if (wos) { /* waitonshutdown: prepare things for going into belkin_wait() ... */ belkin_wait() upslogx(LOG_WARNING, " belkinunv: WARNING: An error occurred in wait mode. Falling back to the original behaviour."); } else { upslogx(LOG_WARNING, "belkinunv: WARNING: You are using the -k option, which is broken for this driver."); } upslogx(LOG_WARNING, "Shutting down...
2014 Aug 28
1
RDNIS with tel: vs. sip: header
...recognize the tel: header for RDNIS information? exten = get_in_brackets(tmp); if (!strncasecmp(exten, "sip:", 4)) { exten += 4; } else if (!strncasecmp(exten, "sips:", 5)) { exten += 5; } else { ast_log(LOG_WARNING, "Huh? Not an RDNIS SIP header (%s)?\n", exten); return -1; } Audiocodes Mediant 2000 devices send this header as a tel:... *[Aug 28 02:25:42] WARNING[1283][C-00001574] chan_sip.c: Huh? Not an RDNIS SIP header (tel:41068558XX)?* *(number obscured for privacy p...
2015 Dec 02
5
[PATCH] Receive multiple packets at a time
...if(!n) { - pkt.offset = 0; - n = try_harder(&addr, &pkt); - } + if(!n) { + pkt[i].offset = 0; + n = try_harder(&addr[i], &pkt[i]); + } -skip_harder: - if(!n) { - if(debug_level >= DEBUG_PROTOCOL) { - hostname = sockaddr2hostname(&addr); - logger(DEBUG_PROTOCOL, LOG_WARNING, "Received UDP packet from unknown source %s", hostname); - free(hostname); + skip_harder: + if(!n) { + if(debug_level >= DEBUG_PROTOCOL) { + hostname = sockaddr2hostname(&addr[i]); + logger(DEBUG_PROTOCOL, LOG_WARNING, "Received UDP packet from unknown source %s&qu...
2003 Jul 08
0
Patch to fix some segfaults in Asterisk
...=================================== RCS file: /usr/cvsroot/asterisk/res/res_musiconhold.c,v retrieving revision 1.1.1.5 diff -u -r1.1.1.5 res_musiconhold.c --- res/res_musiconhold.c 18 Mar 2003 06:00:18 -0000 1.1.1.5 +++ res/res_musiconhold.c 8 Jul 2003 10:48:30 -0000 @@ -400,7 +400,8 @@ ast_log(LOG_WARNING, "Only doing %d of %d requested bytes on %s\n", sizeof(buf), len, chan->name); len = sizeof(buf); } - res = read(moh->pipe[0], buf + AST_FRIENDLY_OFFSET/2, len); + /* XXX SEGFAULT res = read(moh->pipe[0], buf + AST_FRIENDLY_OFFSET/2, len);*/ + res = read(moh->pipe[0], buf...
2010 Feb 25
2
dovecot-2.0.beta3 tcpwrapper support in Solaris
...in file deny_severity /usr/sfw/lib//libwrap.so allow_severity /usr/sfw/lib//libwrap.so These are not defined but application itself should define these globally so I've added these to configure and src/util/tcpwrap.c #include <syslog.h> int allow_severity = LOG_INFO; int deny_severity = LOG_WARNING; Tomppa
2018 Aug 30
2
getting invites to rtp ports ??
...gt; >>>> > >>> > >>> Ok, so the high port is not the destination port but the source port. > >>> > >>> So I hacked the log warning in chan_sip.c on non-critical invites to show the source ip: > >>> > >>> ast_log(LOG_WARNING, "Timeout on %s non-critic invite trans from > >>> %s.\n", > >>> pkt->owner->callid,ast_sockaddr_stringify(sip_real_dst(pkt->owner))); > >>> > >>> With that in the log, I'm now blocking the ip addresses. > >>> >...
2015 Dec 02
0
[PATCH] Receive multiple packets at a time
...n = try_harder(&addr[i], &pkt[i]); > + } > > -skip_harder: > - if(!n) { > - if(debug_level >= DEBUG_PROTOCOL) { > - hostname = sockaddr2hostname(&addr); > - logger(DEBUG_PROTOCOL, LOG_WARNING, "Received UDP packet from unknown source %s", hostname); > - free(hostname); > + skip_harder: > + if(!n) { > + if(debug_level >= DEBUG_PROTOCOL) { > + hostname = sockaddr2hostn...