Yes I do get the message: "BYE not in loose_route" when I have added the XLOG line as mentioned by you.
Regards Dan
-----Original Message----- From: users-bounces@openser.org [mailto:users-bounces@openser.org] On Behalf Of Iñaki Baz Castillo Sent: Tuesday, September 04, 2007 2:55 PM To: users@openser.org Subject: Re: [OpenSER-Users] Opnser rejecting BYE packet
El Tuesday 04 September 2007 10:49:54 Dan escribió:
# ----------------------------------------------------------------- # Loose Route Section #
-----------------------------------------------------------------
if (loose_route()) {
if (has_totag() && (method=="INVITE" || method=="ACK")) { if (nat_uac_test("19")) { setflag(6); force_rport(); fix_nated_contact(); }; force_rtp_proxy("l"); }; route(1); exit; };
Try adding here this log:
xlog("L_INFO", "$rm not in loose_route \n");
And test if it appears in the BYE you receive.
if (!uri==myself) { route(5); route(1); exit; };