opensmppbox patch

Aarno Syvänen as at gni.ch
Wed Nov 23 10:06:33 CET 2011


Hi all,

I did following changes in opensmppbox

- debug functions dumping various structures
- one connection to bearerbox, and data structure wrapping it. Opensmppbox 
identifies itself to bearerbox only once.
- original client box i9d (system id) is stored when MT cames and restored when
DLR cames
- Messages would be added to storgae in all cases, not only when delivery 
report is asked. Thsi is needed to route acks.
- MOs are routed to the client by smwsc id or shortcode, as Kannel does.


If use-smppboxid flag is not set, opensmppbox reverts to the current usage.

I must change Kannel, too, beacause opensmppbox uses Kannel as a library.
Msg id must be stoed and one needs to fethc data by id. Id addtion general 
msg_add function is needed.

These are patches:

For opensmppbox:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: doc.dump
Type: application/octet-stream
Size: 3602 bytes
Desc: not available
URL: <http://www.kannel.org/pipermail/devel/attachments/20111123/a488e3cc/attachment-0005.obj>
-------------- next part --------------


-------------- next part --------------
A non-text attachment was scrubbed...
Name: box.diff
Type: application/octet-stream
Size: 40261 bytes
Desc: not available
URL: <http://www.kannel.org/pipermail/devel/attachments/20111123/a488e3cc/attachment-0006.obj>
-------------- next part --------------


For Kannel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: doc.dump
Type: application/octet-stream
Size: 2959 bytes
Desc: not available
URL: <http://www.kannel.org/pipermail/devel/attachments/20111123/a488e3cc/attachment-0007.obj>
-------------- next part --------------


-------------- next part --------------
A non-text attachment was scrubbed...
Name: gw.dump
Type: application/octet-stream
Size: 26671 bytes
Desc: not available
URL: <http://www.kannel.org/pipermail/devel/attachments/20111123/a488e3cc/attachment-0008.obj>
-------------- next part --------------



-------------- next part --------------
A non-text attachment was scrubbed...
Name: gwlib.dump
Type: application/octet-stream
Size: 2020 bytes
Desc: not available
URL: <http://www.kannel.org/pipermail/devel/attachments/20111123/a488e3cc/attachment-0009.obj>
-------------- next part --------------


Aarno


More information about the devel mailing list