Hi All,

We encountered problems when we simultaenously sent
SMS messages. We submitted this problem to you all and
the advise we got was that we try using Kannel version
with AT2. 

We downloaded the source and was able to run it but
another problem came up. The log reported that a
message was sent by kannel but the Phone number where
the sms was sent never got to recieve it. Can anyone
there give us some info
on what we did wrong ? 

The Log and SMS box info attached below.

Thanks,

Jeff


***************************************************************************
SMSBOX.LOG

2001-12-11 04:10:00 [0] INFO: Added logfile
`smsbox.log' with level `0'.
2001-12-11 04:10:00 [0] INFO: Service global sender
set as '+639163222966'
2001-12-11 04:10:00 [0] DEBUG: HTTP: Opening server at
port 13013.
2001-12-11 04:10:00 [0] DEBUG: Started thread 1
(gwlib/fdset.c:poller)
2001-12-11 04:10:00 [0] DEBUG: Started thread 2
(gwlib/http.c:server_thread)
2001-12-11 04:10:00 [0] INFO: Set up send sms service
at port 13013
2001-12-11 04:10:00 [0] DEBUG: Started thread 3
(gw/smsbox.c:sendsms_thread)
2001-12-11 04:10:00 [0] DEBUG:
----------------------------------------------
2001-12-11 04:10:00 [0] DEBUG: Kannel smsbox version
cvs starting
2001-12-11 04:10:00 [0] DEBUG: Started thread 4
(gw/smsbox.c:obey_request_thread)
2001-12-11 04:10:00 [0] DEBUG: Started thread 5
(gw/smsbox.c:url_result_thread)
2001-12-11 04:10:00 [0] INFO: Connected to bearerbox
at localhost port 13001.
2001-12-11 04:10:00 [0] DEBUG: Started thread 6
(gw/heartbeat.c:heartbeat_thread)
2001-12-11 04:10:51 [2] DEBUG: HTTP: Creating
HTTPClient for `127.0.0.1'.
2001-12-11 04:10:51 [3] INFO: smsbox: Got HTTP request
</cgi-bin/sendsms> from <127.0.0.1>
2001-12-11 04:10:51 [3] INFO: sendsms used by <tester>
2001-12-11 04:10:51 [3] INFO: sendsms
sender:<tester:+639163222966> (127.0.0.1)
to:<639175028572> msg:<this is a test.>
2001-12-11 04:10:51 [3] DEBUG: Status: 202 Answer:
<Sent.>
2001-12-11 04:10:51 [3] DEBUG: HTTP: Destroying
HTTPClient area 0x81a9fb8.
2001-12-11 04:10:51 [3] DEBUG: HTTP: Destroying
HTTPClient for `127.0.0.1'.

***************************************************************************
KANNEL.LOG

2001-12-11 04:10:00 [5] DEBUG: Started thread 8
(gw/bb_boxc.c:function)
2001-12-11 04:10:00 [8] INFO: Client connected from
<127.0.0.1>
2001-12-11 04:10:00 [8] DEBUG: Started thread 9
(gw/bb_boxc.c:boxc_sender)
2001-12-11 04:10:02 [6] DEBUG: AT2[/dev/ttyS1]: -->
AT+CPIN?^M
2001-12-11 04:10:02 [6] DEBUG: AT2[/dev/ttyS1]: <--
ERRO�
2001-12-11 04:10:02 [6] DEBUG: AT2[/dev/ttyS1]: <--
+CPIN: READY
2001-12-11 04:10:02 [6] DEBUG: AT2[/dev/ttyS1]: <-- OK
2001-12-11 04:10:02 [6] DEBUG: AT2[/dev/ttyS1]: -->
AT+CMGF=0^M
2001-12-11 04:10:02 [6] DEBUG: AT2[/dev/ttyS1]: <-- OK
2001-12-11 04:10:02 [6] DEBUG: AT2[/dev/ttyS1]: -->
AT+CSMS=?^M
2001-12-11 04:10:02 [6] DEBUG: AT2[/dev/ttyS1]: <--
+CSMS: (0,1,128)
2001-12-11 04:10:02 [6] DEBUG: AT2[/dev/ttyS1]: <-- OK
2001-12-11 04:10:02 [6] INFO: AT2[/dev/ttyS1]: Phase
2+ is supported
2001-12-11 04:10:02 [6] DEBUG: AT2[/dev/ttyS1]: -->
AT+CSMS=1^M
2001-12-11 04:10:02 [6] DEBUG: AT2[/dev/ttyS1]: <--
+CSMS: 1,1,1
2001-12-11 04:10:02 [6] DEBUG: AT2[/dev/ttyS1]: <-- OK
2001-12-11 04:10:02 [6] DEBUG: AT2[/dev/ttyS1]: -->
AT+CNMI=1,2,0,0,0^M
2001-12-11 04:10:02 [6] DEBUG: AT2[/dev/ttyS1]: <-- OK
2001-12-11 04:10:02 [6] INFO: AT SMSC successfully
opened.
2001-12-11 04:10:02 [7] DEBUG: sms_router: list_len =
1
2001-12-11 04:10:02 [6] DEBUG: TP-Validity-Period:
24.0 hours
2001-12-11 04:10:02 [6] DEBUG: AT2[/dev/ttyS1]: -->
AT+CMGS=28^M
2001-12-11 04:10:02 [6] DEBUG: AT2[/dev/ttyS1]: <-- >
2001-12-11 04:10:03 [6] DEBUG: AT2[/dev/ttyS1]: -->
0011000C813619572058270000A70F54747A0E4ACF416110BD3CA7BB00
2001-12-11 04:10:04 [6] DEBUG: AT2[/dev/ttyS1]: <-- >
2001-12-11 04:10:04 [6] DEBUG: AT2[/dev/ttyS1]: --> ^Z
2001-12-11 04:10:04 [6] DEBUG: send command status: 1
2001-12-11 04:10:06 [6] DEBUG: AT2[/dev/ttyS1]: <--
+CMGS: 36
2001-12-11 04:10:06 [6] DEBUG: AT2[/dev/ttyS1]: <-- OK
2001-12-11 04:10:51 [8] DEBUG: boxc_receiver: sms
received
2001-12-11 04:10:52 [6] DEBUG: TP-Validity-Period:
24.0 hours
2001-12-11 04:10:52 [6] DEBUG: AT2[/dev/ttyS1]: -->
AT+CMGS=28^M
2001-12-11 04:10:52 [6] DEBUG: AT2[/dev/ttyS1]: <-- >
2001-12-11 04:10:53 [6] DEBUG: AT2[/dev/ttyS1]: -->
0011000C813619572058270000A70F74747A0E4ACF416110BD3CA7BB00
2001-12-11 04:10:54 [6] DEBUG: AT2[/dev/ttyS1]: <-- >
2001-12-11 04:10:54 [6] DEBUG: AT2[/dev/ttyS1]: --> ^Z
2001-12-11 04:10:54 [6] DEBUG: send command status: 1
2001-12-11 04:10:54 [1] DEBUG: Dumping 0 messages and
0 acks to store
2001-12-11 04:10:57 [6] DEBUG: AT2[/dev/ttyS1]: <--
+CMGS: 37
2001-12-11 04:10:57 [6] DEBUG: AT2[/dev/ttyS1]: <-- OK

***************************************************************************
SMSKANNEL.CONF

group = core
admin-port = 13000
smsbox-port = 13001
admin-password = bar
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
unified-prefix = "+63,0063,0;+,00"
log-file = "kannel.log"
access-log = "access.log"
store-file = "kannel.store"

group = smsc
smsc = at2
modemtype = siemens
device = /dev/ttyS1
pin = 1234

group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
global-sender = +639163222966
log-file = "smsbox.log"

group = sms-service
keyword = at
post-url =
"http://10.0.5.40/~roy/mc/mc.php?mobile_no=%p&text=%a";
accept-x-kannel-headers = true
concatenation = true
max-messages = 5

group = sms-service
keyword = default
text = "Keyword not found."

group = sendsms-user
username = tester
password = foobar
max-messages = 5
concatenation = true


__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com

Reply via email to