[FYI] Patch

Bruno David Simões Rodrigues <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <1021334480.14210.7.camel@davi>
I've commited a quick and dirty patch :P

For some reason, our smsc got confused and lost the sessions but not the
socket connection, therefore replying to every 51 and 31 with a 
<^B27/00065/R/51/N/04/ Message not accepted, waiting for password/FF^C>

I've tryied to send an login packet when receiving a NACK+04, but
when I do it, sockets gets EOF and connection dies, so the "dirty" part
of the patch is to just reconnect to smsc (if retry = true in config!)
to resend the authentication.

I've done some changes to smsbox to avoid joining the to list in a 
string and later split it, I mean, if I already have the list, I'll
just pass it to req_handle.

I hate late night and over-work patch times....
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.