So, finally here it is. A first working version of the Nokia CIMD2 driver upgraded to the more convenient api SMSCConn*. I took Kalle Majorla's work on this issue as a starting point, then further improved it.
 
I have tested this with two providers, with every type of message I could think of (binary, ems, class 0, concatenated and so on) and works fine.
 
Also I've been playing around hard with connections and reconnections, dropping them by iptables, and also with the http interfaces stop-smsc and start-smsc.
 
Apart from the obvious API upgrade, I'd like to highlight some other features I added (some of them compatibility breakers):
 
1) Support for "our-hort" smsc config directive
 
2) Support for "our-port" smsc config directive
 
3) Harmonization of "my-number" config directive, instead of "sender-prefix", to make it consistent with other drivers, such as AT2, EMI2, SMASI and SMPP. (** COMPATIBILITY BREAKER **)
 
4) Interpretation of "keepalive" config directive in seconds instead of minutes, also by means of consistency with others drivers. It happens that one of my providers has a timeout to cut connections shorter than a minute. (** COMPATIBILITY BREAKER **)
 
5) Added support for parameter 069, Service Center Address, to avoid cludging log files with warnings and packet dumps. I also have a provider that sends this parameter with every MO.
 
6) Harmonization of log messages, with the format "CIMD2[smsc_id]: xxxxxxxxxxxxxxx", to ease identification of messages by connection.
 
Maybe some you can try it out and vote.
 
It would be nice to see this going into CVS for the upcoming 1.3.2 release.
 
Cheers.
 
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

Attachment: cimd2_smscconn.diff
Description: Binary data

Reply via email to