[OpenSIPS-Users] Call-control exception

Carlo Dimaggio jaasmailing at gmail.com
Wed Apr 1 17:35:11 CEST 2009


Hi,

I'm experiencing with an exception in call-control 2.0.3. I have seen  
that there are no explicit problems on prepaid system (the calls are  
handled in the right way):

Apr  1 17:28:17 sip call-control[9224]: [RatingEngineProtocol,client]  
Unhandled error in Deferred:
Apr  1 17:28:17 sip call-control[9224]: [RatingEngineProtocol,client]  
Traceback (most recent call last):
Apr  1 17:28:17 sip call-control[9224]:  
[RatingEngineProtocol,client]       File "/usr/lib/python2.5/site- 
packages/callcontrol/rating.py", line 131, in lineReceived
Apr  1 17:28:17 sip call-control[9224]:  
[RatingEngineProtocol,client]         self._respond(getattr(self, '_PE_ 
%s' % self.__request.command.lower())(line))
Apr  1 17:28:17 sip call-control[9224]:  
[RatingEngineProtocol,client]       File "/usr/lib/python2.5/site- 
packages/callcontrol/rating.py", line 193, in _respond
Apr  1 17:28:17 sip call-control[9224]:  
[RatingEngineProtocol,client]         req.deferred.callback(result)
Apr  1 17:28:17 sip call-control[9224]:  
[RatingEngineProtocol,client]       File "/usr/lib/python2.5/site- 
packages/twisted/internet/defer.py", line 239, in callback
Apr  1 17:28:17 sip call-control[9224]:  
[RatingEngineProtocol,client]         self._startRunCallbacks(result)
Apr  1 17:28:17 sip call-control[9224]:  
[RatingEngineProtocol,client]       File "/usr/lib/python2.5/site- 
packages/twisted/internet/defer.py", line 304, in _startRunCallbacks
Apr  1 17:28:17 sip call-control[9224]:  
[RatingEngineProtocol,client]         self._runCallbacks()
Apr  1 17:28:17 sip call-control[9224]:  
[RatingEngineProtocol,client]     --- <exception caught here> ---
Apr  1 17:28:17 sip call-control[9224]:  
[RatingEngineProtocol,client]       File "/usr/lib/python2.5/site- 
packages/twisted/internet/defer.py", line 317, in _runCallbacks
Apr  1 17:28:17 sip call-control[9224]:  
[RatingEngineProtocol,client]         self.result =  
callback(self.result, *args, **kw)
Apr  1 17:28:17 sip call-control[9224]:  
[RatingEngineProtocol,client]       File "/usr/lib/python2.5/site- 
packages/callcontrol/sip.py", line 239, in _start_finish_calllimit
Apr  1 17:28:17 sip call-control[9224]:  
[RatingEngineProtocol,client]         delay = limit - self.timelimit
Apr  1 17:28:17 sip call-control[9224]:  
[RatingEngineProtocol,client]     exceptions.TypeError: unsupported  
operand type(s) for -: 'str' and 'int'

Where is the problem?


Thanks and regards,
Carlo Dimaggio



More information about the Users mailing list