I was planning to get NAV 3 into service soon. So the next thing I needed to test is that NAV sends SMS'es to the person that is on duty. But I do not get this to work.
Everytime I start NAV I get an email like this:
From: navcron@nav3.hsh.no To: roger@hsh.no Subject: smsd database connection problem
Status: 03.10.2005 10:29:13 PG_conn=SCALAR(0x826d464) 1 Reset
Error was: server closed the connection unexpectedly This probably means the server terminated abnormally before or while processing the request.
The gammu program by itself works. I can do a command like this:
echo Test | gammu nothing --sendsms TEXT 91799053
and I receive an SMS.
If I use the test functionality of smsd.pl like this:
/usr/local/nav/bin/smsd.pl -t 91799053
I do _not_ get an SMS and it prints just a "0" on the console.
Can someone please help me with this. This is the function I need working to start using NAV 3.
Best regards, Roger