Hi all, Maybe this info is useful ? I still cannot receive sms in my playsms inbox. In /usr/local/cache/smsd/ I see a lot ERR file. What does it mean?
This my smsbox debug when receiving message: Starting delivery report <playsms> from <+628162932401> Parsing URL `http://localhost/~playsms/plugin/gateway/kannel/dlr.php?type=1&slid=91&uid=1': Scheme: http:// Host: localhost Port: 80 Username: (null) Password: (null) Path: /~playsms/plugin/gateway/kannel/dlr.php Query: type=1&slid=91&uid=1 Fragment: (null) HTTP: Opening connection to `localhost:80' (fd=28). Socket connecting Get info about connecting socket HTTP: Sending request: Octet string at 0x9febd70: len: 120 size: 1024 immutable: 0 data: 47 45 54 20 2f 7e 70 6c 61 79 73 6d 73 2f 70 6c GET /~playsms/pl data: 75 67 69 6e 2f 67 61 74 65 77 61 79 2f 6b 61 6e ugin/gateway/kan data: 6e 65 6c 2f 64 6c 72 2e 70 68 70 3f 74 79 70 65 nel/dlr.php?type data: 3d 31 26 73 6c 69 64 3d 39 31 26 75 69 64 3d 31 =1&slid=91&uid=1 data: 20 48 54 54 50 2f 31 2e 31 0d 0a 48 6f 73 74 3a HTTP/1.1..Host: data: 20 6c 6f 63 61 6c 68 6f 73 74 0d 0a 55 73 65 72 localhost..User data: 2d 41 67 65 6e 74 3a 20 4b 61 6e 6e 65 6c 2f 31 -Agent: Kannel/1 data: 2e 34 2e 30 0d 0a 0d 0a .4.0.... Octet string dump ends. HTTP: Status line: <HTTP/1.1 200 OK> HTTP: Received response: Octet string at 0x9fec770: len: 192 size: 1024 immutable: 0 data: 44 61 74 65 3a 20 57 65 64 2c 20 31 35 20 46 65 Date: Wed, 15 Fe data: 62 20 32 30 30 36 20 31 31 3a 34 36 3a 34 36 20 b 2006 11:46:46 data: 47 4d 54 0d 0a 53 65 72 76 65 72 3a 20 41 70 61 GMT..Server: Apa data: 63 68 65 2f 32 2e 30 2e 35 34 20 28 46 65 64 6f che/2.0.54 (Fedo data: 72 61 29 0d 0a 58 2d 50 6f 77 65 72 65 64 2d 42 ra)..X-Powered-B data: 79 3a 20 50 48 50 2f 35 2e 30 2e 34 0d 0a 50 72 y: PHP/5.0.4..Pr data: 61 67 6d 61 3a 20 6e 6f 2d 63 61 63 68 65 0d 0a agma: no-cache.. data: 43 6f 6e 74 65 6e 74 2d 4c 65 6e 67 74 68 3a 20 Content-Length: data: 30 0d 0a 43 6f 6e 6e 65 63 74 69 6f 6e 3a 20 63 0..Connection: c data: 6c 6f 73 65 0d 0a 43 6f 6e 74 65 6e 74 2d 54 79 lose..Content-Ty data: 70 65 3a 20 74 65 78 74 2f 68 74 6d 6c 3b 20 63 pe: text/html; c data: 68 61 72 73 65 74 3d 55 54 46 2d 38 0d 0a 0d 0a harset=UTF-8.... Octet string dump ends. Starting to service <Yah udah deh > from <+628162937923> to <1234> executing sms-service '/usr/local/bin/kannel_incoming 2006-02-15+11:49:22 %2B628161107923 Yah+udah+deh' No reply sent, denied. On Wednesday 15 February 2006 05:40 pm, Fajar Priyanto wrote: > 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 18:59:20 up 11:16, 2.6.15-1.1830_FC4 GNU/Linux Let's use OpenOffice. http://www.openoffice.org
