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

Author: Stefan Mititelu <stefan.mitit...@1and1.ro>
Committer: Stefan Mititelu <stefan.mitit...@1and1.ro>
Date: 2016-02-23T09:54:38+02:00

rtpengine: fix queried_nodes_limit logic

Right now, even if the selected node returns error, the same node is still
selected and still queried for maximum of queried_nodes_limit times.

Don't retry to query the previous nodes, upon error returned (i.e.
Parallel session limit reached"). Instead, remember the queried nodes and try
to select between un-queried ones. Thus, rtpengine_offer() will select a proper,
available node which will be inserted in the hashtable and further used.

---

Modified: modules/rtpengine/rtpengine.c

---

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


_______________________________________________
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to