<P>Hi,all</P>
<P>&nbsp; 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>&nbsp; In ser.cfg I write as follows:</P>
<P>&nbsp; ...</P>
<P>&nbsp; modparam("acc", "log_level", 4)<BR>&nbsp; modparam("acc", "radius_flag", 2)<BR>&nbsp; modparam("acc", "radius_missed_flag", 3)</P>
<P>&nbsp; ...</P>
<P>&nbsp; if (method=="INVITE") {</P>
<P>&nbsp;&nbsp;&nbsp;&nbsp;log(1, "INVITE\n");<BR>&nbsp;&nbsp;&nbsp;&nbsp;if (!radius_proxy_authorize("")) {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; proxy_challenge("", "0");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; setflag(3);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; break;<BR>&nbsp;&nbsp;&nbsp;&nbsp;};<BR>&nbsp;&nbsp;&nbsp;&nbsp;setflag(2);&nbsp;<BR>&nbsp;&nbsp;};<BR>&nbsp;&nbsp;if (method=="BYE" || method=="CANCEL") {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;log (1, "BYE or CANCEL\n");\<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;setflag(2);<BR>&nbsp;&nbsp;};</P>
<P>&nbsp; ...</P>
<P>&nbsp;</P>
<P>&nbsp; What's wrong with it?Is there anything I miss to configure?</P>
<P>&nbsp; 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>