Displaying 20 results from an estimated 23 matches for "msg1".
Did you mean:
msg
2006 Nov 21
2
Handle Options Method
Hi,
I have an Alteon in test (a sip/rtp load balancer).
This Alteon sends to the asterisk box a "SIP OPTIONS" to know if
asterisk is alive.
However, asterisk sends me a 404 message and not a response like, for
example, a Thomson (200 + SDP)
I wrote a very little script (you can find it at the end of the email)
to send an Options message to asterisk/phones to try.
It works
2005 Jan 24
4
Auto callout - reminder - is it possible?
I'm trying to get a script working on a website to send out automatic
email reminders to customers reminding them monthly to change furnace
filters. I haven't got one running successfully, yet.
That made me think - could it be done with a phone call using Asterisk?
A monthly automated phone call to remind people to change their furnace
filter?
I have no ability to figure this out
2023 Jun 10
1
Fopen upsmon.pid - no such file or directory - Nut 2.8.0 built from source
...ed-cmd ###########
logger -t upsched-cmd: "upsched-cmd running"
UPS="ups at localhost"
STATUS=$( upsc $UPS ups.status)
CHARGE=$( upsc $UPS battery.charge)
CHMSG="[$STATUS] : $CHARGE%"
case $1 in
online)
logger -t upssched-cmd: "online"
MSG1="Subject: UPS online"
MSG2="\nCurrent status: $CHMSG $1"
cat /etc/nut/online.txt >/tmp/message
echo -e "$MSG2" >> /tmp/message
msmtp -t </tmp/message
;;
onbatt)
logger -t upssched-cmd: "onbatt"
;;...
2004 Oct 03
0
[patch] tell user about hosts with same key
...month.
-- kolya
-------------- next part --------------
--- sshconnect.c 2004/10/02 21:27:29 1.1
+++ sshconnect.c 2004/10/02 22:01:52
@@ -716,7 +716,7 @@
"have requested strict checking.", type, host);
goto fail;
} else if (options.strict_host_key_checking == 2) {
- char msg1[1024], msg2[1024];
+ char msg1[1024], msg2[1024], msg_same_key[1024];
if (show_other_keys(host, host_key))
snprintf(msg1, sizeof(msg1),
@@ -724,6 +724,29 @@
" known for this host.");
else
snprintf(msg1, sizeof(msg1), ".");
+
+ HostList *keyhosts =...
2006 Feb 04
2
[PATCH] allow user to update changed key in known_hosts
...iffer = 0;
int salen;
char ntop[NI_MAXHOST];
char msg[1024];
@@ -674,71 +676,10 @@
error("No %s host key is known for %.200s and you "
"have requested strict checking.", type, host);
goto fail;
- } else if (options.strict_host_key_checking == 2) {
- char msg1[1024], msg2[1024];
-
- if (show_other_keys(host, host_key))
- snprintf(msg1, sizeof(msg1),
- "\nbut keys of different type are already"
- " known for this host.");
- else
- snprintf(msg1, sizeof(msg1), ".");
- /* The default */
- fp = key_fi...
2024 Feb 23
0
Getting two notifications of nocomm-timer expired when USB cable is pulled from the UPS
...at /etc/nut/onbatt.txt >>/etc/nut/logfile
?????????????? logger -t upssched-cmd: "onbatt"
?????????????? echo ""
?????????????? /usr/bin/msmtp -t?? </etc/nut/onbatt.txt
;;
?????????????? lowbatt)
?????????????? logger -t upssched-cmd: "lowbatt"
?????????????? MSG1="\nUPS low batt \n"
?????????????? MSG2="Current status: $CHMSG $1"
?????????????? cat /etc/nut/lowbatt.txt >/tmp/message
?????????????? cat /tmp/message >>/etc/nut/logfile
?????????????? echo -e "$MSG1 $MSG2" >>/tmp/message
?????????????? /usr/bin/msmtp...
2007 Jan 24
3
setting up AMD
...[amd]
initial_silence = 3500
greeting = 1500
after_greeting_silence = 300
total_analysis_time = 5000
min_word_length = 120
between_words_silence = 50
maximum_number_of_words = 5
silence_threshold = 256
In extensions.conf
[outboundmsg1]
exten => s,1,NoCDR
exten => s,n,AMD
exten => s,n,GotoIf($[${AMDSTATUS}=AMD_PERSON]?humn:mach)
exten => s,n(mach),WaitForSilence(2500)
exten => s,n,Playback(outboundmsgs/msg1)
exten => s,n,Hangup
exten => s,n(humn),WaitForSilence(500)
exten => s,n,Playback(outboundmsgs/msg1)...
2023 Jun 16
1
Dummy-ups cycles between online and onbatt every 5 minutes. (Nut 2.8.0)
...nut/online.txt >/tmp/message
echo -e "$MSG2" >> /tmp/message
msmtp -t </tmp/message
fi
;;
onbatt)
rm $FILE
logger -t upssched-cmd: "onbatt"
;;
lowbatt)
logger -t upssched-cmd: "lowbatt"
MSG1="\nUPS low batt \n"
MSG2="Current status: $CHMSG $1"
cat /etc/nut/lowbatt.txt >/tmp/message
echo -e "$MSG1 $MSG2" >>/tmp/message
msmtp -t </tmp/message
;;
commok)
rm -f $FILE3
logger -t upssched-cmd: &...
2006 Dec 07
1
get errors when doing a tar backup of a windows server with linux smbclient
...ndows share and sub-directory for backup exclusion.
SERVICE='//ourserver/apps'
SUBDIR='System Volume Information'
# Backup location, basename, and date string.
BACK='/home/server-backups/ourserver';
BASE='ourserver';
DATE=`date +%Y-wk%U_%b-%d_%a`;
# Misc. variables
MSG1="Tarring up $SERVICE Directory: $SUBDIR to: $BACK";
if [ -f $BACK/$BASE$DATE.tar.bz2 ]; then
echo "File exists, command halted: $BACK/$BASE$DATE.tar.bz2"
else
smbclient $SERVICE -N -TqcX
$BACK/$BASE$DATE.tar "$SUBDIR" "example/1.lck" "e...
2024 Oct 14
2
[RFC] Preferentially TOFU certificate authorities rather than host keys
...ly accepted by user */
struct hostkeys *host_hostkeys, *ip_hostkeys;
+ struct sshkey *cert = NULL;
u_int i;
/*
@@ -1189,13 +1190,20 @@ check_host_key(char *hostname, const struct ssh_conn_info *cinfo,
"type are already known for this host.");
} else
xextendf(&msg1, "", ".");
-
fp = sshkey_fingerprint(host_key,
options.fingerprint_hash, SSH_FP_DEFAULT);
ra = sshkey_fingerprint(host_key,
options.fingerprint_hash, SSH_FP_RANDOMART);
if (fp == NULL || ra == NULL)
fatal_f("sshkey_fingerprint failed");...
2023 Jun 11
1
Upssched 100% CPU after updating Debian 12
...n/shutdown-ws2019 &
;;
upsgone)
logger -i -t upssched-cmd "The UPS has been gone for awhile"
;;
heartbeat-failure-timer)
MSG="NUT heart beat fails. $CHMSG"
# Email
MSG1="Hello, upssched-cmd reports NUT heartbeat has failed."
MSG2="Current status: $CHMSG \n\n$0 $1"
MSG3="\n\n$( ps -elf | grep -E 'ups[dms]|nut' )"
echo -e "$MSG1 $MSG2 $MSG3" | /usr/bin/mail -r "$EMAI...
2018 Jul 06
4
Bash question
Hi All,
I am trying to build a command line with spaces in the argument. This
demonstrates what I am trying to do. Clearly the first two commands work
fine. However, the last 4 lines to not.
/opt/libreoffice5.4/program/soffice.bin --headless --convert-to csv
"/tmp/file.xlsx"
/opt/libreoffice5.4/program/soffice.bin --headless --convert-to csv
"/tmp/file 2.xlsx"
MSG="file
2006 Jun 23
1
How to use mle or similar with integrate?
Hi
I have the following formula (I hope it is clear - if no, I can try to
do better the next time)
h(x, a, b) =
integral(0 to pi/2)
(
(
integral(D/sin(alpha) to Inf)
(
(
f(x, a, b)
)
dx
)
dalpha
)
and I want to do an mle with it.
I know how to use mle() and I also know about integrate(). My problem is
to give the parameter values a and b to the
2010 Jul 06
2
Can't dial out through AMI
...nate
Channel: SIP/ShoreTel
Variable: Data=teletubbie-murder
Context: accept
priority: 1
Number: (external number reachable from regular SIP user account)
Here's the accept context:
[accept]
include => incoming
include => outbound-pbx
exten => s,1,Answer
exten => s,n,Playback(custom/msg1)
exten => s,n,Background(custom/how-to-ack)
exten => s,n,WaitExten(5,m)
exten => 1,1,ForkCDR(v,s(fullcmd=${Data}))
exten => 1,n,Background(${Data})
exten => 1,n,Background(discon-or-out-of-service)
exten => 1,n,WaitExten(5,m)
exten => 1,n,Hangup
exten => 2,1,Background(de-ac...
2023 Jun 13
1
Upssched 100% CPU after updating Debian 12
...wn-ws2019 &
;;
upsgone)
logger -i -t upssched-cmd "The UPS has been gone for awhile"
;;
heartbeat-failure-timer)
MSG="NUT heart beat fails. $CHMSG"
# Email
MSG1="Hello, upssched-cmd reports NUT heartbeat has failed."
MSG2="Current status: $CHMSG \n\n$0 $1"
MSG3="\n\n$( ps -elf | grep -E 'ups[dms]|nut' )"
echo -e "$MSG1 $MSG2 $MSG3" | /usr/bin/mail -r "$E...
2023 Jun 13
1
Upssched 100% CPU after updating Debian 12
...wn-ws2019 &
;;
upsgone)
logger -i -t upssched-cmd "The UPS has been gone for awhile"
;;
heartbeat-failure-timer)
MSG="NUT heart beat fails. $CHMSG"
# Email
MSG1="Hello, upssched-cmd reports NUT heartbeat has failed."
MSG2="Current status: $CHMSG \n\n$0 $1"
MSG3="\n\n$( ps -elf | grep -E 'ups[dms]|nut' )"
echo -e "$MSG1 $MSG2 $MSG3" | /usr/bin/mail -r "$E...
2016 Jun 14
4
Early CSE clobbering llvm.assume
>
>
>> Sanjoy’s argument is faulty, if it were true we would also find our
>> handling of “assert” to be unacceptable
>>
>> but this is not the case, no one is arguing that we need to re-design
>> “assert”
>>
> Sure, but no one should make this argument anyway: assert is not for
> optimization. In fact, we don't really want it to be used for
2006 May 18
2
Auto Dial Out Madness
...create
the .call file and mv it into the outgoing directory. That is all
working currently. Here is a sample of what my .call file looks like
and what my extensions.conf looks like.
.call
Channel: Zap/3/1234567890
Callerid: 1234567890
MaxRetries: 200
RetryTime: 30
WaitTime: 45
Context: outboundmsg1
Extension: s
Priority: 1
extensions.conf ----- snip ---------
[outboundmsg1]
exten => s,1,AbsoluteTimeout,40
exten => s,2,DigitTimeout,5
exten => s,3,ResponseTimeout,10
exten => s,4,Answer
exten => s,5,Wait(1)
exten => s,6,Playback(outboundmsgs/...
2008 Apr 21
3
FIPS 140-2 OpenSSL(2007) patches
Hi,
I am happy to (re)send a set of patches for compiling OpenSSH 4.7p1 with
FIPS 140-2 OpenSSL.
These are based on previously reported patches by Steve Marquess
<marquess at ieee.org> and Ben Laurie <ben at algroup.co.uk>,
for ver. OpenSSH 3.8.
Note that these patches are NOT OFFICIAL, and MAY be used freely by
anyone.
Issues [partially] handled:
SSL FIPS Self test.
RC4,
2018 Jun 08
2
vanilla build of 7.7p1 release on linux/4.17 fails with gcc8 @ "/usr/bin/ld: unrecognized option '-Wl,-z,retpolineplt'"
On Thu, Jun 07, 2018 at 06:14:42PM -0700, PGNet Dev wrote:
> On 6/7/18 6:08 PM, Darren Tucker wrote:
> > Well the intent is you should be able to set CC and LD to whatever you
> > want as long as they work. In this case, the OSSH_CHECK_LDFLAG_LINK
> > test invokes autoconf's AC_LINK_IFELSE with uses CC not LD. I'm not
> > sure what to do about it yet though.
I