Hi Milan,

I did submit a patch a while ago to use relative instead of absolute time, but was rejected, since a lot of SMScs do not support relative time, only absolute.

2 solutions to this: Calculate the remote time from the application and use this validity for kannel (may not always work if timezone time is less than localtime), or make it configurable, provided that the SMSc supports relative time.

BR,
Nikos
----- Original Message ----- From: "Milan P. Stanic" <m...@arvanta.net>
To: <users@kannel.org>
Sent: Friday, May 13, 2011 1:58 PM
Subject: Re: Silent SMS


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.



Reply via email to