Have you tried putting setflag(1) before the loose_route section? :-)
g-)
----- Original Message -----
From: Ashutosh Kumar
To: serusers@lists.iptel.org
Sent: Thursday, September 01, 2005 07:30 PM
Subject: [Serusers] BYE's not accounted

HI,

            My BYE’s are not getting accounted in the mysql DB, though all other messages are getting reflected. I have put setflag for all messages, at the beginning of cfg.

My relevant ser.cfg code is following.

 

………….

………….

        if (loose_route()) {

 

                if (has_totag() && (method=="INVITE" || method=="ACK")) {

 

                        if (client_nat_test("3") || search("^Route:.*;nat=yes")) {

                                setflag(6);

                                use_media_proxy();

                        };

                };

 

                route(1);

                break;

        };

 

                setflag(1);

………….

………….

 

Please guide.

 

 

Regards,

Ashutosh Kumar


_______________________________________________
Serusers mailing list
serusers@lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers