[Serusers] MediaProxy exception (text version)
Adrian Georgescu
ag at ag-projects.com
Fri Nov 25 13:20:25 CET 2005
Hello Patrick,
The issue can be fixed by the attached patch (it will be also fixed in
the
next release).
Alternatively use python2.3 or newer which works even with the existing
code.
Index: dispatcher.py
===================================================================
RCS file: /home/cvs/cvsroot/mediaproxy/modules/dispatcher.py,v
retrieving revision 1.28
diff -u -r1.28 dispatcher.py
--- dispatcher.py 25 Jul 2005 11:18:17 -0000 1.28
+++ dispatcher.py 25 Nov 2005 05:03:47 -0000
@@ -579,7 +579,7 @@
else:
self.address = MediaProxyAddress(url) # implement this
def __setattr__(self, name, value):
- readonly = ('address')
+ readonly = ('address',)
if name in readonly and self.__dict__.has_key(name):
raise AttributeError, "'%s' is a readonly attribute" % name
self.__dict__[name] = value
>>>>>>>>>>
Patrick Jordan-Smith pjs at quicksilver.co.nz
Fri Nov 18 02:46:18 CET 2005
Hi,
When I have a outgoing INVITE my mediaproxy crashes :(
See the following:
Nov 18 14:29:00 sip1 proxydispatcher[23201]: command request
b566cc84-cd467d92-da2c547b at 202.89.130.40 202.89.130.40:2252:audio
202.89.130.40 sip.qsi.net.nz remote eth0.1 remote
PolycomSoundPointIP-SPIP_500-UA/1.5.2.0054
info=from:728728 at sip.qsi.net.nz,to:8378 at
sip.qsi.net.nz,fromtag:60DCA320-5F6D23C9,totag:
Nov 18 14:29:00 sip1 proxydispatcher[23201]:
----------------------------------------
Nov 18 14:29:00 sip1 proxydispatcher[23201]: Exception happened during
processing of request from
Nov 18 14:29:00 sip1 proxydispatcher[23201]: Traceback (most recent call
last):
Nov 18 14:29:00 sip1 proxydispatcher[23201]: File
"/usr/lib/python2.2/SocketServer.py", line 458, in
process_request_thread
Nov 18 14:29:00 sip1 proxydispatcher[23201]:
self.finish_request(request, client_address)
Nov 18 14:29:00 sip1 proxydispatcher[23201]: File
"/usr/lib/python2.2/SocketServer.py", line 253, in finish_request
Nov 18 14:29:00 sip1 proxydispatcher[23201]:
self.RequestHandlerClass(request, client_address, self)
More information about the sr-users
mailing list