Hi,

Here's the latest version of smsc_cgw.c - a smsc implementation for
Sonera ContentGateway. I've been using it in production for about a
month, without any actual problems. UDH and alpha-numeric sender support
work well, dlr is in an experimental stage (it has dlr support, but it
hasn't been tested too much). This version hasn't changed much from the
initial version I posted on this list - some minor improvements in
ACKing of messages has been done. I also ran the code through astyle (to
make it more CodingStyle compliant). On my to-do list is proper encoding
of various characters (like the euro char), which I'll probably
implement within a couple of weeks. 

Installation requires the following patch (adds support to the smsconn
module, and adds a new configuration parameter):

Index: gw/smscconn.c
===================================================================
RCS file: /home/cvs/gateway/gw/smscconn.c,v
retrieving revision 1.26
diff -u -r1.26 smscconn.c
--- gw/smscconn.c       2001/09/05 14:34:08     1.26
+++ gw/smscconn.c       2002/01/09 17:01:42
@@ -77,6 +77,8 @@
        ret = smsc_smpp_create(conn, grp);
     else if (octstr_compare(smsc_type, octstr_imm("at2")) == 0)
        ret = smsc_at2_create(conn,grp);
+       else if (octstr_compare(smsc_type, octstr_imm("cgw")) == 0)
+       ret = smsc_cgw_create(conn,grp);
     else
        ret = smsc_wrapper_create(conn, grp);
 
cvs server: Diffing gwlib
Index: gwlib/cfg.def
===================================================================
RCS file: /home/cvs/gateway/gwlib/cfg.def,v
retrieving revision 1.34
diff -u -r1.34 cfg.def
--- gwlib/cfg.def       2001/12/31 18:45:18     1.34
+++ gwlib/cfg.def       2002/01/09 17:01:43
@@ -181,6 +181,7 @@
     OCTSTR(throughput)
     OCTSTR(window)
     OCTSTR(idle-timeout)
+               OCTSTR(appname)
 )


Regards,

--
Anders Lindh
FlyerOne Ltd
 

Attachment: smsc_cgw.c
Description: Binary data

Reply via email to