[OpenSIPS-Users] mediaproxy problem

Dan Pascu dan at ag-projects.com
Mon Apr 13 09:47:01 CEST 2009


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': '1964828166 at 172.16.100.14', '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':
> '1008 at ws16.racequeen.local', 'from_uri': '1008 at ws16.racequeen.local',
> '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



More information about the Users mailing list