Hi, And thanks all of you for this tips for Wavecom !!
I've added the CNMI sequence to the keepalive-cmd and send keep alive each 10 seconds and delivery rate as realy increased !! I'm agry that this is not the best solution do this with keep alive command but it's certainly the simplest one at my level. Best solution should be to patch kannel to ressend keep alive if a generic error is catched and the modem is a wavecom. But I don't have skills to write that in C !! Thanks everybody, Regards, Bertrand ________________________________ De : Sdasdfaf Sdfsdf <[email protected]> À : Alvaro Cornejo <[email protected]>; Bertrand Dupont <[email protected]> Cc : "[email protected]" <[email protected]> Envoyé le : Samedi 1 Octobre 2011 2h04 Objet : Re: Re : Re : DLR problem with Wavecom modem pool Hi Alvaro, yes you are right, its although a possibility. But I'm not sure if the CNMI in keep-alive really is the best solution. Because when the modem sending messages the keep-alive parameter isn't active. So if there comes an error it could although happen again to some messages until the keep-alive command comes again. i will talk to our programmer and ask him for the code... best regards chris ________________________________ Von: Alvaro Cornejo <[email protected]> An: Bertrand Dupont <[email protected]> Cc: Sdasdfaf Sdfsdf <[email protected]>; "[email protected]" <[email protected]> Gesendet: 15:33 Freitag, 30.September 2011 Betreff: Re: Re : Re : DLR problem with Wavecom modem pool Hi You can add the CNMI command in keep-alive parameter in the modem config. This way you did not branch off kannel sources. Also you can set the interval at wich to send the keep-alive. Check doc for details. Regards Alvaro |-----------------------------------------------------------------------------------------------------------------| 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 Fri, Sep 30, 2011 at 5:19 AM, Bertrand Dupont <[email protected]> wrote: > Hi, > This is a great news for us ! > I supposed you have write this in the smsc_at.c file, can I ask you to share > the code you have add to send the AT+CNMI command ? > Concerning messages that stay in store file I don't think we have this > problem even if sometime I see on the status page that the sore size still > have 1 sms that stay here during several minutes but it's always comming > back to 0. > Maybe it's due to our configuration, we have several pools of 8 modems and > we have created differents kannel for each pools and we didn't put > denied-smscid in config file so messages that don't want to go throught one > modem (sim failure, ...) is requeued by kannel and sent by another modem. > We are sending around 20 to 40k sms/day like that and store file are empty > at the end of the day. > Regards, > Bertrand > > > ________________________________ > De : Sdasdfaf Sdfsdf <[email protected]> > À : Bertrand Dupont <[email protected]>; "[email protected]" > <[email protected]> > Envoyé le : Vendredi 30 Septembre 2011 13h47 > Objet : Re: Re : DLR problem with Wavecom modem pool > > Hi Bertrand, > i think i have great news for you. > we solved the problem for dlr with our wavecom modems. > we found out: before kannel respectively the modem stops receiving dlr it > gets an error like "generic error". > in this case of an error it seems that the modem losts the settings for the > at+cnmi command which we had in init-string with at+cnmi=0,2,0,1,0 and sets > at+cnmi to at+cnmi=0,0,0,0,0. > so the modem stops receiving dlr because of this missetting. > now our solution is to give the modem every time before sending a message > the command at+cnmi=0,2,0,1,0. > in the logfile it looks like this: > 2011-09-30 11:37:18 DEBUG: AT2[xxx]: TP-Validity-Period: 24.0 hours > 2011-09-30 11:37:18 DEBUG: AT2[xxx]: --> AT+CNMI=0,2,0,1,0^M > 2011-09-30 11:37:18 DEBUG: AT2[xxx]: <-- OK > 2011-09-30 11:37:18 DEBUG: AT2[xxx]: --> AT+CMGS=126^M > 2011-09-30 11:37:19 DEBUG: AT2[xxx]: <-- > > 2011-09-30 11:37:19 DEBUG: AT2[xxx]: send command status: 1 > since we had this solution, we never lost a dlr again ;) > maybe it isn't the best solution for performance, because you have to set > the command every time again before sending a sms, so you lose some milisec > between sending the messages. but it works perfectly. > if you have another solution because of my description of the problem with > the at+cnmi=0,0,0,0,0, so please share it. > another question: > do you have the same problem, that some messages stuck in store file and > will only be sent by a restart of kannel? > best regards > chris > ________________________________ > Von: Bertrand Dupont <[email protected]> > An: Chris <[email protected]>; "[email protected]" <[email protected]> > Gesendet: 15:13 Mittwoch, 28.September 2011 > Betreff: Re : DLR problem with Wavecom modem pool > > Hi > Unfortunatly no !! > We are still facing the same issue. > The only serious issue we have found is to buy TC35i siemens modems pools !! > but this is not realy an answer to the problem. > The thing that is strange with wavecom modems is the fact that sometimes we > have 91% trafic with positive DLR and sometime only 20% of the DLR. > And if you reeboot kannel this change, you can switch from 20% DLR to 90%. > So what we are doing now : we are monitoring each wavecom modem and when we > detect that we have not "enought" DLR we just stop and start the smsc via > kannel http command : http://kboxip:port/stop-sms&...etc > and most of the times it's better, but not perfect. > I realy don't know if it's a wavecom problem or if it's kannel at driver > problem. Maybe kannel at driver has been writen for TC35i ?? > If you find a better solution, share it please ! > Reagrds, > Bertrand > > ________________________________ > De : Chris <[email protected]> > À : [email protected] > Envoyé le : Dimanche 25 Septembre 2011 23h57 > Objet : Re: DLR problem with Wavecom modem pool > > Hi Bertrand, > > did you find an answer for > this problem? > we have the same problem, > but still no solution.... > > best regards > chris > > > > > > > > >
