[Serusers] Need help for ser accounting

Iqbal iqbal at gigo.co.uk
Wed Feb 23 02:30:22 CET 2005


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
>
>
>




More information about the sr-users mailing list