Re: DLR problem

"Andrea Viscovich" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
>ERROR: Could not route message to smsbox id <(null)>, smsbox is gone!

I got same error using smpp and I agree that should not happen.
I then set smsbox-id = smsboxA in conf file, (undocumented?)

And you are right, dlrurl is not called,
what I see from smsbox is:
2003-05-07 13:00:37 [4] INFO: Starting delivery report <user> from
<+39347xxxxx>
2003-05-07 13:00:37 [9] DEBUG: HTTP: Opening connection to
`yyy.yyy.yyy.yyy:80' (fd=29).
2003-05-07 13:00:37 [9] DEBUG: Socket connecting
2003-05-07 14:40:22 [4] INFO: Starting delivery report <user> from
<+39340xxxxx>
2003-05-07 14:40:22 [9] DEBUG: HTTP: Opening connection to
`yyy.yyy.yyy.yyy:80' (fd=30).
2003-05-07 14:40:22 [9] DEBUG: Socket connecting

So for every dlr received a new fd is open, and never establishes
connection.
This happens even setting dlrmask=31 when calling smsbox after successfully
submit
the sms, without waiting dlr from smsc.

Has anyone any idea why this happens?
Thanks
Andrea
P.S.
This is the piece of code in http.c
          if (conn_is_connected(trans->conn) == 0) {
     debug("gwlib.http", 0, "Socket connected at once");

.......
          } else { /* Socket not connected, wait for connection */
            debug("gwlib.http", 0, "Socket connecting");
            trans->state = connecting;
            conn_register(trans->conn, client_fdset, handle_transaction,
trans);

I expected to have "Socket connected at once"
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.