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]
