[Users] multiple BYEs getting accounted

Bogdan-Andrei Iancu bogdan at voice-system.ro
Fri Dec 8 18:26:20 CET 2006


Hi Jayesh,

normally, acc is done on transaction level, so the retransmission are 
not accounted. Are you forcing acc from script via functions?? or maybe 
you have 2 BYEs, from both directions?

regards,
bogdan

Jayesh Nambiar wrote:

> 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
>
> ------------------------------------------------------------------------
> Find out what India is talking about on - Yahoo! Answers India 
> <http://us.rd.yahoo.com/mail/in/yanswers/*http://in.answers.yahoo.com/>
> Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. 
> Get it NOW 
> <http://us.rd.yahoo.com/mail/in/messengertagline/*http://in.messenger.yahoo.com> 
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Users mailing list
>Users at openser.org
>http://openser.org/cgi-bin/mailman/listinfo/users
>  
>





More information about the sr-users mailing list