[OpenSIPS-Devel] [opensips] Repeated warning when running B2B (#162)

rrb3942 notifications at github.com
Mon Feb 3 23:09:59 CET 2014


Looks like this is caused by a bad check against req_routeid. Following patch fixes the issue.


diff --git a/modules/b2b_entities/dlg.c b/modules/b2b_entities/dlg.c
index 67ae93d..5d916e2 100644
--- a/modules/b2b_entities/dlg.c
+++ b/modules/b2b_entities/dlg.c
@@ -795,7 +795,7 @@ search_dialog:
 logic_notify:
 	etype = (table==server_htable?B2B_SERVER:B2B_CLIENT);
 
-	if(req_routeid)
+	if(req_routeid > 0)
 	{
 		lock_release(&table[hash_index].lock);
 		run_top_route(rlist[req_routeid].a, msg);

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/162#issuecomment-34006420
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20140203/fda1e3be/attachment.htm>


More information about the Devel mailing list