On Wednesday 15 February 2006 12:10 pm, Fajar Priyanto wrote:
> Thank you very much Pak Adi,
> Now the Itegno stops sending reply when it receives message.
>
> This is what shows in smsbox.log:
> INFO: HTTP: Opening server at port 13131.
> INFO: Set up send sms service at port 13131
> INFO: Connected to bearerbox at localhost port 13001.
> INFO: smsbox: Got HTTP request </cgi-bin/sendsms> from <127.0.0.1>
> INFO: sendsms used by <playsms>
> INFO: sendsms sender:<playsms:+628161922701> (127.0.0.1) to:<+628161217933>
> msg:<H
> INFO: Starting delivery report <playsms> from <+628161922701>
> INFO: Starting delivery report <playsms> from <+628161922701>
> INFO: Starting to service <Je t'aime gros!> from <+628161217933> to <1234>
> INFO: No reply sent, denied.
>
> The only problem left is any message received by itegno does not show in
> playsms' inbox.

Hmm I think I found the problem. Thanks Mas Anton.
I use kannel from RPM. Can you tell me where kannel put the received sms?

In /usr/local/bin/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

Thanks,
Fajar.


-- 
Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial 
http://linux2.arinet.org
17:40:49 up 9:57, 2.6.15-1.1830_FC4 GNU/Linux 
Let's use OpenOffice. http://www.openoffice.org

Reply via email to