http://10.1.1.11:13013/cgi-bin/sendsms?username=sms&password=sms&to=98081888&text=ok
the output is Sent.
If I tried a wrong user/password, it shows authentication error, this means it goes thru the system but why is it not sent?
I am using a wavecom wmod2 gsm 900/1800 modem which works with gateway 1.0.3 on RH7.2. What am I missing here? Some different parameters needed to be added into config from gateway 1.0.3 to 1.3.1?
bearer.txt:
2004-02-20 15:34:07 Receive SMS [SMSC:INCOMING] [SVC:] [ACT:] [BINF:] [from:+6590748386] [to:1234] [flags:-1:0:-1:0:-1] [msg:2:Ok] [udh:0:]
2004-02-20 15:48:55 FAILED Send SMS [SMSC:INCOMING] [SVC:sms] [ACT:] [BINF:] [from:123] [to:6590748386] [flags:-1:0:-1:-1:-1] [msg:2:ok] [udh:0:]
kannel.log:
2004-02-20 15:48:40 [1347] [8] DEBUG: send_msg: sending msg to box: <127.0.0.1>
2004-02-20 15:48:41 [1347] [6] DEBUG: AT2[INCOMING]: TP-Validity-Period: 24.0 hours
2004-02-20 15:48:41 [1347] [6] DEBUG: AT2[INCOMING]: --> AT+CMGS=15^M
2004-02-20 15:48:41 [1347] [6] DEBUG: AT2[INCOMING]: <-- >
2004-02-20 15:48:41 [1347] [6] DEBUG: AT2[INCOMING]: send command status: 1
2004-02-20 15:48:41 [1347] [6] DEBUG: AT2[INCOMING]: --> 0011000A8156094738680000A702EF35
2004-02-20 15:48:41 [1347] [6] DEBUG: AT2[INCOMING]: --> ^Z
2004-02-20 15:48:44 [1347] [6] DEBUG: AT2[INCOMING]: <-- >
2004-02-20 15:48:44 [1347] [6] DEBUG: AT2[INCOMING]: <-- ERROR
2004-02-20 15:48:44 [1347] [6] DEBUG: AT2[INCOMING]: send command status: -1
2004-02-20 15:48:44 [1347] [6] DEBUG: AT2[INCOMING]: --> AT+CMGS=15^M
2004-02-20 15:48:44 [1347] [6] DEBUG: AT2[INCOMING]: <-- >
2004-02-20 15:48:44 [1347] [6] DEBUG: AT2[INCOMING]: send command status: 1
2004-02-20 15:48:44 [1347] [6] DEBUG: AT2[INCOMING]: --> 0011000A8156094738680000A702EF35
2004-02-20 15:48:44 [1347] [6] DEBUG: AT2[INCOMING]: --> ^Z
2004-02-20 15:48:50 [1347] [6] DEBUG: AT2[INCOMING]: <-- >
2004-02-20 15:48:50 [1347] [6] DEBUG: AT2[INCOMING]: <-- ERROR
2004-02-20 15:48:50 [1347] [6] DEBUG: AT2[INCOMING]: send command status: -1
2004-02-20 15:48:50 [1347] [6] DEBUG: AT2[INCOMING]: --> AT+CMGS=15^M
2004-02-20 15:48:50 [1347] [6] DEBUG: AT2[INCOMING]: <-- >
2004-02-20 15:48:50 [1347] [6] DEBUG: AT2[INCOMING]: send command status: 1
2004-02-20 15:48:50 [1347] [6] DEBUG: AT2[INCOMING]: --> 0011000A8156094738680000A702EF35
2004-02-20 15:48:50 [1347] [6] DEBUG: AT2[INCOMING]: --> ^Z
2004-02-20 15:48:55 [1347] [6] DEBUG: AT2[INCOMING]: <-- >
2004-02-20 15:48:55 [1347] [6] DEBUG: AT2[INCOMING]: <-- ERROR
2004-02-20 15:48:55 [1347] [6] DEBUG: AT2[INCOMING]: send command status: -1
kannel.conf:
group = core
admin-port = 13000
smsbox-port = 13001
admin-password = bar
log-file = "/tmp/kannel.log"
log-level = 0
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
#admin-deny-ip = ""
#admin-allow-ip = ""
unified-prefix = "659,9,659"
access-log = "/var/www/html/bearer.txt"
group = modems
id = wavecom
name = Wavecom
detect-string = "WAVECOM"
group = smsc
smsc = at
smsc-id = INCOMING
sms-center = +6596197777
modemtype = wavecom
device = /dev/ttyS0
group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
global-sender = 123
#sendsms-chars = "0123456789 +-"
log-file = "/tmp/smsbox.log"
log-level = 0
access-log = "/tmp/smsaccess.log"
group = sms-service
keyword = default
accepted-smsc = INCOMING
url = ""
max-messages = 0
group = sendsms-user
username = sms
password = sms
max-messages = 4
concatenation = 0
#user-deny-ip = ""
user-allow-ip = "10.1.1.11"
/---------------------------------------------------------------------------\
Raffles Medical Group (The Company) accepts no liability for the content of this email, or for the consequences of any actions taken on the basis of the information. Any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the Company. The Company will not accept any liability in respect of such communication, and the author responsible will be personally liable for any damages or other liability arising. The recipient should check this email and any attachments for the presence of viruses. The Company accepts no liability for any damage caused by any virus transmitted by this email. This message may contain confidential or legally privileged information and is intended solely for the use of the individual or entity to which it is addressed and others authorized to receive it. If you are not the intended recipient you are hereby notified that any disclosure, copy, distribution or taking action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately, and then delete it from your system. \--------------------------------------------------------------------------/
