[OpenSER-Users] Openser Mediaproxy

ashrah ash at droshta.net
Tue Apr 22 00:21:04 CEST 2008


Any idea how this can be handled in CentOS 5?



norm_brandinger wrote:
> 
> Hi,
> 
> Did you install the python-radius connector ?  On debian, the command 
> "apt-get install python-pyrad" might help.
> 
> Regards,
> Norm
> 
> 
> Abdul wrote:
>> Hi friends,
>>
>> I was trying to install Openser and Mediaproxy. but when i am starting 
>> media proxy using
>> /etc/init.d/mediaproxy star
>>
>> I am getting some error in syslog.
>>
>> Jan 22 12:18:27 hatifserver4 mediaproxy[14707]: warning: accounting is
>> enabled but the accounting module is missing. accounting is not
>> available!
>> Jan 22 12:18:27 hatifserver4 mediaproxy[14707]: Listening for commands on
>> local socket `/var/run/mediaproxy.sock'
>> Jan 22 12:18:27 hatifserver4 mediaproxy[14707]: Listening for remote
>> commands on `212.XXXXXXXXXXXXXx:25060'
>> Jan 22 12:18:27 hatifserver4 mediaproxy[14707]: Remote commands are
>> allowed from: 212.XXXXXXXXXXXXXXXXXX, 127.0.0.1
>> Jan 22 12:18:27 hatifserver4 mediaproxy[14707]: Using IP address
>> `XXXXXXXXXXXXX' for the RTP/RTCP proxy
>> Jan 22 12:18:27 hatifserver4 proxydispatcher[14710]: Traceback (most
>> recent call last):
>> Jan 22 12:18:27 hatifserver4 proxydispatcher[14710]:   File
>>  "/usr/local/mediaproxy/proxydispatcher.py", line 65, in <module>
>> Jan 22 12:18:27 hatifserver4 proxydispatcher[14710]:     
>> Jan 22 12:18:27 hatifserver4 proxydispatcher[14710]: import dispatcher
>> Jan 22 12:18:27 hatifserver4 proxydispatcher[14710]:   File
>> "/usr/local/mediaproxy/modules/dispatcher.py", line 39, in <module>
>> Jan 22 12:18:27 hatifserver4 proxydispatcher[14710]:     
>> Jan 22 12:18:27 hatifserver4 proxydispatcher[14710]: from accounting
>> import accounting, StopRecordSerializer, UnserializeError
>> Jan 22 12:18:27 hatifserver4 proxydispatcher[14710]:   File
>> "/usr/local/mediaproxy/modules/accounting.py", line 17, in <module>
>> Jan 22 12:18:27 hatifserver4 proxydispatcher[14710]:     
>> Jan 22 12:18:27 hatifserver4 proxydispatcher[14710]: from radius import *
>> Jan 22 12:18:27 hatifserver4 proxydispatcher[14710]:   File
>> "/usr/local/mediaproxy/modules/radius.py", line 10, in <module>
>> Jan 22 12:18:27 hatifserver4
>>  proxydispatcher[14710]:     
>> Jan 22 12:18:27 hatifserver4 proxydispatcher[14710]: import pyrad.client
>> Jan 22 12:18:27 hatifserver4 proxydispatcher[14710]: ImportError
>> Jan 22 12:18:27 hatifserver4 proxydispatcher[14710]: : 
>> Jan 22 12:18:27 hatifserver4 proxydispatcher[14710]: No module named
>> pyrad.client
>> Jan 22 12:18:27 hatifserver4 proxydispatcher[14710]: exiting.
>>
>> this is our Mediaproxy.ini file i am not using any kind of accounting or
>> radius in INI file 
>> but i don't kow why it is shwoing accounting is enable
>>
>> [Dispatcher]                     
>> start = yes
>> socket = /var/run/proxydispatcher.sock
>> group = openser
>> defaultProxy = /var/run/mediaproxy.sock
>>
>> [MediaProxy]
>> start = yes
>> socket = /var/run/mediaproxy.sock
>> group = openser
>> listen = XXXXXXXXXXXXXx
>> allow = XXXXXXXXXXXXXXXXXXXXXXXXxx
>> proxyIP = XXXXXXXXXXXXXXXXXXXXXX
>> portRange = 20000:65000
>> TOS = 0xb8
>> idleTimeout = 60
>> holdTimeout =
>>  3600
>> forceClose = 0
>> accounting = none
>>
>> [Accounting]
>> accounting = none 
>>   
>>
>> ------------------------------------------------------------------------
>> Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try 
>> it now. 
>> <http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ%20> 
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.openser.org
>> http://lists.openser.org/cgi-bin/mailman/listinfo/users
>>   
> 
> 
> _______________________________________________
> Users mailing list
> Users at lists.openser.org
> http://lists.openser.org/cgi-bin/mailman/listinfo/users
> 
> 

-- 
View this message in context: http://www.nabble.com/Openser-Mediaproxy-tp15017837p16815513.html
Sent from the OpenSER Users Mailing List mailing list archive at Nabble.com.





More information about the sr-users mailing list