diff --git a/modules/b2b_entities/dlg.c b/modules/b2b_entities/dlg.c index 67ae93de186..5d916e2ff8c 100644 --- a/modules/b2b_entities/dlg.c +++ b/modules/b2b_entities/dlg.c @@ -795,7 +795,7 @@ int b2b_prescript_f(struct sip_msg *msg, void *uparam) 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);