On Monday 13 April 2009, bay2x1 wrote:
> I am encountering an error "failed to send radius accounting record".
> The call seems to work correctly(both UAC can hear each other). I want
> also to know if this data is related/needed in computing the price of
> the call?
No. It only stores detailed information about the media session. However
if the accounting record is missing the time elements that are required
to compute the price, they can be deducted from the media information.
>
> Apr 2 15:29:30 ws16 media-dispatcher[2028]:
> [RelayServerProtocol,0,127.0.0.1] Got statistics: {'from_tag':
> '837001369', 'dialog_id': '2983:323527121', 'start_time': 1238657362.0,
> 'timed_out': False, 'call_id': '[email protected]', 'to_tag':
> '1729588947', 'streams': [{'status': 'closed', 'caller_codec': 'G711u',
> 'post_dial_delay': 1.42771315575, 'callee_codec': 'G711u',
> 'start_time': 0, 'caller_bytes': 55800, 'callee_bytes': 86200,
> 'caller_packets': 279, 'end_time': 8, 'callee_remote':
> '172.16.100.14:31902', 'caller_remote': '172.16.100.14:34230',
> 'media_type': 'audio', 'callee_local': '172.16.100.16:51294',
> 'timeout_wait': 0, 'caller_local': '172.16.100.16:51292',
> 'callee_packets': 431}], 'duration': 8, 'to_uri':
> '[email protected]', 'from_uri': '[email protected]',
> 'callee_ua': 'unknown agent', 'caller_ua': 'Minisip'} Apr 2 15:29:30
> ws16 media-dispatcher[2028]: [-] error: failed to send radius
> accounting record: 'Sip-From-Tag'
You seem to miss the correct radius dictionaries.
--
Dan
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users