thanks again. a stupid question: how can I apply this patch? Why isn't it included in the new builds (or is it?)?
----- Original Message ----- From: "Pierluigi Campidoglio" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 02, 2003 1:32 PM Subject: Re: SMS messages in handset > > Second, what is this patch and how do I get it (I'm using a snapshot from > > about a week ago - does it already include the patch?) ? > > Have a look at http://www.mail-archive.com/[EMAIL PROTECTED]/msg00311.html > > > Third, I've played around with the modem a bit (sent it AT commands using > a > > hyperterm), and came up to this configuration, which works, but... : > > > > group = modems > > id = ericsson_300 > > name = Ericsson T300 > > init-string = "AT+CNMI=3,3,2" > > with 3,3,2 you enables both SMS and CBS (broadcast messages) presentation to > the serial port. I think kannel does not support broadcast messages (correct > me if I am wrong!!!). > Try issuing an "AT+CNMI=?" command to the modem and tell me the response. > > > The messages are polled, which is not very good (when they are sent to > > kannel with CMT they cannot be parsed for some reason). > > I don't know why kannel cannot parse the messages. Anyhow, the patch from > Steve Kennedy avoids polling of messages: it will simply allow kannel to > handle both "whole" SMS (CMT) and indications (CMTI): each time a CMTI > indication ("a message arrived and was stored in memory x at location y") > the code retrieves and deletes that message from memory x without doing a > "real" poll. > > > > > ----- Original Message ----- > > From: "Pierluigi Campidoglio" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Tuesday, July 01, 2003 9:31 PM > > Subject: Re: SMS messages in handset > > > > > > > TE-specific (or class 3) messages are normal messages that are "marked" > as > > > having class 3. This is just a definition: the important thing is that > > class > > > 3 message are very rarely (if at all) used. > > > AT+CNMI=3,3 should left the messages stored on your handset **only** > when > > > you got any of such (unused) SMS; this is to say: you **should** always > > have > > > your messages deleted from inbox. I say 'should' since the standards are > > > known they are created to be violated: each manufacturer follows either > > the > > > standard or their own rules. > > > > > > Anyhow, after a look at the kannel source code, I think the best > > workaround > > > could be the following: > > > 1) remove "sim-buffering = true" > > > 2) try setting AT+CNMI=3,1 (if the modem supports it) in modems.conf > > > 3) apply the patch sent by Steve Kennedy on May 30. > > > > > > > > > > > > ----- Original Message ----- > > > From: "Zohar" <[EMAIL PROTECTED]> > > > To: "Pierluigi Campidoglio" <[EMAIL PROTECTED]>; > <[EMAIL PROTECTED]> > > > Sent: Tuesday, July 01, 2003 3:22 PM > > > Subject: Re: SMS messages in handset > > > > > > > > > > 1. What are " TE-specific"? > > > > 2. In which case will I have messages left on the handset? > > > > > > > > > > > > I am a bit confused with all the terms, so excuse my slowness... > > > > What I currently have in modems.conf, for T68 is: > > > > AT+CNMI=3,3 > > > > > > > > is this OK? - probably not, but what is..? > > > > > > > > > > ----- Original Message ----- > > > > From: "Pierluigi Campidoglio" <[EMAIL PROTECTED]> > > > > To: <[EMAIL PROTECTED]> > > > > Sent: Tuesday, July 01, 2003 1:57 PM > > > > Subject: Re: SMS messages in handset > > > > > > > > > > > > > Sure, > > > > > y=3 means: > > > > > "Send only the Class 3 (i.e., TE-specific) messages to the serial > port > > > as > > > > a > > > > > "whole"; send any other message as an indication" > > > > > > > > > > > > > > > ----- Original Message ----- > > > > > From: "Navjot Singh" <[EMAIL PROTECTED]> > > > > > To: "Pierluigi Campidoglio" <[EMAIL PROTECTED]>; > > > <[EMAIL PROTECTED]> > > > > > Sent: Tuesday, July 01, 2003 7:15 AM > > > > > Subject: RE: SMS messages in handset > > > > > > > > > > > > > > > > thanks for the information. > > > > > > Can you let me know the significance of y=3? > > > > > > > > > > > > -navjot > > > > > > > > > > > > > > > > > > |-----Original Message----- > > > > > > |From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > Behalf > > > > Of > > > > > > |Pierluigi Campidoglio > > > > > > |Sent: Tuesday, July 01, 2003 1:18 AM > > > > > > |To: [EMAIL PROTECTED] > > > > > > |Subject: Re: SMS messages in handset > > > > > > | > > > > > > | > > > > > > |Have a look at the logs and check which parms are passed to the > > > AT+CNMI > > > > > > |command. This command looks like: > > > > > > |AT+CNMI=x,y,z,p,q > > > > > > |If y=1, the handset sends the serial port notifications like "an > > > > > > |SMS was got > > > > > > |and stored in your SIM or handset memory at location x". If y=2, > > > > "whole" > > > > > > |SMSs are sent to the serial port, instead of notifications. If > the > > > > latter > > > > > > |happens, any incoming SMS is typically kept in the handset/SIM > > > > > > |inbox, unless > > > > > > |it is a class 0 (i.e., a "flash") message. > > > > > > | > > > > > > | > > > > > > |----- Original Message ----- > > > > > > |From: "Jacob Vennervald Madsen" <[EMAIL PROTECTED]> > > > > > > |To: "Zohar" <[EMAIL PROTECTED]> > > > > > > |Cc: <[EMAIL PROTECTED]> > > > > > > |Sent: Monday, June 30, 2003 6:10 PM > > > > > > |Subject: Re: SMS messages in handset > > > > > > | > > > > > > | > > > > > > |> Hi Again > > > > > > |> > > > > > > |> Sorry it took a while before a replied. > > > > > > |> > > > > > > |> > sim-buffering = true > > > > > > |> Is there any specific reason you're using sim-buffering? > > > > > > |> > > > > > > |> > the T300 and the T68 look very much alike, so i figured... > > > > > > |> Try to get a hold of the AT command set for both handsets so > you > > > can > > > > > > |> check out if there are any differences in the initialization of > > > them. > > > > > > |> Normally you can set up the phone to directly forward incomming > > > > SMS'es > > > > > > |> to the serialport or to store them first on the SIM-card. Try > to > > > > check > > > > > > |> if there are any differences in the way these things are set up > > on > > > > the > > > > > > |> two different handsets. If there is you should probably make > your > > > own > > > > > > |> "group = modem" setting to initialize the phone correctly. > > > > > > |> > > > > > > |> Best regards, > > > > > > |> Jacob Vennervald > > > > > > |> > > > > > > |> On Mon, 2003-06-30 at 17:47, Zohar wrote: > > > > > > |> > I'm using a Sony-Ericsson T300, with the following > > configuration: > > > > > > |> > > > > > > > |> > group = smsc > > > > > > |> > smsc = at2 > > > > > > |> > smsc-id = VSMSC > > > > > > |> > modemtype = ericsson_t68 > > > > > > |> > device = /dev/cua/b > > > > > > |> > speed = 9600 > > > > > > |> > validityperiod = 255 > > > > > > |> > keepalive = 10 > > > > > > |> > sim-buffering = true > > > > > > |> > > > > > > > |> > the T300 and the T68 look very much alike, so i figured... > > > > > > |> > > > > > > > |> > > > > > > > |> > ----- Original Message ----- > > > > > > |> > From: "Jacob Vennervald Madsen" <[EMAIL PROTECTED]> > > > > > > |> > To: "Zohar" <[EMAIL PROTECTED]> > > > > > > |> > Cc: <[EMAIL PROTECTED]> > > > > > > |> > Sent: Monday, June 30, 2003 4:20 PM > > > > > > |> > Subject: Re: SMS messages in handset > > > > > > |> > > > > > > > |> > > > > > > > |> > > It could be a lot of different things but most likely it's > > > > because > > > > > > |your > > > > > > |> > > GSM modem/handset is not initialized correct. > > > > > > |> > > Which GSM modem are you using? > > > > > > |> > > Which AT commands are sent to it durring initialization? > > > > > > |> > > > > > > > > |> > > Best regards, > > > > > > |> > > Jacob Vennervald > > > > > > |> > > > > > > > > |> > > On Mon, 2003-06-30 at 17:12, Zohar wrote: > > > > > > |> > > > please, I need help in understanding why, when using > > Kannel, > > > > some > > > > > > |> > handsets keep the incoming messages in their inbox (on the > > > > > > |handset/SIM), > > > > > > |> > while others don't. The ones that do get full and cannot > > > > > > |receive anymore > > > > > > |> > messages. > > > > > > |> > > > Thanks, > > > > > > |> > > > Zohar. > > > > > > |> > > -- > > > > > > |> > > Venlig hilsen / Best regards, > > > > > > |> > > Jacob Vennervald > > > > > > |> > > System Developer > > > > > > |> > > Proventum Solutions ApS > > > > > > |> > > Toldbodgade 51C > > > > > > |> > > 1253 Copenhagen K > > > > > > |> > > Denmark > > > > > > |> > > Phone: +45 33 45 43 61 > > > > > > |> > > Mobile: +45 61 68 58 51 > > > > > > |> > > > > > > > > |> > > > > > > > > |> > > > > > > > |> > > > > > > > |> -- > > > > > > |> Venlig hilsen / Best regards, > > > > > > |> Jacob Vennervald > > > > > > |> System Developer > > > > > > |> Proventum Solutions ApS > > > > > > |> Toldbodgade 51C > > > > > > |> 1253 Copenhagen K > > > > > > |> Denmark > > > > > > |> Phone: +45 33 45 43 61 > > > > > > |> Mobile: +45 61 68 58 51 > > > > > > |> > > > > > > |> > > > > > > | > > > > > > | > > > > > > | > > > > > > > > > > > > > > > > > > > > > > > > > > >