<div>Hi all,</div>
<div>i have just encountered a strange problem. Maybe its a bug. </div>
<div>&nbsp;</div>
<div>Suppose&nbsp;a is a user is on a call whose call-limit=2. &quot;sip show inuse&quot;&nbsp; shows the inuse counter of the user&nbsp;is set to 1. But after reloading sip (the user is still in conversation and call is up) the &quot;sip show inuse&quot; command shows that its inuse counter is set to zero. It shouldnt do that. i have seen inside the code in chan_sip.c that while doing sip reload, asterisk destroys all the user (not peers) by freeing the memory allocated for all users and destroying their channel variables. As it destroys all the users, their inuse counter is also lost. what i want to do is, before destroying the users, if any user&#39;s inuse counter &gt; 0 then save it in some place, rebuiled users after reading the config files and then set their inuse counter again by reading their saved inuse counter.</div>

<div>&nbsp;</div>
<div>Can anybody help me solve this problem. Or have another idea to solve this problem?</div>
<div>&nbsp;</div>
<div>Maybe this has been fixed in later versions of asterisk. I am using ast 1.4.2. I havent checked any other version. <br clear="all"><br>-- <br>Best Regards<br>Rizwan Hisham<br></div>