Some Nokia phones does not support CNMI command. If that is your case, you can try Nikos solution otherwise... change your phone for another brand or look for a GSM modem
|-----------------------------------------------------------------------------------------------------------------| Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier celular y Nextel en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via SMS y GPRS online Visitenos en www.perusms.NET www.smsglobal.com.mx y www.pravcom.com On Thu, Aug 26, 2010 at 9:16 AM, Rene Kluwen <[email protected]> wrote: > To be exact: The AT+CNMI gsm command is missing from your init string. > > -----Original Message----- > From: [email protected] [mailto:[email protected]] On Behalf > Of Nikos Balkanas > Sent: Thursday, 26 August, 2010 12:09 > To: Pratik Shrestha; [email protected] > Subject: Re: SMS receive not working with nokia n70 > > Hi, > > You probably have wrong init-string. There is a special section in UG about > modem initialization. You may need to configure sim-buffering and > message-storage. > > BR, > Nikos > ----- Original Message ----- > From: Pratik Shrestha > To: [email protected] > Sent: Thursday, August 26, 2010 12:01 PM > Subject: SMS receive not working with nokia n70 > > > Dear All, > I have configured nokia 70 to work. Sending sms through kannel (web > interface) is ok. But kannel is not receiving the sms when I send sms to > that phone (nokia n70). The phone receives the sms and beeps but nothing > happens to kannel. Actually I want kannel to receive that sms and post to a > link I have configured in its configuration file. > > My configuration file is > group = core > admin-port = 13000 > admin-password = bar > admin-deny-ip = "*.*.*.*" > admin-allow-ip = "127.0.0.1;192.168.0.*" > smsbox-port = 13003 > wapbox-port = 13004 > wdp-interface-name = "*" > log-file = "/var/log/kannel/bearerbox.log" > access-log="/var/log/kannel/access.log" > box-deny-ip = "*.*.*.*" > box-allow-ip = "127.0.0.1;192.168.0.*" > > group = wapbox > bearerbox-host = localhost > log-file = "/var/log/kannel/wapbox.log" > > # GSM modem > group = smsc > smsc = at > smsc-id=N70 > modemtype = nokiaphone > device = /dev/ttyACM0 > speed = 460800 > #pin =2345 > > group = modems > id = nokiaphone > name = "Nokia Phone" > detect-string = "Nokia N70" > #detect-string2 = > init-string = "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0" > #enable-hwhs = > > # fake smsc > group = smsc > smsc = fake > port = 10000 > connect-allow-ip = 127.0.0.1 > > group = smsbox > bearerbox-host = localhost > sendsms-port = 13131 > sendsms-chars = "0123456789 " > global-sender = 123456 > access-log = "kannel.access" > log-file = "smsbox.log" > log-level = 0 > > group = sms-service > keyword = nop > text = "You asked nothing and I did it!" > catch-all = true > > group = sms-service > #keyword = > keyword-regex = .* > catch-all = yes > get-url = > "http://192.168.0.92:8080/KannelSmsReceiver/msgRecvd.htm?sender=%p&text=%s-% > r" > accept-x-kannel-headers = true > max-messages = 0 > #concatenation = true > > group = sms-service > keyword = default > text = "No action specified" > > group = sendsms-user > username = username > password = password > ********************************************** > I want kannel to receive the sms and send it to url given above > "http://192.168.0.92:8080/KannelSmsReceiver/msgRecvd.htm?sender=%p&text=%s-% > r" > > Rgds, > Pratik > > > > > >
