<P>Hi,all</P>
<P> I've tried to use RADIUS(freeradius-0.9.1) to account with SER(ser-0.9.3).But I can't account BYE or CANCEL messages,while I can account INVITE and ACK.</P>
<P> In ser.cfg I write as follows:</P>
<P> ...</P>
<P> modparam("acc", "log_level", 4)<BR> modparam("acc", "radius_flag", 2)<BR> modparam("acc", "radius_missed_flag", 3)</P>
<P> ...</P>
<P> if (method=="INVITE") {</P>
<P> log(1, "INVITE\n");<BR> if (!radius_proxy_authorize("")) {<BR> proxy_challenge("", "0");<BR> setflag(3);<BR> break;<BR> };<BR> setflag(2); <BR> };<BR> if (method=="BYE" || method=="CANCEL") {<BR> log (1, "BYE or CANCEL\n");\<BR> setflag(2);<BR> };</P>
<P> ...</P>
<P> </P>
<P> What's wrong with it?Is there anything I miss to configure?</P>
<P> Please give me any hint and thanks a lot.<BR><BR><BR><BR></P><SPAN id=spnSign></SPAN><br><!-- footer --><br><br><br><br><br><div style="border-bottom:1px solid #999"></div><br>
        <font color="black" style="font-size:14.8px">想 要 一 个 快 n 倍 的 免 费 邮 箱 吗 ? </font>
        <br>
        <a href="http://www.126.com/help/126fab.htm" target="_blank" style="font-size:12px;line-height:160%;color:blue">126 专 业 电 子 邮 局 —— 全 球 领 先 的 中 文 邮 箱 服 商 带 你 进 入 极 速 之 旅
</a>