[OpenSIPS-Users] mediaproxy problem
bay2x1
rod at racequeen.ph
Fri Apr 17 04:28:51 CEST 2009
I have check my setup and I might be using the wrong dictionaries. I am using radiusclient-ng, I am a bit confused on where to put the dictionaries (path), and what dictionaries I am supposed to expect (e.g. dictionary.opensips, dictionary.sip, dictionary.mediaproxy etc). I followed the freeradius section for cdrtool installation guide found on ag-projects site.
And can you please explain how call price is computed by the rating engine. I understand the three steps (determination the billing party, destination id, cost). Please correct me if I am wrong, this is what I understand.
During a call transaction accounting is done by the radius server obtaining data from the request(sip header). The rating engine uses the radius accounting data to determine the billing party, the billing party data is used to determine the destination id by searching the cdrtool.destination table once the destination id is determined the rating engine finds the corresponding cost by looking at the cdrtool.rating tables with the same destination id. Using the three data the rating engine computes for the cost of call and store it in the radacct table. I am a bit confused where the the from radius accounting is from. I understand on opensips.cfg configuration under the acc module parameters for radius_extra there are some AVP variables. Using xlog I was able know that they contain null values, I want to know how to assign proper values for them (proper pseudo variables).
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
_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
--
View this message in context: http://n2.nabble.com/mediaproxy-problem-tp2625804p2644290.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
More information about the Users
mailing list