[OpenSIPS-Users] Call-control exception with custom scenario

Carlo Dimaggio jaasmailing at gmail.com
Fri Nov 6 12:01:26 CET 2009


Il giorno 06/nov/09, alle ore 11:16, Dan Pascu ha scritto:

> That is a typo in the code. Edit callcontrol/controller.py and on line
> 303 replace valueError with ValueError (capital V). Will be fixed in
> the next release.

Thanks Dan,

I have replaced the name in ValueError but now I have this exception:

Nov  6 11:59:10 sip call-control[1966]: Call id dd2a89e0efd6b83a of 1002 at domain1.sip.xxx.it 
  to sip:1000 at domain1.sip.xxx.it is postpaid not limited
Nov  6 11:59:10 sip call-control[1966]: error: Unhandled error in  
Deferred:
Nov  6 11:59:10 sip call-control[1966]: Traceback (most recent call  
last):
Nov  6 11:59:10 sip call-control[1966]:   File "/usr/lib/python2.5/ 
site-packages/twisted/internet/defer.py", line 328, in _runCallbacks
Nov  6 11:59:10 sip call-control[1966]:     self.result =  
callback(self.result, *args, **kw)
Nov  6 11:59:10 sip call-control[1966]:   File "/usr/lib/pymodules/ 
python2.5/callcontrol/sip.py", line 185, in _setup_finish_calllimit
Nov  6 11:59:10 sip call-control[1966]:     deferred.callback(None)
Nov  6 11:59:10 sip call-control[1966]:   File "/usr/lib/python2.5/ 
site-packages/twisted/internet/defer.py", line 243, in callback
Nov  6 11:59:10 sip call-control[1966]:      
self._startRunCallbacks(result)
Nov  6 11:59:10 sip call-control[1966]:   File "/usr/lib/python2.5/ 
site-packages/twisted/internet/defer.py", line 312, in  
_startRunCallbacks
Nov  6 11:59:10 sip call-control[1966]:     self._runCallbacks()
Nov  6 11:59:10 sip call-control[1966]: --- <exception caught here> ---
Nov  6 11:59:10 sip call-control[1966]:   File "/usr/lib/python2.5/ 
site-packages/twisted/internet/defer.py", line 328, in _runCallbacks
Nov  6 11:59:10 sip call-control[1966]:     self.result =  
callback(self.result, *args, **kw)
Nov  6 11:59:10 sip call-control[1966]:   File "/usr/lib/pymodules/ 
python2.5/callcontrol/controller.py", line 206, in _CC_finish_init
Nov  6 11:59:10 sip call-control[1966]:      
self.factory.application.clean_call(req.callid)
Nov  6 11:59:10 sip call-control[1966]:   File "/usr/lib/pymodules/ 
python2.5/callcontrol/controller.py", line 298, in clean_call
Nov  6 11:59:10 sip call-control[1966]:     user_calls =  
self.users[call.billingParty]
Nov  6 11:59:10 sip call-control[1966]: exceptions.KeyError: 'sip:65310193 at domain2.sip.xxx.it'


Regards,
Carlo



More information about the Users mailing list