Pre-Submission Checklist

Type Of Change

Checklist:

Description

To prevent code duplication I refactored ds_log_set a bit to allow for re-use of loop over all destinations and execute a callback. Perhaps there are more places this could be useful.

Add dispatcher.add rpc call to add destinations to in-memory dispatcher list. This allows for more quick and flexible updates to dispatcher list in kamailio.

A few ideas that build on top of this change are:

  1. modparam for reload to keep in-memory entries or not
  2. modparam to not read list or db
  3. dispatcher.remove _group_ _destination_
  4. modifying in routing script with ds_add_dst/ds_remove_dst

You can view, comment on, or merge this pull request online at:

  https://github.com/kamailio/kamailio/pull/1782

Commit Summary

File Changes

Patch Links:


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.