|
Hi Vajee,
Please change the sms-center parameter in the
SMSC group of your configuration
file
to the Message Center No. of the SMSC of your
mobile service provider.
I hope you are correctly calling kannel using
the script you have written
to process the incoming SMS with the url like
the one below:
I hope this will work. Please try once more and see
what happens.
No need to add any prefix. That parameter is not
necessary.
Regards,
Shanavaz.
----- Original Message -----
Sent: Wednesday, March 05, 2003 2:16
PM
Subject: Re: How to Setup & Test to
Receive SMS.
Hi! Shanavaz,
Thanks again for the
time you have taken to reply back.
I would like to inform you
that i have been able to successfully receive message on kannel to the
Servlet i have designed. I am enclosing the config file to you. Further,
when i receive the message to my cell acting as SMSC, kannel reports the
following:
2003-03-05 13:13:03 [8] DEBUG: HTTP: Status line:
<HTTP/1.1 200 OK> 2003-03-05 13:13:03 [5] DEBUG: message length 133,
sending 1 messages 2003-03-05 13:13:03 [4] INFO: Starting to service
<complex hello world> from <00358415300588> to
<1234>
i am wondering where this number 1234 is coming in from..
, if i have to send back a message to the sender... where and how do i
configure.
I am still not successful in sending SMS messages.
i
get the following messages: 2003-03-05 12:42:15 [6] INFO: AT2[VSMSC]: AT
SMSC successfully opened. 2003-03-05 12:42:17 [6] DEBUG: AT2[VSMSC]: -->
AT+CBC;+CSQ^M 2003-03-05 12:42:17 [6] DEBUG: AT2[VSMSC]: <--
AT+CBC;+CSQ 2003-03-05 12:42:17 [6] DEBUG: AT2[VSMSC]: <-- +CBC:
0,27 2003-03-05 12:42:17 [6] DEBUG: AT2[VSMSC]: <-- +CSQ:
23,99 2003-03-05 12:42:17 [6] DEBUG: AT2[VSMSC]: <-- OK 2003-03-05
12:42:17 [6] DEBUG: AT2[VSMSC]: --> AT+CPMS?^M 2003-03-05 12:42:17 [6]
DEBUG: AT2[VSMSC]: <-- AT+CPMS? 2003-03-05 12:42:17 [6] DEBUG:
AT2[VSMSC]: <-- +CPMS: "ME",0,70,"SM",0,13,"ME",0 ,70
when i
send a message then.
2003-03-05 12:47:12 [9] DEBUG: boxc_receiver: sms
received 2003-03-05 12:47:13 [6] DEBUG: AT2[VSMSC]: TP-Validity-Period: 63
weeks 2003-03-05 12:47:13 [6] DEBUG: AT2[VSMSC]: -->
AT+CMGS=41^M 2003-03-05 12:47:13 [6] DEBUG: AT2[VSMSC]: <--
AT+CMGS=41 2003-03-05 12:47:13 [6] DEBUG: AT2[VSMSC]: <--
> 2003-03-05 12:47:13 [6] DEBUG: AT2[VSMSC]: send command status:
1 2003-03-05 12:47:13 [6] DEBUG: AT2[VSMSC]:
--> 0011000C915348510350880000FF1EC83 29BFD0655DBE539DAE5A297E7749059FE6E83D661B7BBCC7601 2003-03-05
12:47:13 [6] DEBUG: AT2[VSMSC]: --> ^Z 2003-03-05 12:47:34 [6] DEBUG:
AT2[VSMSC]: send command status: -1 2003-03-05 12:47:34 [6] DEBUG:
AT2[VSMSC]: --> AT+CMGS=41^M 2003-03-05 12:47:34 [6] DEBUG: AT2[VSMSC]:
<-- > 2003-03-05 12:47:34 [6] DEBUG: AT2[VSMSC]: send command status:
1 2003-03-05 12:47:34 [6] DEBUG: AT2[VSMSC]:
--> 0011000C915348510350880000FF1EC83 29BFD0655DBE539DAE5A297E7749059FE6E83D661B7BBCC7601 2003-03-05
12:47:34 [6] DEBUG: AT2[VSMSC]: --> ^Z 2003-03-05 12:47:53 [6] DEBUG:
AT2[VSMSC]:
<-- 0011000C915348510350880000FF1EC83 29BFD0655DBE539DAE5A297E7749059FE6E83D661B7BBCC7601 2003-03-05
12:47:53 [6] DEBUG: AT2[VSMSC]: <-- +CMS ERROR: 500 2003-03-05 12:47:53
[6] ERROR: AT2[VSMSC]: CMS ERROR: +CMS ERROR: 500 2003-03-05 12:47:53 [6]
DEBUG: AT2[VSMSC]: send command status: 1 2003-03-05 12:47:53 [6] DEBUG:
AT2[VSMSC]: --> AT+CMGS=41^M 2003-03-05 12:47:53 [6] DEBUG: AT2[VSMSC]:
<-- AT+CMGS=41 2003-03-05 12:47:53 [6] DEBUG: AT2[VSMSC]: <--
> 2003-03-05 12:47:53 [6] DEBUG: AT2[VSMSC]: send command status:
1 2003-03-05 12:47:53 [6] DEBUG: AT2[VSMSC]:
--> 0011000C915348510350880000FF1EC83 29BFD0655DBE539DAE5A297E7749059FE6E83D661B7BBCC7601 2003-03-05
12:47:53 [6] DEBUG: AT2[VSMSC]: --> ^Z
2003-03-05 12:48:14 [6]
DEBUG: AT2[VSMSC]: send command status: -1 2003-03-05 12:48:14 [6] DEBUG:
AT2[VSMSC]: --> AT+CPMS?^M 2003-03-05 12:48:14 [1] DEBUG: Dumping 0
messages and 0 acks to store 2003-03-05 12:48:18 [6] DEBUG: failed to send
mem select command to modem -1 2003-03-05 12:48:18 [6] DEBUG: AT2[VSMSC]:
memory check error 2003-03-05 12:48:26 [6] DEBUG: AT2[VSMSC]: -->
AT+CBC;+CSQ^M 2003-03-05 12:48:32 [6] INFO: AT2[VSMSC]: closing
device 2003-03-05 12:48:32 [6] INFO: AT2[VSMSC]: waiting for 15 seconds
before trying t o connect again 2003-03-05 12:48:47 [6] INFO:
AT2[VSMSC]: opening device
the status is found as
follows:
VSMSC AT2[VSMSC] (online 162s, rcvd 0, sent 0, failed 0,
queued 0 msgs)
VSMSC AT2[VSMSC] (online 513s, rcvd 0, sent 0, failed 1,
queued 0 msgs)
VSMSC AT2[VSMSC] (re-connecting, rcvd 0, sent 0, failed
2, queued 0 msgs)
VSMSC AT2[VSMSC] (online 513s, rcvd 3, sent 0, failed
6, queued 0 msgs)
I am enclosing the config file for your
reference.
Please let me know what is going wrong and what needs to be
done.. If i have to send a SMS to a number, do i need to add the
prefix?
Waiting for your timely help.
Regards,
Vajee
Uddin.
|