change IP for smssend
authorDobrica Pavlinusic <dpavlin@rot13.org>
Sun, 26 Jun 2022 07:30:07 +0000 (09:30 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Sun, 26 Jun 2022 07:30:07 +0000 (09:30 +0200)
pg-listen-zc.pl

index 7557cf0..0a4cdec 100755 (executable)
@@ -87,7 +87,7 @@ while (1) {
                                                print $s "From: Senzori Alert <alert\@senzori.subvision.hr>\nTo: $email\nSubject: alert $name $time\n\n$msg\n\n" . dump($row) . "\n.\n";
                                                close($s);
 
-                                               my $cmd = "ssh -p 22022 -i /home/dpavlin/.ssh/sendsms_rsa asterisk\@192.168.44.212 $number $msg";
+                                               my $cmd = "ssh -p 22022 -i /home/dpavlin/.ssh/sendsms_rsa asterisk\@192.168.200.240 $number $msg";
                                                print ts,"## $cmd\n";
                                                system $cmd;
                                        }