OpenSIPS/opensips — pull request #386 by ionutrazvanionita (2014-11-21 16:35:06+00:00)
Title: Stateful and stateless callbacks before send. Msg send void* parameter to pas argument for calback.

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.