[Users] Byes not accounted

Klaus Darilion klaus.mailinglists at pernau.at
Wed Aug 23 10:19:42 CEST 2006


You have to activate the accounting of failed transactions. See the acc 
README.

regards
klaus

Jayesh Nambiar wrote:
> Hi all,
> I have got a strange problem with my accounting. This is my scenario:
> 
> I have a registered user dialling a pstn number. The call is connected 
> and then the registered UA switches off the IP device and there is no 
> BYE from the registered UA.
> Now the pstn gateway sends a BYE after certain period and Openser tries 
> to send that BYE to the registered UA, but the registered UA is powered 
> off and it never replies.
> So Openser retransmits the BYE messages and finally generates a 408 
> response towards the gateway. But Openser does not account that BYE in 
> the acc table.
> According to me, the Openser should acount that BYE for proper 
> accouning, Please correct me if I am wrong. Also suggest some method so 
> that I can make the unacknowledged BYEs account in the acc table.
> 
> In my config I have:
>     if(method=="BYE") {
>        setflag(1);
>     };
> 
>     if(method!="REGISTER") { record_route();};
> 
>     setflag(1);
> 
>     if(loose_route()) { .....
>      #the rest logic} an so on.
> 
> I have flag 1 as db_flag.
> 
> thanks in advance,
> 
> w/regards,
> jayesh.
> 
> ------------------------------------------------------------------------
> Here's a new way to find what you're looking for - Yahoo! Answers 
> <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://in.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