[OpenSER-Users] Opnser rejecting BYE packet

Dan fiedler.dan at gmail.com
Tue Sep 4 12:46:14 CEST 2007


Scenario 1 happens when call is routed to “voipswitch” and call is hanged by
the calledparty. (If calling party hangs then no issues. I.e. when BYE is
first sent by voipswitch then accounting doesn’t happen.)

Scenario 2 happens when call is made by PAP2 and PAP2 hangs the call.

-----Original Message-----
From: Dan [mailto:fiedler.dan at gmail.com] 
Sent: Tuesday, September 04, 2007 4:00 PM
To: 'Iñaki Baz Castillo'; 'users at openser.org'
Subject: RE: [OpenSER-Users] Opnser rejecting BYE packet

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 at openser.org [mailto:users-bounces at openser.org] On Behalf
Of Iñaki Baz Castillo
Sent: Tuesday, September 04, 2007 2:55 PM
To: users at 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;
>         };



-- 
Iñaki Baz Castillo
ibc at in.ilimit.es





More information about the Users mailing list