@Nathan : Hi buddy. I searched and found your post. Today, i shifted to the
mobile phase and tested whether Kannel works fine with Mobile as it was
working fine as a fakesmsc. I have K500i and i found the configuration
details of K510 in one of the posts and tried it. It worked and smsc was
connected successfully. My modems.conf details are like this:

group = modems
id = K500i
name = K500i
detect-string = "K500"
init-string = "AT+CNMI=2,3,0,1,0;+CMEE=1"
message-storage = ME
# PARA TEST:
keepalive-cmd = AT+CSQ
reset-string = AT+CFUN=1,0

In bearer-box it shows that a message is received and show it in hexadecimal
form i guess !!...
the part of the bearerbox log file is shown below ...

2008-10-06 14:15:18 [5868] [6] DEBUG: AT2[k500i]: -->
AT+CNMI=2,3,0,1,0;+CMEE=1^M
2008-10-06 14:15:18 [5868] [6] DEBUG: AT2[k500i]: <-- OK
2008-10-06 14:15:18 [5868] [6] INFO: AT2[k500i]: AT SMSC successfully
opened.
2008-10-06 14:16:00 [5868] [5] INFO: Client connected from <127.0.0.1> 
2008-10-06 14:16:00 [5868] [10] DEBUG: Thread 10 (gw/bb_boxc.c:function)
maps to pid 5868.
2008-10-06 14:16:00 [5868] [5] DEBUG: Started thread 10
(gw/bb_boxc.c:function)
2008-10-06 14:17:29 [5868] [6] DEBUG: AT2[k500i]: <-- +CMTI:
"ME",33.c:boxc_sender)
2008-10-06 14:17:29 [5868] [6] DEBUG: AT2[k500i]: +CMTI incoming SMS
indication: +CMTI: "ME",33
2008-10-06 14:17:30 [5868] [6] DEBUG: AT2[k500i]: --> AT+CMGR=33^M
2008-10-06 14:17:30 [5868] [6] DEBUG: AT2[k500i]: <-- +CMGR: 1,,159
2008-10-06 14:17:30 [5868] [6] DEBUG: AT2[k500i]: <--
0791290304000011240C91291353828133000080016031636302A08A6B19447C83623018E8F87E93415474DA7D9EB314CEB7F84DCE83A4C566B1292C4AA7218542712D83886F500C4445A7DD67D055FE769F430AE75BFC26E741C6A7F458A44E5D0A8522493D4D41C7271174453E41C7A4B53865298E496B710A32818C4FE931692D4E5D0A8522493FCD41C87A3BEC065DD16FD0B14C9FB314C722750A32818C4FE9B1489DBA42
2008-10-06 14:17:30 [5868] [6] DEBUG: AT2[k500i]: received message from
SMSC: +923040000011
2008-10-06 14:17:30 [5868] [6] DEBUG: AT2[k500i]: Numeric sender
(international) <+923135281833>
2008-10-06 14:17:30 [5868] [6] DEBUG: AT2[k500i]: User data length read as
(160)
2008-10-06 14:17:30 [5868] [6] DEBUG: AT2[k500i]: Udh decoding done len=160
udhi=0 udhlen=0 udh=''
2008-10-06 14:17:30 [5868] [11] DEBUG: send_msg: sending msg to box:
<127.0.0.1>
2008-10-06 14:17:30 [5868] [11] DEBUG: boxc_sender: sent message to
<127.0.0.1>
2008-10-06 14:17:30 [5868] [10] DEBUG: boxc_receiver: sms received
2008-10-06 14:17:30 [5868] [10] DEBUG: send_msg: sending msg to box:
<127.0.0.1>
2008-10-06 14:17:30 [5868] [10] DEBUG: boxc_receiver: got ack
2008-10-06 14:17:30 [5868] [6] DEBUG: AT2[k500i]: <-- OK
2008-10-06 14:17:30 [5868] [6] DEBUG: AT2[k500i]: --> AT+CMGD=33^M
2008-10-06 14:17:30 [5868] [6] DEBUG: AT2[k500i]: <-- OK
2008-10-06 14:17:30 [5868] [6] DEBUG: AT2[k500i]: TP-Validity-Period: 24.0
hours
2008-10-06 14:17:30 [5868] [6] DEBUG: AT2[k500i]: --> AT+CMGS=32^M
2008-10-06 14:17:30 [5868] [6] DEBUG: AT2[k500i]: <-- >
2008-10-06 14:17:30 [5868] [6] DEBUG: AT2[k500i]: send command status: 1
2008-10-06 14:17:30 [5868] [6] DEBUG: AT2[k500i]: -->
0011000C9129135382813300F1A714CE37685E96DBD3E332680E2F8FD3E674990C
2008-10-06 14:17:30 [5868] [6] DEBUG: AT2[k500i]: --> ^Z
2008-10-06 14:17:30 [5868] [10] DEBUG: boxc_receiver: heartbeat with load
value 0 received
2008-10-06 14:17:34 [5868] [6] DEBUG: AT2[k500i]: <-- >
2008-10-06 14:17:34 [5868] [6] DEBUG: AT2[k500i]: <-- OK
2008-10-06 14:17:34 [5868] [6] DEBUG: AT2[k500i]: send command status: 0
2008-10-06 14:17:41 [5868] [9] DEBUG: Dumping 0 messages to store

The problem is that the auto-reply which was working with fakesmsc is not
working !! It should send for e.g. "hello dear" if "nop" is sent in the
message as a key-word.

Plz help ... is there some more variables i need to define in the modems
group in the modems.conf file ?? or smthing else.

Regards,
wahib
-- 
View this message in context: 
http://www.nabble.com/Mobile-phones-that-are-known-to-work-with-kannel-tp16976217p19835347.html
Sent from the Kannel - User mailing list archive at Nabble.com.


Reply via email to