are you sure?
record_route() is for routing the sip messages, not for accounting.
ser uses flags for call records. Just set the appropriate flags for the message and ser will save it to the database table.
Richard
-----Original Message----- From: serusers-bounces@iptel.org [mailto:serusers-bounces@lists.iptel.org] On Behalf Of Iqbal Sent: Tuesday, February 22, 2005 2:34 PM To: chenzhijian70@gmail.com Cc: serusers@lists.iptel.org Subject: Re: [Serusers] Need help for ser accounting
Try record_route all message including the BYE, looks like from the config you are just record_route the INVITES, add something like
if (!method=="REGISTER") { record_route(); };
at the start of your config
Iqbal
PS If it works post back,
On 2/22/2005, "zhijian chen" chenzhijian70@gmail.com wrote:
I have set up the ser to report accounting information. but I only get the INVITE request, no BYE. I have set the log_flag=1, setfalg(1) and record_route() in the ser file. I have no idea what is the problem.
Attached is the ser.cfg file
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers