|
@@ -550,7 +550,11 @@ static inline int process_outbound(struct sip_msg *_m, str flow_token,
|
|
rcv->src_ip.af == AF_INET6 ? "]" : "",
|
|
rcv->src_ip.af == AF_INET6 ? "]" : "",
|
|
rcv->src_port,
|
|
rcv->src_port,
|
|
get_proto_name(rcv->proto));
|
|
get_proto_name(rcv->proto));
|
|
- }
|
|
|
|
|
|
+ } else {
|
|
|
|
+ LM_DBG("outbound \"outgoing\" request found - "
|
|
|
|
+ "Not using flow-token for routing\n");
|
|
|
|
+ return 0;
|
|
|
|
+ }
|
|
|
|
|
|
return 1;
|
|
return 1;
|
|
}
|
|
}
|
|
@@ -787,6 +791,8 @@ static inline int after_loose(struct sip_msg* _m, int preloaded)
|
|
return FLOW_TOKEN_BROKEN;
|
|
return FLOW_TOKEN_BROKEN;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ LM_DBG("process_outbound returned <%d>\n", use_ob);
|
|
|
|
+
|
|
/* IF the URI was added by me, remove it */
|
|
/* IF the URI was added by me, remove it */
|
|
if (uri_is_myself>0)
|
|
if (uri_is_myself>0)
|
|
{
|
|
{
|