[sr-dev] git:master:789dec73: rtpengine: rebuild rtpp_socks before send command

Stefan Mititelu stefan.mititelu at 1and1.ro
Tue Jan 26 18:34:18 CET 2016


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

Author: Stefan Mititelu <stefan.mititelu at 1and1.ro>
Committer: Stefan Mititelu <stefan.mititelu at 1and1.ro>
Date: 2016-01-22T16:39:59+02:00

rtpengine: rebuild rtpp_socks before send command

- update node selection only from displayed nodes
- update rtpp_set_list alocation from get_rtpp_set() to mod_init();
thus all procs will have reference to the list of sets.
- add locks for rtpp_set_head and rtpp_set

- make rtpp_no shm variable guarded by rtpp_no_lock
- add rtpp_socks_size pkg variable
- compare rtpp_socks_size with rtpp_no and rebuild rtpp_socks if they differ

---

Modified: modules/rtpengine/rtpengine.c
Modified: modules/rtpengine/rtpengine.h
Modified: modules/rtpengine/rtpengine_db.c

---

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




More information about the sr-dev mailing list