[Serusers] BYE's not accounted

Greger V. Teigre greger at teigre.com
Fri Sep 2 08:05:57 CEST 2005


Have you tried putting setflag(1) before the loose_route section? :-)
g-)
  ----- Original Message ----- 
  From: Ashutosh Kumar 
  To: serusers at 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 at lists.iptel.org
  http://lists.iptel.org/mailman/listinfo/serusers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20050902/6ceab2b0/attachment.htm>


More information about the sr-users mailing list