[OpenSIPS-Devel] [opensips] Stateful and stateless callbacks before send. Msg send void* parameter to pas argument for calback. (#386)

Ionut Ionita notifications at github.com
Fri Nov 21 17:35:09 CET 2014


Added new tm callback which is called just before sending the buffer. Also modified the PRE_RAW_PROCESSING and POST_RAW_PROCESSING callbacks from script_cb to accept more than one callback(at the moment supports only one). Modified multiple modules to accept msg_send with one more paramater, which can be used to send a parameter to POST_RAW_PROCESSING callbacks. 
You can merge this Pull Request by running:

  git pull https://github.com/ionutrazvanionita/opensips master

Or you can view, comment on it, or merge it online at:

  https://github.com/OpenSIPS/opensips/pull/386

-- Commit Summary --

  * Stateful and stateless callbacks just before sending the message. One more parameter to msg_send

-- File Changes --

    M action.c (6)
    M forward.c (4)
    M forward.h (5)
    M modules/dialog/dialog.c (6)
    M modules/dialog/dlg_tophiding.c (18)
    M modules/dialog/dlg_tophiding.h (4)
    M modules/nathelper/nathelper.c (4)
    M modules/seas/seas_action.c (2)
    M modules/siptrace/siptrace.c (4)
    M modules/sl/sl_funcs.c (2)
    M modules/tm/t_funcs.c (8)
    M modules/tm/t_funcs.h (13)
    M modules/tm/t_fwd.c (3)
    M modules/tm/t_hooks.c (4)
    M modules/tm/t_hooks.h (20)
    M receive.c (2)
    M script_cb.c (103)
    M script_cb.h (12)

-- Patch Links --

https://github.com/OpenSIPS/opensips/pull/386.patch
https://github.com/OpenSIPS/opensips/pull/386.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/pull/386
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20141121/d78178f1/attachment.htm>


More information about the Devel mailing list