Angel,

thanks for the answer. i want a little bit clarify things. i KNOW that my
SMSC has forbidden "status delivery report requests". so just thought
about "universal" patch for kannel's smsc_cimd2 driver.

    /* Explicitly ask not to get status reports.
     * If we do not do this, the server's default might be to
     * send status reports in some cases, and we don't do anything
     * with those reports anyway. */
    /* ask for the delivery reports if needed*/

the question is "might defaults" be so or they might not? if no, then we
can comment out the line:

packet_add_int_parm(packet, P_STATUS_REPORT_REQUEST, 0);

and if yes, maybe we could add one more directive in the configuration
file, like "use-dlr"?

it seems stupid, because why, according to CIMD2, "0" doesn't meen "NO"? :)

regards,
Dziugas Baltrunas


On Tue, 25 Mar 2003, Angel Fradejas wrote:

> Yep that's the same error the SMSC gives when, for example, I set parameter
> 064 Tariff class on some of my connections. It only says that the SMSC
> doesn't allow you to do it.
>
> I don't think there is a method to know if your smsc supports/allows
> delivery reports. You'll have to ask your provider.
>
> Even in the case that the SMSC accepts a message with
> P_STATUS_REPORT_REQUEST set, it does not guarantee you that SMSC will in
> fact pass your application the delivery report.
>
> Angel Fradejas
> Mediafusi�n Espa?a, S.A.
> [EMAIL PROTECTED]
> www.mediafusion.es
> Tel. +34 91 252 32 00
> Fax +34 91 572 27 08
>
>
> -----Mensaje original-----
> De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] nombre de
> Dziugas Baltrunas
> Enviado el: martes 25 de marzo de 2003 16:53
> Para: Kannel Developers
> Asunto: RE: [PATCH] CIMD2 driver upgraded to smsconn api
>
>
> here is additional information what CIMD2 reports:
>
> 2003-03-25 17:50:47 [12] ERROR: CIMD2[mysmsc]: Submit message response
> contained error message:
> 2003-03-25 17:50:47 [12] ERROR: code 310: Incorrect status report request
> parameter usage
>
> regards,
> Dziugas Baltrunas
>
> On Tue, 25 Mar 2003, Dziugas Baltrunas wrote:
>
> > I would like to ask Angel, as CIMD2 guru, is there any way to check out
> > if CIMD2 SMSC supports status delivery report requests?
> >
> > currently the logic is simple:
> >
> > if (msg->sms.dlr_mask & 0x03)
> > {
> >     packet_add_int_parm(packet, P_STATUS_REPORT_REQUEST, 14);
> > }
> > else
> >     packet_add_int_parm(packet, P_STATUS_REPORT_REQUEST, 0);
> >
> > the problem is that if CIMD2 doesn't support status report,
> > packet_add_int_parm(packet, P_STATUS_REPORT_REQUEST, 0) would
> > still  cause a reject from SMSC not sending message at all. the only
> > solution I  found was to send nothing  about P_STATUS_REPORT_REQUEST (i.e.
> > commenting out the line).
> >
> > unfortunately I don't know if our provider has prohibited it using the
> > right issues (i.e. configuration file or something), so stating that my
> > operator's CIMD2 "doesn't support DLR" is not true. it's just forbidden :)
> >
> > regards,
> > Dziugas Baltrunas
> >
> > On Tue, 25 Mar 2003, Angel Fradejas wrote:
> >
> > > >I currently was writing a question to the mailing list about plans to
> > > >rewrite CIMD2 to smsconn :))
> > > >
> > > >great job, Angel.
> > > >
> > > >regards,
> > > >Dziugas Baltrunas
> > >
> > > mmmm not to worry anybody, but I'm currently debugging and optimizing
> some
> > > issues in the driver.... What I'd really like is to make it work the
> same
> > > way as SMPP in transceiver mode.
> > >
> > > Well, first I'll fix it, then think about new internal design.
> > >
> > > Angel Fradejas
> > > Mediafusi�n Espa?a, S.A.
> > > [EMAIL PROTECTED]
> > > www.mediafusion.es
> > > Tel. +34 91 252 32 00
> > > Fax +34 91 572 27 08
> > >
> > >
> > >
> > >
> >
>

Reply via email to