Hello,
latest master branch of sip-router includes support to execute an event route when a request is generated by tm module. Right now is a compile option:
make EXTRA_DEFS="-DWITH_EVENT_LOCAL_REQUEST" cfg make all make install
The functionality covers what was previously provided by local_route in Kamailio 1.5. In addition, parts of the core were updated to allow fine control of building the output buffer for requests.
Testing and feedback is very much appreciated.
Cheers, Daniel