[Serusers] Need help for ser accounting

Ritesh Jalan ritesh.j at net4india.net
Wed Feb 23 05:05:32 CET 2005


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

_______________________________________________
Serusers mailing list
serusers at lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers




More information about the sr-users mailing list