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
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
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
yup, cause by default only transactions which kick off a SIP cll really hit the server i.e the INVITR, the others will usually just go via the 2 devices in the call, hence u'll miss the BYE...unless u use record_route which tells everyone to send messages via the server , and then u use the accouting to pick up this message and dump to a db, currently that BYE is not coming to ur server, so accounting will show nothing
Iqbal
On 2/23/2005, "Richard" richard@o-matrix.org wrote:
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
here we have a littile bit of confusion, record_route() says that all the message will passed through ser and setflag() saves those messages in our database.
Thanks & Regards Ritesh Jalan Senior Engineer - Test & Audit Net4india Ltd. 703, Bhikaji Cama Bhawan 11, Bhikaji Cama Place New Delhi 110066 Tel: 91 (011) (26160129 - 131) (Extn 131) URL: http://www.net4india.com ----- Original Message ----- From: "Iqbal" iqbal@gigo.co.uk To: richard@o-matrix.org; chenzhijian70@gmail.com Cc: serusers@lists.iptel.org Sent: Wednesday, February 23, 2005 7:00 AM Subject: RE: [Serusers] Need help for ser accounting
yup, cause by default only transactions which kick off a SIP cll really hit the server i.e the INVITR, the others will usually just go via the 2 devices in the call, hence u'll miss the BYE...unless u use record_route which tells everyone to send messages via the server , and then u use the accouting to pick up this message and dump to a db, currently that BYE is not coming to ur server, so accounting will show nothing
Iqbal
On 2/23/2005, "Richard" richard@o-matrix.org wrote:
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
_______________________________________________ Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers