I changed the modem type to WAVECOM even though my modem seems to be working interactively with kannel so far. But the result, no difference. The same issue remains - I am not able to receive any SMS. More exactly, Kannel is showing received messages as 0 always. I cannot see any errors in the kannel log file. Modem is opened perfectly and also initiated well. And as I said, sending SMS is working perfectly.
Where is the problem hidden? Any help is appreciated.. - Tinku ----- Original Message ---- From: Iain Dooley <[EMAIL PROTECTED]> To: Tinku Sampath <[EMAIL PROTECTED]> Cc: [email protected] Sent: Thursday, January 18, 2007 11:39:26 AM Subject: Re: Siemens MC39i : Kannel not receiving messages! just looking at your modem type, you have AT, i have WAVECOM here, and i include modems.conf which is where that modem type is defined. open minicom and type: ati1 <enter> to print the modem type On Thu, 18 Jan 2007, Tinku Sampath wrote: > Hi, I have SIEMENS MC39i GPRS Modem. I am trying to make it work with Kannel. I am successfully communicating with it using AT commands through minicom. I am able to send SMS as well as read messages from the SIM card using AT commands. I also tried using Gnokii in which also SMS send and receive is working perfectly. But using Kannel, I am only able to send SMS. Kannel is not showing the received SMSes. It is always showing the received count as 0 when I checked Status in bearerbox server. So I configured PlaySMS to see the incoming messages and successfully interfaced it with Kannel. But PlaySMS is also not showing anything in it's Inbox. But it is able to send SMS. After sending SMS from PlaySMS, kannel is showing the messages received from PlaySMS. I don't know where is the problem? Is that with the Modem or with the Kannel configuration? Below I am pasting the content of my kannel.conf so that anyone can suggest if there is any modification required. --------------------------------------------------------------------------------------------------------------------- kannel.conf --------------------------------------------------------------------------------------------------------------------- #--------------------------------------------- # CORE # # There is only one core group and it sets all basic settings # of the bearerbox (and system). You should take extra notes on # configuration variables like 'store-file' (or 'store-dir'), # 'admin-allow-ip' and 'access.log' group = core admin-port = 13000 smsbox-port = 13001 admin-password = ***** #status-password = foo #admin-deny-ip = "" #admin-allow-ip = "" log-file = "/tmp/kannel.log" log-level = 0 #box-deny-ip = "*.*.*.*" #box-allow-ip = "10.0.0.27" #unified-prefix = "+358,00358,0;+,00" access-log = "/tmp/access.log" store-file = "/home/tinkusam/sms.txt" #ssl-server-cert-file = "cert.pem" #ssl-server-key-file = "key.pem" #ssl-certkey-file = "mycertandprivkeyfile.pem" #--------------------------------------------- # SMSBOX SETUP # # Smsbox(es) do higher-level SMS handling after they have been received from # SMS centers by bearerbox, or before they are given to bearerbox for delivery group = smsbox bearerbox-host = 127.0.0.1 #bearerbox-port = 13000 global-sender = +1122 sendsms-port = 3333 sendsms-chars = "0123456789 +-" log-file = "/tmp/smsbox.log" log-level = 0 access-log = "/tmp/smsaccess.log" smsbox-id = tinku #---------------------------------------------- # SMSBOX ROUTE # group = smsbox-route smsbox-id = tinku smsc-ids = SIEMENSMC39i; #--------------------------------------------- # SEND-SMS USERS # # These users are used when Kannel smsbox sendsms interface is used to # send PUSH sms messages, i.e. calling URL like # http://kannel.machine:13013/cgi-bin/sendsms?username=tester&password=foobar... group = sendsms-user username = tinku password = ***** #user-deny-ip = "" #user-allow-ip = "" #--------------------------------------------- # SERVICES # # These are 'responses' to sms PULL messages, i.e. messages arriving from # handsets. The response is based on message content. Only one sms-service is # applied, using the first one to match. #group = sms-service #keyword = nop #text = "You asked nothing and I did it!" # There should be always a 'default' service. This service is used when no # other 'sms-service' is applied. group = sms-service keyword = default text = "Hello...This is from Azri GSM router" exec = /usr/local/bin/kannel_incoming %t %q %a #get-url = "http://localhost/~playsms/plugin/gateway/kannel/geturl.php?t=%t&q=%q&a=%a"; group = sms-service keyword = tinku get-url = "http://www.%s.com"; #GSM Modem # SMSC GSM group = smsc smsc = at smsc-id = "SIEMENSMC39i" modemtype = AT device = /dev/ttyS0 sms-center = +919849087001 keepalive = 20 no-dlr = false host = 127.0.0.1 port = 13013 #MODEM Settings group = modems id= AT name = "SIEMENS MC39i" detect-string = "SIEMENS" detect-string2 = "MC39i" speed = 115200 enable-hwhs="AT+IFC=2,2" init-string="AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0" message-storage = ME enable-hwhs = "AT" -------------------------------------------------------------------------------------------------------------------- Tinku ____________________________________________________________________________________ TV dinner still cooling? Check out "Tonight's Picks" on Yahoo! TV. http://tv.yahoo.com/ ____________________________________________________________________________________ Any questions? Get answers on any topic at www.Answers.yahoo.com. Try it now.
