u cant get call duration u need to calculate it from the INVITE and BYE
times
Iqbal
On 3/17/2005, "Marc Khayat" <marckhayat(a)hotmail.com> wrote:
hi all,
i'm using ser-0.8.14, and i'm receiving call logs on a syslog server.
But i'm not getting the call duration: in the below logs, SER is
linux.domain.net, 192.168.0.150 is registered, 65.25.48.112 is not
registered but stateful routing is used (t_relay_to_udp)
Mar 17 17:22:56 linux /sbin/ser[10908]: ACC: transaction answered:
method=INVITE, i-uri=sip:33@linux.domain.net, o-uri=sip:33@linux.domain.net,
call_id=0318F319-981E-4AD7-86E8-1DA55DB661C3(a)192.168.0.150, from=Marc Khayat
<sip:777@linux.domain.net:5061>;tag=3813796527, code=200,
to=<sip:33@linux.domain.net>;tag=b5422284a4
Mar 17 17:22:56 linux /sbin/ser[10912]: ACC: request acknowledged:
method=ACK, i-uri=sip:33@65.25.48.112, o-uri=sip:33@65.25.48.112,
call_id=0318F319-981E-4AD7-86E8-1DA55DB661C3(a)192.168.0.150, from=Marc Khayat
<sip:777@linux.domain.net:5061>;tag=3813796527, code=200,
to=<sip:33@linux.domain.net>;tag=b5422284a4
Mar 17 17:22:58 linux /sbin/ser[10915]: ACC: transaction answered:
method=BYE, i-uri=sip:33@65.25.48.112, o-uri=sip:33@65.25.48.112,
call_id=0318F319-981E-4AD7-86E8-1DA55DB661C3(a)192.168.0.150, from=Marc Khayat
<sip:777@linux.domain.net:5061>;tag=3813796527, code=200,
to=<sip:33@linux.domain.net>;tag=b5422284a4
I tried the options in log_fmt, but there's nothing.
How is it best to do accounting if syslog will not give me the call
duration? would there be any difference (call duration, ASR, ...) if I use a
Radius or MySQL ?
Thanks!
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers