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
Some SIP Agents don't send the BYEs, are you sure this is not the case? it happened to me a while ago with the infamous X-Pro 2.0 which never sent BYEs..
try to trace your accounting packets, use any debug features you have.
Enrique Vadillo.
Ashutosh Kumar ashutoshk@chetu.com escribió:
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
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