On Fri, 2011-05-13 at 15:38, ha...@aeon.pk wrote: > Well, the validity parameter is another issue with me, since my application > server is on different timezone, and kannel sends absolute timestamp > (2011-05-12 13:01:01) as validity parameter instead of relative timestamp > (expiry time = current/submission time+60 secs). I don't seem to find the > resolution of it as well, so I have stopped using the validity period thing. > Any resolution to this?
I looked in smsc_smpp.c and it does not seems that it is to complicated to change it to use relative instead of absolute time. But I cannot test it because I do not have any environment where I could play with it. > On Fri, May 13, 2011 at 2:43 PM, Milan P. Stanic <m...@arvanta.net> wrote: > > > On Fri, 2011-05-13 at 12:59, ha...@aeon.pk wrote: > > > Thanks Mads. I already tried this, but the problem that I am facing is > > that > > > the app needs to read the DLR sent by SMSC. SMSC sends 'DLR=Delivered' if > > > the handset is on. But SMSC does not send any DLR at all if the handset > > is > > > off or out of coverage. Thats the only issue I am having. Any solution > > for > > > this? > > > > Did you tried to put validity parameter with short time (1 minute)? > > I'm using pid=64 for (so called) SMS Push and SMSC responds with > > Absent_subscriber code in case it cannot deliver message to subscriber. > > > > > Also, can I get the table for the all possible values of PID and what can > > we > > > do playing around with them? Thanks! > > > > > > > > > On Fri, May 13, 2011 at 12:56 PM, Mads N. Vestergaard <m...@coolsms.com > > >wrote: > > > > > > > Hi Hamza, > > > > > > > > You can send a SMS with a special PID to generate a silent SMS. > > > > > > > > We are adding pid=64 to the HTTP request, to do this. > > > > > > > > But please be aware that not all gateways supports this. > > > > > > > > Regards, > > > > > > > > Mads > > > > > > > > Den 13/05/2011 kl. 09.51 skrev ha...@aeon.pk: > > > > > > > > > Dear friends, > > > > > > > > > > How to send a silent SMS via kannel? My purpose is to check the > > status of > > > > the mobile (ON/OFF) without bothering the customer by any pop-up/SMS > > > > messages. > > > > > > > > > > Regards, > > > > > > > > > > Hamza > > > > > > > > > > > > -- > > Kind regards, Milan > > -------------------------------------------------- > > Arvanta, IT Security http://www.arvanta.net > > Please do not send me e-mail containing HTML code. > > > > -- Kind regards, Milan -------------------------------------------------- Arvanta, IT Security http://www.arvanta.net Please do not send me e-mail containing HTML code.