Re: Problem with cgi-bin/sendsms when using deferred=0

Tanja Kipreska <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <CADb-+1h1vpAQAg9SmXuMqFVi_EF7v5QT1gkP7eRaeb3pd9F3Xg@mail.gmail.com>
Hello,

Thank you for your prompt response.

As I already sad we were using deferred=0 with kannel 1.3.1 and didn't have
problem.

We will now accommodate our applications towards kannel 1.5.0 logic.

Best regards,
Tanja

On Wed, May 23, 2012 at 4:07 PM, Alexander Malysh <[email protected]>wrote:

> Hi Tanja,
>
> please keep devel@ in CC...
>
> It's not really a BUG of Kannel because in SMPP it's not defined that
> schedule_delivery_time should be in the future.
> Therefore Kannel does what you are asking for, send schedule_delivery_time
> with current time.
>
> We can workaround it in kannel BUT it's mostly your bug to sent deferred=0
> since you know SMSC doesn't accept it.
>
> Thanks,
> Alex
>
> P.S. I will fix it in SVN...
>
> Am 23.05.2012 um 15:47 schrieb Tanja Kipreska:
>
> Hello Alexander,
>
> Please find attached requested log(s). I was sending SMS to 38976514008.
>
> Meanwhile I was analyzing the code and I believe that changing line no.
> 963 in smsc_smpp.c from
>
> if (msg->sms.deferred != SMS_PARAM_UNDEFINED) {
>
> to
>
> if ((msg->sms.deferred)&&(msg->sms.deferred != SMS_PARAM_UNDEFINED)) {
>
> may solve the problem.
>
> Looking forward to your answer.
>
> Regards,
> Tanja
>
> On Wed, May 23, 2012 at 11:30 AM, Alexander Malysh <[email protected]>wrote:
>
>> Hi,
>>
>> could you please provide debug log for this submit_sm?
>>
>> Thanks,
>> Alex
>>
>> Am 22.05.2012 um 16:45 schrieb Tanja Kipreska:
>>
>> > Dear All,
>> >
>> > I've noticed problem with kannel 1.5.0 when I'm submitting AO-MT sms
>> using cgi-bin/sendsms deferred parameter. Namely, when i put deferred=0 in
>> the URL the message is rejected by the SMS center with error "Invalid
>> scheduled delivery time". I'm currently using kannel 1.3.1 in production
>> and have performed the same test and message was accepted and successfully
>> delivered.
>> >
>> > Can this be categorized as bug in kannel 1.5.0 and be fixed soon?
>> >
>> > Thanks in advance,
>> > Tanja
>> >
>>
>>
> <logs.zip>
>
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.