Hello,
I need more info how to configure my kannel box to return error response 
recieved from my sms center via http web interface:

[root@mobipage sendsms]# lynx -dump 
"http://sms.mydomain.com:13014/cgi-bin/sendsms?user=user_name&password=user_password&from=0035948899081&to=35948916165&text=lynx%20test";

   Sent.

[root@mobipage sendsms]#

Number 35948916165 is blacklisted in our SMSC.


In my logfile I recieve this:
[root@sms kannellog]# 2001-12-03 12:51:58 [0] INFO: Connected to Bearer 
Box at localhost port 13003
2001-12-03 12:51:58 [0] DEBUG: HTTP: Accepted client from <10.1.252.4>
2001-12-03 12:51:58 [0] DEBUG: Started thread 1 
(gw/smsbox.c:http_request_thread)
2001-12-03 12:51:58 [1] INFO: smsbox: Got HTTP request 
</cgi-bin/sendsms> from <10.1.252.22>
2001-12-03 12:51:58 [1] INFO: /cgi-bin/sendsms <default:0035948899081> 
<35948916165> <lynx test>
2001-12-03 12:51:58 [1] INFO: Message sent to <35948916165>
2001-12-03 12:51:58 [1] DEBUG: message sent

2001-12-03 12:51:58 [1] DEBUG: Answer: <Sent.>
2001-12-03 12:51:58 [1] DEBUG: HTTP: Closing socket <10.1.252.4:0>
2001-12-03 12:51:58 [1] DEBUG: Thread 1 
(gw/smsbox.c:http_request_thread) terminates.
2001-12-03 12:51:58 [5] DEBUG: Started thread 6 (gw/bb_boxc.c:function)
2001-12-03 12:51:58 [6] INFO: Client connected from <127.0.0.1>
2001-12-03 12:51:58 [6] DEBUG: Started thread 7 (gw/bb_boxc.c:boxc_sender)
2001-12-03 12:51:58 [6] DEBUG: boxc_receiver: message from client received
2001-12-03 12:51:58 [4] DEBUG: sms_router: adding message to 
<EMIIP:10.141.1.11:>
2001-12-03 12:51:58 [3] DEBUG: sms_sender: sending message
2001-12-03 12:51:58 [3] DEBUG: emi parsing <lynx test> to emi, length 9
2001-12-03 12:51:58 [3] DEBUG: emi 1 message 
00/00096/O/51/35948916165/0035948899081/////0100////////////3//6C796E782074657374/////////////AC
*2001-12-03 12:51:58 [3] DEBUG: get_data:Read 74 bytes: <00/00072/R/51/N/05/ Not 
accepted - 
Recipient address is in black list/B9>
2001-12-03 12:51:58 [3] DEBUG: get_data:smsc->buffer == <>
2001-12-03 12:51:58 [3] DEBUG: found message <R/51>...msg <00/00072/R/51/N/05/ Not 
accepted 
- Recipient address is in black list/B9>
2001-12-03 12:51:58 [3] DEBUG: Found ACK/NACK: <00/00072/R/51/N/05/ Not accepted - 
Recipient 
address is in black list/B9>
*2001-12-03 12:51:58 [3] DEBUG: Submit Ok...
2001-12-03 14:51:58 Sent a message - SMSC:CMG1 receiver:35948916165 msg: 
'lynx test'
2001-12-03 14:51:58 send-SMS request added - 
sender:default:0035948899081 10.1.252.22 target:35948916165 request: 
'lynx test'


Any help via private e-mail is welcome too :-)



-- 
Jordan Ostreff
Senior System Administrator
Internet Department
.\\ MOBIKOM / RTC Ltd.
tel. +359 48 899081
fax. +359 2 9605640



Reply via email to