Re: cimd2 question again (smsc_cimd2.c)
Dziugas Baltrunas <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello, after few letters, I got the answer from our mobile provider. they said, that status report request is permitted. so no my question is how to configure kannel not to request status report? if dlrmask is zero by default, it should't do that, but perhaps i have to think about the removal of packet_add_int_parm(packet, P_STATUS_REPORT_REQUEST, 0). regards, Dziugas Baltrunas On Thu, 21 Nov 2002, Lukas wrote: > Hi, > > Well, i don`t have such problem as you, but i am also using CIMD2. > What about reports in generally? Is it ok? How do you process dlr`s: > internal to some script or using mysql ? > > I am asking, because i cannot make delivery reports working fine. I have > tried to do internal storage and when i send message via sendms and dlrmask > eg. 31 i receive message on my nokia, report notify goes back to kannel and > : > DEBUG: Looking for DLR smsc=CIMD2:212.2.96.65:9971:itexperts, > ts=021011093616, dst=48601886668, type=1 > DEBUG: DLR not found! > > shit:( i don`t know why? > > other way: mysql storage: i`ve setup database, table and when i call sendsms > after message is delivered to phone i have: DEBUG: no rows found > > > Do you have such problems? > > Greetings, > lukas > > ----- Original Message ----- > From: "Dziugas Baltrunas" <[email protected]> > To: <[email protected]> > Sent: Thursday, November 21, 2002 3:34 PM > Subject: cimd2 question again (smsc_cimd2.c) > > > > hello, > > > > i'm writing again about the problem about CIMD2. SMSC reports with error > > 310 as follows: > > > > 2002-11-18 20:32:29 [5] DEBUG: boxc_receiver: sms received > > 2002-11-18 20:32:29 [8] DEBUG: smscconn_sender > (CIMD2:10.110.16.12:9971:m1372): sending message > > 2002-11-18 20:32:29 [8] ERROR: CIMD2 Submit message response contained > error message: > > 2002-11-18 20:32:29 [8] ERROR: code 310: Incorrect status report request > parameter usage > > > > this is a code fragment from smsc_cimd2.c, and Richard Braakman reported, > > that it has been added after he stopped developing kannel. > > > > /* 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*/ > > > > 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); > > > > so it seems, that if i add dlrmask=3 to the url (11 & 11), it would > > request status report, and it won't, if dlrmask is empty, it would > > not. but both variants report with error 310 from the SMSC. > > > > i took a look to the specification of the CIMD2 and there are all aviable > > status report requests listed. so maybe it depends on the CIMD2 exact > > version? > > > > if I only get a bit information, I would try to write a patch. > > > > i'm using kannel-1.2.0 under Debian. > > > > regards, > > Dziugas Baltrunas > > > > > > >