[OpenSIPS-Users] CDRTool Question

Adrian Georgescu ag at ag-projects.com
Wed Apr 11 22:23:37 CEST 2012


You may want to check the setup of both your OpenSIPS radius client setup and FreeRadius server setup with regards to the dictionary used.

Adrian

On Apr 11, 2012, at 9:58 PM, Brian ipt wrote:

> On Tue, Apr 10, 2012 at 1:56 PM, Brian ipt <voiplists at iptel.co> wrote:
>> On Mon, Apr 9, 2012 at 7:39 AM, Adrian Georgescu <ag at ag-projects.com> wrote:
>>> As the log line says "domain = " it, means no domain could be determined. But why this happens for you it eludes me.
>>> 
>>> Adrian
>>> 
> 
> Hi Adrian,
> 
> If I manually add the domain my.domain.cc to the realm field on the
> radius record and rerate that works fine.
> I never had to do this before but if that is the way CDRTool now works then ok.
> 
> I've found https://docs.sipthor.net/wiki/AccountingGuide#CDRGeneration
> 
> According to that I do need to have the domain written to the realm
> field on the radius records.
> 
> dictionary.freeradius.internal:ATTRIBUTE	Realm					1045	string
> 
> If I add this to dictionary.opensips
> and add Realm to opensips acc it writes the attribute as:
> 
> 	Attr-21 = 0x3139352e3139312e32392e3230
> 
> 
> If I remove Realm from opensips.dictionary
> 
> ERROR:acc:acc_aaa_request: failed to add Realm, 15
> 
> How to get opensips to write the Realm with the domain?
> 
> Thanks
> Brian
> 
> 
> 
> 
> 
>> 
>> Thanks,
>> 
>> domain on invite is my.domain.cc
>> opensipsctl domain rm my.domain.cc and rerate calls and it works
>> opensipsctl domain add my.domain.cc and rerate calls and it says
>> domain= '' and can't find subscriber for the call.
>> 
>> If I add a customer 0 at my.domain.cc and opensipsctl domain add
>> my.domain.cc and rerate call it works - finds subscriber
>> 0 at my.domain.cc and uses the profiles accordingly.
>> 
>> Is it doing something to do with default/local domains?
>> Perhaps I am running into a small bug in 8.2.5?
>> 
>> Brian
>> 
> 
> 
> Is there anyway to make the logging in CDRTool more verbose? I'm
> pulling out the last of my grey hairs now...
> 
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> 




More information about the Users mailing list