[Kamailio-Devel] [ openser-Documentation-2008519 ] sl module doc lacks functions

SourceForge.net noreply at sourceforge.net
Mon Oct 20 19:23:45 CEST 2008


Documentation item #2008519, was opened at 2008-07-02 06:56
Message generated for change (Comment added) made by henningw
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=782960&aid=2008519&group_id=139143

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: ver devel
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Olle E. Johansson (oej)
Assigned to: Nobody/Anonymous (nobody)
Summary: sl module doc lacks functions

Initial Comment:
The SL module docs document two functions only, but the source registers these:

static cmd_export_t cmds[]={
        {"sl_send_reply",   (cmd_function)w_sl_send_reply,            2,  fixup_sl_send_reply, 0,
                        REQUEST_ROUTE | ERROR_ROUTE },
        {"sl_reply_error",  (cmd_function)w_sl_reply_error,           0,  0, 0,
                        REQUEST_ROUTE},
        {"register_slcb",  (cmd_function)register_slcb, 0,  0, 0,
                        0},
        {"load_sl",        (cmd_function)load_sl,       0,  0, 0,
                        0},
        {0,0,0,0,0,0}
};


I suggest that the "load_sl" and "register_slcb" functions is added to the documentation.

----------------------------------------------------------------------

>Comment By: Henning Westerholt (henningw)
Date: 2008-10-20 17:23

Message:
- load_sl
This function is used to import the SL API. This should be documented in
the developer part, like in the TM module.

- register_slcb
This function is used to register SL callbacks, not sure why this is
exported to the config script

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=782960&aid=2008519&group_id=139143



More information about the Devel mailing list