[sr-dev] git:master:f7d1d234: topoh: execute event_route[topoh:msg-outgoing]

Daniel-Constantin Mierla miconda at gmail.com
Thu Jun 15 07:30:44 CEST 2017


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

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2017-06-15T07:02:59+02:00

topoh: execute event_route[topoh:msg-outgoing]

- it is executed when a message is going to be sent out
- if drop is used, then the message is no longer processed with topoh
  (it will be sent out in clear)
- a faked message is provided for now to the config interpreter, but
  send-to info is set to the real destination, so $sndto(ip) point to
  real target address and can be used to decide whether to do or not
  topoh processing for the message
- related to GH PR #1150

---

Modified: src/modules/topoh/topoh_mod.c

---

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




More information about the sr-dev mailing list