search for: log_notice

Displaying 20 results from an estimated 76 matches for "log_notice".

2001 Jul 05
1
OpenSSH Logging Madness
Feature request: - Please add a new LogLevel corresponding to the LOG_NOTICE syslog level. - Then modify OpenSSH to log to LOG_NOTICE only these events: - login failures - login successes Specifically, please: - add a new element to the LogLevel enum, say, 'SYSLOG_LEVEL_NOTICE', between 'SYSLOG_LEVEL_INFO' and 'SYSLOG_LEVEL_ERRO...
2003 Mar 03
0
Voicemail Volume Control Patch
...e */ > char *volgain; /* Added for volume gain to increase / descrease message volume > to be read from voicemail.conf */ 1920a1924,1940 > case '3': > if (volgain = ast_variable_retrieve(cfg, "general", "volgain")) > { > ast_log(LOG_NOTICE,"New Increase Volume Messages # %04d\n",curmsg); > snprintf(sys, sizeof(sys), "sox %s/msg%04d.WAV %s/new.WAV vol %s; mv %s/new.WAV %s/msg%04d.WAV\n", curdir, curmsg, curdir, volgain, curdir, curdir, curmsg); > ast_log(LOG_NOTICE,"%s\n",sys); > syst...
2006 May 16
2
Multiple Registers
List, Does anyone know how to limit the amount of registrations that a sip user can have? For example, I have 2 softphones that I use on my laptop & desktop, both use the same username & password. If I have both softphones up at the same time, I can make simultaneous calls with each of them. I know you can have call-limit=1 but in this case, I want to allow them to have 3 way calling
2013 Jul 03
1
bcmxcp: Patch for adding ups.load and battery.voltage.low
On Jul 2, 2013, at 5:16 PM, Kjell Claesson wrote: >> I hope other people can also test this. >> >> Regards >> Alf Hogemark > > Due to some crashes on the disks and lack of time I don't have the git on the > pc now. But maybe some other can commit this. I'd like to ask people to specifically try the bcmxcp branch on GitHub - it includes some changes
2011 Aug 27
1
[PATCH 1/3] Fix file descriptor leak
...++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/common/common.c b/common/common.c index f443cb7..e8004d7 100644 --- a/common/common.c +++ b/common/common.c @@ -244,6 +244,7 @@ int sendsignalfn(const char *pidfn, int sig) if (fgets(buf, sizeof(buf), pidf) == NULL) { upslogx(LOG_NOTICE, "Failed to read pid from %s", pidfn); + fclose(pidf); return -1; } @@ -251,6 +252,7 @@ int sendsignalfn(const char *pidfn, int sig) if (pid < 2) { upslogx(LOG_NOTICE, "Ignoring invalid pid number %d", pid); + fclose(pidf); return -1; } @@ -259,6 +261,...
2010 Apr 19
1
Patch for the bestfortress driver 0.02
...upssend ("f\r"); + while (ser_get_char(upsfd, &ch, 0, UPSDELAY) > 0 && ch != '\n'); // response starts with \r\n } } while (temp[2] == 0); - /*syslog (LOG_DAEMON | LOG_NOTICE,"ups: got '%s'\n", p);*/ + /* syslog (LOG_DAEMON | LOG_NOTICE,"ups: got %d chars '%s'\n", len, temp + 2); */ + + upsdebugx(5, "data from UPS: len=%d '%s'", len, &temp[2]); /* status example:...
2014 Mar 13
1
Any help Address 0xfffffffe out of bounds in app_confbridge.casterisk-11.5.1 using confbridge.conf
...================================================= static const char *const app2 ="MyConfbridgeCount"; static int load_module(void) { ast_verb(3 ,"==Inside load_module=="); ast_verb(3 ,"\n ==Inside load_module==\n "); ast_log(LOG_NOTICE ,"\n ==Inside load_module==\n "); //tes4 //const char *data= (char*)malloc(sizeof(char) * 256); char *sdata="4000,acPd"; ast_verb(3 ,"\n ==Inside load_module sdata [%s] at [%p] len[%d]\n ",sdata,&sdata,strlen(sdat...
2007 Jul 21
2
tincctl patches
(Second try to send this. I wonder if the first one gotten eaten by a spam filter; I'll link to patches instead of attaching them.) Here are the tincctl patches I've been working on. They apply to http://www.tinc-vpn.org/svn/tinc/branches/1.1@1545. I intend to commit them once the crypto stuff's fixed. Since they're basically done, I'm emailing them now for review and in case
2003 Nov 18
4
Help with Warnings
...++++++++++++++++++++++++++++++++++++++++++++++++ /* Request the peer */ ????????????????tmp->chan = ast_request(tech, chan->nativeformats, numsubst); ????????????????if (!tmp->chan) { ????????????????????????/* If we can't, just go on to the next call */ ????????????????????????ast_log(LOG_NOTICE, "Unable to create channel of type '%s'\n", tech); ????????????????????????if (chan->cdr) ????????????????????????????????ast_cdr_busy(chan->cdr); ????????????????????????free(tmp); ????????????????????????cur = rest; ????????????????????????continue; ????????????????} +++++...
2003 Jul 03
1
res parking patch
...r parking_pick[AST_MAX_EXTENSION] = "750"; static char pickup_ext[AST_MAX_EXTENSION] = "*8"; @@ -507,7 +508,23 @@ park = atoi((char *)data); ast_pthread_mutex_lock(&parking_lock); pu = parkinglot; - while(pu) { + if (park == atoi((char *)parking_pick)) { + ast_log(LOG_NOTICE,"Picking up the older parked call!\n"); + while(pu) { + if (!pu->next) { + if (pl) + pl->next = pu->next; + else + parkinglot = pu->next; + b...
2020 Apr 03
0
Powercool PCRACK-1200VA patch update
...n(usb_dev_handle **udevp, USBDevice_t *curDevice, USBDevice      libusb_close(*udevp);  #endif +    /* check for buflen workaround */ +    int blen; +    if(getval("buflen_fix")) { +        if(sscanf(getval("buflen_fix"),"%d",&blen) != 1) { +            upslogx(LOG_NOTICE, "Error enabling buflen workaround"); +        } else { +            if (blen > USB_BUFLEN_MAX) { +                upslogx(LOG_NOTICE, +                "Error enabling buflen workaround, buflen must be <= %d", +                USB_BUFLEN_MAX); +            } else { +      ...
2005 Jul 26
1
last access file for 1.0-stable?
...time they used imap. My hack looks something like this: if(authenticated) { touchfile = (char *) malloc((strlen (home) + 15); sprintf(touchfile,"%s/.imapd.last",homedir); fd = open(touchfile,O_WRONLY|O_CREAT|O_TRUNC,0600); if(fd < 0) syslog (LOG_NOTICE|LOG_AUTH,"touchfile failed for %s:%s",user,strerror(errno)); else close(fd); free(touchfile); } Where to do this in the dovecot code? Is there something like this already available? I realize that the index/cache files contain last-access data, but if the ca...
2003 Jul 08
1
RTP.C codec error 19
hi .. when placing a SIP call to a sip host in the states every few seconds I get an RTP codec 19 error. I know this is related to comfort noise, and the call goes through OK ... how can I suppress the error message ? Also, many times I get "Invalid CSeq Number" back from 216.52.153.207 (which is the host i'm calling) and the call drops.. is there a solution for this ? cheers Dave
2004 Jun 07
1
AVM B1 and PTP mode
...4 Now, I compiled chan_capi-0.3.3 against Asterisk CVS head (of course with CFLAGS+=-DUNSTABLE_CVS). And when I start now asterisk, .... it hangs. With some debugging statements I found out that it hangs right here in chan_capi.c: if (Listen(ALL_SERVICES) != 0) { ast_log(LOG_NOTICE,"unable to listen!\n"); return -1; } Any ideas?
2009 Jan 07
1
rejected because extension not found
...risk 1.4.22 (which was working) to SVN and I am getting the message rejected because extension not found... How can I modify the print statement in chan_sip.c line 18388 to include not just the extension but the context its trying to find my extension in??? ast_log(LOG_NOTICE, "Call from '%s' to extension" " '%s' rejected because extension not found.\n", S_OR(p->username, p->peername), decoded_exten); Thanks, Jerry
2007 Feb 01
2
Re: [Nut-upsuser] Ablerex 625L USB version
...mdname, "test.battery.start.deep") == 0) { > ! ser_send_pace(upsfd, SEND_PACE, "TL%c", ENDCHAR); > > ! if (ser_get_line(upsfd, buffer, RECV_BUFFER_LEN, > ENDCHAR, IGNCHARS, READ_TIMEOUT, 0) > 0) { > upslogx(LOG_NOTICE, "test.battery.start.deep > not supported by UPS."); > } else { > upslogx(LOG_INFO, "Deep battery test started."); > --- 586,595 ---- > */ > > if (strcasecmp(cmdname, "test.battery.start.deep...
2004 Jul 21
3
Request to an hpa-TFTP enhancement - convert '\' in filenames to '/'
...{ + /* Windows client hack */ + char *seek = (char*) &(data- >tftp_options[OPT_FILENAME].value); + if (*seek == '\\') + while (*seek) + { + if (*seek == '\\') *seek = '/'; + seek++; + } logger(LOG_NOTICE, "Serving %s to %s:%d", data- >tftp_options[OPT_FILENAME].value, inet_ntoa(data- >client_info->client.sin_addr), @@ -665,6 +674,7 @@ stats_send_locked(); else stats_err_locked...
2003 Apr 01
1
LOG_AUTHPRIV and the default syslog.conf
Hello, Some time ago I wrote PR conf/48170, which discussed the following problem: Syslog messages of facility LOG_AUTHPRIV and priority LOG_NOTICE (or higher) are sent by default to the world-readable log file /var/log/messages. That seems unacceptable since the facility LOG_AUTHPRIV is for hiding sensitive log messages inside a protected file, e.g., /var/log/auth.log. For example, login(1) and ftpd(8) send messages about invalid login atte...
2009 Aug 26
1
app_swift issue
...)) { if (!strcmp(t, "yes")) cfg_goto_exten = 1; else cfg_goto_exten = 0; ast_log(LOG_DEBUG, "Config goto_exten is %d\n", cfg_goto_exten); } ast_config_destroy(cfg); } else { ast_log(LOG_NOTICE, "Failed to load config\n"); } return res; } char *description(void) { return tdesc; } #define AST_MODULE "app_swift" AST_MODULE_INFO_STANDARD(ASTERISK_GPL_KEY, "Cepstral Swift TTS Application"); -- Best Regards Shakeel Abbas -------------- ne...
2020 Apr 03
0
Patch to support Powercool PCRACK-1200VA
...tval("serial");          regex_array[5] = getval("bus"); +        /* check for buflen workaround */ +        int blen; +        if(getval("buflen_fix")) { +            if(sscanf(getval("buflen_fix"),"%d",&blen) != 1) { +                upslogx(LOG_NOTICE, "Error enabling buflen workaround"); +            } else { +                if (blen >SMALLBUF) { +                    upslogx(LOG_NOTICE, +                    "Error enabling buflen workaround, buflen must be <= %d", +                    SMALLBUF); +                } el...