[Users] multiple BYEs getting accounted

Jayesh Nambiar voip_freak at yahoo.co.in
Thu Dec 7 12:42:26 CET 2006


Hi all,
I am using mysql acc table for accounting. Sometimes due to some NAT issues, my openser does not acknowledge the BYE from these NATed clients to proper port. This causes the UA to retransmit BYEs. 
Now the problem is that all the BYEs that were received by my openser are accounted in the acc table, This causes a single INVITE to have multiple BYEs. I wanted to avoid this.
How could I limit it in the script itself that 
"whenever a BYE is received; log it in acc table, but if it is a retransmited BYE for any reaason do not log it in acc table". 
Basically I need only single BYE for an INVITE to get logged in the acc table. Is this possible?
If someone has any clues over it, please help me. 

Thanks in advance,

w/regards,
jayesh




		
__________________________________________________________
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/users/attachments/20061207/645a8708/attachment.htm 


More information about the Users mailing list