Hi all,
First of all I'm sorry if this is not kannel related.
I setup an sms gateway using Kannel + Itegno GSM Modem + Playsms.
Everything seems to be running OK. However, when Playsms receives sms, the 
time in the inbox is GMT, whereas my timezone is GMT + 7.
Is there anything I should do to correct it?

This is what Playsms invoke when receiving sms:

exec = /usr/local/bin/kannel_incoming %t %q %a

This is kannel_incoming:
#!/bin/bash

# change this if your kannel's incoming path in other directory
KANNEL_PATH="/usr/local"

KANNEL_FILE=`mktemp -q $KANNEL_PATH/cache/smsd/ERR.in.XXXXXX`

touch $KANNEL_FILE
chmod 666 $KANNEL_FILE

# exec = /usr/local/bin/kannel_incoming %t %q %a
# $1 : %t
# $2 : %q
# $3 : %a
echo -e "$1\n$2" > $KANNEL_FILE
echo $3 >> $KANNEL_FILE

Thank you in advance,
-- 
Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial 
http://linux2.arinet.org
18:13:50 up 9:47, 2.6.15-1.2054_FC5 GNU/Linux 
Let's use OpenOffice. http://www.openoffice.org

Reply via email to