hi alejandro, hi sean,

i do have a smsc configured through which i can send sms:

group = smsc
smsc = at
smsc-id = REAL
modemtype = siemens
device = /dev/ttyS0

btw: i'm using siemens s55

and i have default sms services as follows:

group = sms-service
keyword = nop
text = "You asked nothing and I did it!"

group = sms-service
keyword = default
text = "No service specified"


on startup, kannel issues following at commands to the phone:
[...cut...]
2004-04-11 14:36:07 [0] DEBUG: AT: Command: AT+CPIN?
2004-04-11 14:36:07 [0] DEBUG: Read from modem: '+CPIN: READY'
2004-04-11 14:36:07 [0] DEBUG: AT: Command: AT+CMGF=0
2004-04-11 14:36:07 [0] DEBUG: Read from modem: 'OK'
2004-04-11 14:36:08 [0] DEBUG: AT: Command: AT+CNMI=1,2,0,0,0
2004-04-11 14:36:08 [0] DEBUG: Read from modem: 'OK'
2004-04-11 14:36:08 [0] INFO: AT SMSC successfully opened.


still i have nothing in the log when a sms arrives!
what i'd like to have, is a (shell) command to exec'd (or the likes...)

regards,
-beli



----- Original Message -----
From: Alejandro Guerrieri <[EMAIL PROTECTED]>
Date: Sun, 11 Apr 2004 18:32:13 +0200
To: [EMAIL PROTECTED]
Subject: Re: setup for receiving sms

> Hi Beli,
> 
> In case you don�t have an smsc connection:
> 
> You�ll need to create a special smsc connection on kannel for your GSM 
> phone. The setup depends on your particular phone, but usually involves an 
> "at" or "at2" connection with the phone. Then kannel will scan your phone 
> (the sim card, in fact) for the incoming messages.
> 
> You�ll also have to define one or many "services" based usually on the 
> first word in your incoming messages for kannel to make some apropiate action.
> 
> i.e.:
> 
> group = smsc
> smsc = at2
> smsc-id = phone
> modemtype = nokiaphone
> device = /dev/phone
> speed = 38400
> 
> nokiaphone is the modem configuration for your phone. There are many on 
> modems.conf, or you can try your own (I have to tweak a lot to make a 
> siemens c60 to work with kannel, for example). Check on the documentation, 
> there are many examples.
> 
> If you HAVE a working smsc connection:
> 
> If you already have a smsc connection for your phone and you can�t receive 
> but you can send, maybe the problem is on your AT init string. There are 
> many switches to handle how the sms's are stored on the sim card and what 
> kind of notification they give, so maybe your problem is on the init string.
> 
> Check for the AT+CNMI command, it is used to set those parameters. On my 
> siemens C60, i.e., it goes with: AT+CNMI=1,2,0,0,1, Alcatel and Ericssonn 
> goes with AT+CNMI=3,2,0,0, so you�ll have to check your phone's AT 
> implementation to set it correctly (or trial and error helped with a 
> terminal to search for correct settings).
> 
> Regards,
> 
> At 17:14 11/04/2004, you wrote:
> >hi kannel'ers,
> >
> >what do i have to do, to be able to receive sms with kannel by a gsm modem 
> >acting as smsc?
> >i can send sms, but received (replied) sms remain on my mobile and kannel 
> >doesn't know a thing about them... how does it work anyways: does some 
> >daemon have to poll it from the mobile?
> >
> >i looked through the documentation, but didn't find anything appropriate...
> >
> >thanks in advance.
> >
> >-beli
> >
> >--
> >___________________________________________________________
> >Sign-up for Ads Free at Mail.com
> >http://promo.mail.com/adsfreejump.htm
> 
> --
> Alejandro Guerrieri
> Magicom
> [EMAIL PROTECTED]
> 
> 
> 
> 

-- 
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm


Reply via email to