Hi,
I managed to setup kannel and playsms on Ubuntu 14.04 following the guide. I added a smsc and gateway from settings and tried to send a sms. The report says it failed.
Following was what was there in access log…
2015-07-29 22:46:14 send-SMS request added - sender:playsms:101 127.0.0.1 target:94xxxxxx request: 'testing 11 @admin'
2015-07-29 22:46:14 DISCARDED SMS [SMSC:none] [SVC:playsms] [ACT:admin] [BINF:] [FID:] [from:101] [to:94xxxxxx] [flags:-1:0:-1:-1:31] [msg:17:testing 11 @admin] [udh:0:]
2015-07-29 22:46:14 Receive DLR [SMSC:none] [SVC:playsms] [ACT:] [BINF:] [FID:] [from:101] [to:94xxxxxx] [flags:-1:-1:-1:-1:16] [msg:12:NACK/no SMSC] [udh:0:]
This is the output of bearerbox
2015-07-29 22:46:14 [7789] [8] WARNING: Cannot find SMSCConn for message to <94xxxxxx>, rejected.
2015-07-29 22:46:14 [7789] [8] DEBUG: SMSC[UNKNOWN]: creating DLR message
2015-07-29 22:46:14 [7789] [8] DEBUG: SMSC[UNKNOWN]: DLR = http://localhost/playsms/index.php?app=call&cat=gateway&plugin=kannel&access=dlr&type=%d&smslog_id=19&uid=1
2015-07-29 22:46:14 [7789] [8] WARNING: Message rejected by bearerbox, no router!
2015-07-29 22:46:14 [7789] [8] ERROR: Could not unlink file `/var/spool/kannel/store/74/f25c9f3b-1779-49df-8c06-bdbcec56e1a1'.
2015-07-29 22:46:14 [7789] [8] ERROR: System error 2: No such file or directory
2015-07-29 22:46:14 [7789] [8] DEBUG: send_msg: sending msg to box: <127.0.0.1>
2015-07-29 22:46:14 [7789] [9] DEBUG: send_msg: sending msg to box: <127.0.0.1>
2015-07-29 22:46:14 [7789] [9] DEBUG: boxc_sender: sent message to <127.0.0.1>
2015-07-29 22:46:14 [7789] [8] DEBUG: boxc_receiver: got ack
2015-07-29 22:46:23 [7789] [8] DEBUG: boxc_receiver: heartbeat with load value 0 received
Is SMSc not getting called with the request. Is there any issue with my configuration.
Thanx