[OpenSIPS-Users] mediaproxy and radius integration

Авдиенко Михаил whitearchey at gmail.com
Mon Jan 26 09:16:28 CET 2009


Gabriel Bermudez wrote:

> Hi list,

> Got this issue with mediaproxy. The mediaproxy dispatcher is not able to
> read the radius configuration file

> [Radius]
> config_file = /etc/radiusclient-ng/radiusclient.conf
> additional_dictionary = radius/dictionary.opensips

> The file is there, opensips can read it, but mediaproxy dispatcher
> can't?!.  This log output

> Jan 23 18:28:55 ripley media-dispatcher[6834]: [-] Log opened.
> Jan 23 18:28:55 ripley media-dispatcher[6834]: [-] Starting MediaProxy
> Dispatcher 2.3.2
> Jan 23 18:28:55 ripley media-dispatcher[6834]: [-] Twisted is using
> epollreactor
> Jan 23 18:28:55 ripley media-dispatcher[6834]: [-] fatal error: cannot
> read the RADIUS configuration file
> Jan 23 18:28:55 ripley media-dispatcher[6834]: [-] fatal error: failed
> to create MediaProxy Dispatcher: 'localhost'

> Don't know what I'm doing wrong.  Thanks for you advice.

> Regards,

I have this issue too. I discovered that it's related to the 'acctserver'  
option in radiusclient.conf file.
I've played with this option trying to add two acctservers and replacing  
localhost 127.0.0.1 and vice-versa.
Sometimes mediaproxy-dispatcher parses file ok, but do not send any  
accounting, sometimes it tries
to create MediaProxy Dispatcher at one of the addresses specified via  
acctserver ("failed to create MediaProxy Dispatcher: 'localhost'")
but sometimes it works as expected. I can not find out logic of this  
errors(



More information about the Users mailing list