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(a)gigo.co.uk>
To: <richard(a)o-matrix.org>rg>; <chenzhijian70(a)gmail.com>
Cc: <serusers(a)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(a)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(a)iptel.org [mailto:serusers-bounces@lists.iptel.org] On
Behalf Of Iqbal
Sent: Tuesday, February 22, 2005 2:34 PM
To: chenzhijian70(a)gmail.com
Cc: serusers(a)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(a)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(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers