Hi all,<br>I have got a strange problem with my accounting. This is my scenario:<br><br>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.<br>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.<br>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.<br>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.<br><br>In my config I have:<br>&nbsp;&nbsp;&nbsp; if(method=="BYE") {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;  setflag(1);<br>&nbsp;&nbsp;&nbsp; };<br><br>&nbsp;&nbsp;&nbsp; if(method!="REGISTER") {
 record_route();};<br><br>&nbsp;&nbsp;&nbsp; setflag(1);<br><br>&nbsp;&nbsp;&nbsp; if(loose_route()) { .....<br>&nbsp;&nbsp;&nbsp;&nbsp; #the rest logic} an so on.<br><br>I have flag 1 as db_flag.<br><br>thanks in advance,<br><br>w/regards,<br>jayesh.<br><br><p>&#32;
        

        
                <hr size=1></hr> 
Here's a new way to find what you're looking for - <a href="http://us.rd.yahoo.com/mail/in/yanswers/*http://in.answers.yahoo.com/">Yahoo! Answers</a> <BR> 
Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. <a href="http://in.rd.yahoo.com/mail/in/messengertagline/*http://in.messenger.yahoo.com">Get it NOW</a>