Hi Ian, Do you have the sms-service configured?
something like : # SERVICES group = sms-service get-url = "http://localhost/receive/?from=%p&message=%a&received=%T&encode=%C&charset=%c&to=%P" keyword=default omit-empty = true accept-x-kannel-headers = true -----Original Message----- From: Iain Dooley [EMAIL PROTECTED] Sent: 18 Януари 2007 г. To: seik Subject: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/
