[sr-dev] git:master:801eaa92: sipdump: option to run event_route[sipdump:msg] on rcv/snd messages

Daniel-Constantin Mierla miconda at gmail.com
Wed Jan 22 13:18:31 CET 2020


Module: kamailio
Branch: master
Commit: 801eaa92b0ad67131744b8ec58ded01ba78c1bbe
URL: https://github.com/kamailio/kamailio/commit/801eaa92b0ad67131744b8ec58ded01ba78c1bbe

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2020-01-22T13:07:47+01:00

sipdump: option to run event_route[sipdump:msg] on rcv/snd messages

- new modparam mode to control the behaviour, its values can be built
from flags:
  - 1 - write to files (the existing behaviour), default
  - 2 - execute event route
- inside event route, $sipdump(...) variable is available to get the
buffer content and other related attributes
- new modparam event_callback to set the KEMI function to be run instead
of the event route

---

Modified: src/modules/sipdump/sipdump_mod.c
Modified: src/modules/sipdump/sipdump_write.h

---

Diff:  https://github.com/kamailio/kamailio/commit/801eaa92b0ad67131744b8ec58ded01ba78c1bbe.diff
Patch: https://github.com/kamailio/kamailio/commit/801eaa92b0ad67131744b8ec58ded01ba78c1bbe.patch




More information about the sr-dev mailing list