<DIV>I have been&nbsp;stuggling with this accounting issue for over&nbsp;two&nbsp;weeks now.&nbsp;I want&nbsp;force SER send a stop accounting flag&nbsp;to the radius server when it get a&nbsp;status 404.&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>I tried to use rad_acc_request("stop"); in my&nbsp;ser.cfg but I get the following error when start ser.&nbsp;"unknown command, missing loadmodule?"</DIV>
<DIV>&nbsp;</DIV>
<DIV>Please help, I have been pulling my hair for the past two week.</DIV>
<DIV>&nbsp;</DIV>
<DIV>if any one has a cheap solution that can send stop accounting&nbsp;record on incomplete call.&nbsp; let me know.</DIV>
<DIV>&nbsp;</DIV>
<DIV>thanks</DIV>
<DIV>Mohamed.</DIV>
<DIV><BR><BR><BR><B><I>Mohamed Omar &lt;amatek2004@yahoo.ca&gt;</I></B> wrote: unknown command, missing loadmodule?<BR></DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">
<DIV>
<DIV>
<DIV>How can make SER flags status&nbsp;404&nbsp;for accounting&nbsp;and send a stop&nbsp;accouting record to the radius server?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Am currently doing&nbsp;accounting for calls going to PSTN network and it's working fine if the call is not&nbsp;completed and if I get an error like status 404 then no stop accounting record is sent to the radius server.&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>I would like to force SER to send stop accouting flag to radius server.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Can I do this on SER 0.8.14</DIV>
<DIV>&nbsp;</DIV>
<DIV><EM><STRONG><FONT face="arial narrow">if (!lookup("location")) {<BR></FONT></STRONG><BR></EM><STRONG><FONT face="arial narrow"><EM>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; setflag(1);<BR></EM></FONT><FONT face="arial narrow"><EM>&nbsp;# doesn't seem to be needed, problably because sl_send_reply<BR></EM></FONT><FONT face="arial narrow"><EM>&nbsp;#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; acc_rad_request("stop");<BR></EM></FONT><FONT face="arial narrow"><EM>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sl_send_reply("404", "Not Found");<BR></EM></FONT><FONT face="arial&#13;&#10;
 narrow"><EM>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; break;<BR></EM></FONT></STRONG></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Mohamed</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<P><BR></P></DIV></DIV>
<P><BR>
<HR SIZE=1>
Post your free ad now! <A href="http://ca.personals.yahoo.com/"><B>Yahoo! Canada Personals</B></A><BR>_______________________________________________<BR>Serusers mailing list<BR>serusers@lists.iptel.org<BR>http://lists.iptel.org/mailman/listinfo/serusers<BR></BLOCKQUOTE><p><br><hr size=1>Post your free ad now! <a href="http://ca.personals.yahoo.com/"><b>Yahoo! Canada Personals</b></a><br>