I have playSMS 1.3 installed in Ubuntu. Apache port is 1235. I have configured it in kannel.conf and playsms gateway section as well in bearerbox.
SMS Send from playSMS via kannel works OK, but receiving not appearing in playSMS log.
I can see sms coming in kannel log, but its not forwarding it to playSMS. I searched the forums and did exactly but this time its not working. I have it working in another box and copied the same config, but no use. following is my kannel log
2016-04-13 08:38:33 [30453] [6] DEBUG: AT2[zaibgsmid]: received message from SMSC: +92xxxxxxxx 2016-04-13 08:38:33 [30453] [6] DEBUG: AT2[zaibgsmid]: Numeric sender (international) <+92xxxxxxxx> 2016-04-13 08:38:33 [30453] [6] DEBUG: AT2[zaibgsmid]: User data length read as (9) 2016-04-13 08:38:33 [30453] [6] DEBUG: AT2[zaibgsmid]: Udh decoding done len=9 udhi=0 udhlen=0 udh='' 2016-04-13 08:38:33 [30453] [6] DEBUG: AT2[zaibgsmid]: --> AT+CNMA^M 2016-04-13 08:38:33 [30453] [9] DEBUG: send_msg: sending msg to box: <127.0.0.1> 2016-04-13 08:38:33 [30453] [9] DEBUG: boxc_sender: sent message to <127.0.0.1> 2016-04-13 08:38:33 [30453] [8] DEBUG: boxc_receiver: got ack 2016-04-13 08:38:33 [30453] [6] DEBUG: AT2[zaibgsmid]: <-- OK 2016-04-13 08:38:37 [30453] [8] DEBUG: boxc_receiver: heartbeat with load value 0 received
and then I see nothing in playSMS logs,
Following kannel section
group = sms-service keyword = default catch-all = true max-messages = 0 get-url = http://localhost:1235/playsms/index.php?app=call&cat=gateway&plugin=kannel&access=geturl&t=%t&q=%q&a=%a&Q=%Q
Getting this error in playSMS log
PID570dc48a1d703 - L2 kannel__incoming # unable to process incoming SMS. remote_addr:[127.0.0.1] or remote_host:[127.0.0.1:1235] does not match with your bearerbox_host config:[localhost] smsc:[]