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

Carlo Dimaggio jaasmailing at gmail.com
Fri Nov 6 10:28:26 CET 2009


Hi all,

I'm experiencing with a Call Control exception and a custom scenario:
- User 1002 at domain1.sip.xxx.it calls number 00390832097193 (dbaliased  
to 65310193 at domain2.sip.xxx.it)
- 65310193 at domain2.sip.xxx.it has a call redirect to 1000 at domain1.sip.xxx.it
- Finally 1002 at domain1.sip.xxx.it calls user 1000 at domain1.sip.xxx.it
- The billing party is 65310193 at domain2.sip.xxx.it (the problem arise  
either with postpaid or prepaid)


My syslog shows:

Call control log:

Nov  6 10:15:55 sip call-control[2657]: Call id 35436eb2766e5f7f of 1002 at domain1.sip.xxx.it 
  to sip:1000 at domain1.sip.xxx.it is postpaid not limited
Nov  6 10:15:55 sip call-control[2657]: error: Unhandled error in  
Deferred:
Nov  6 10:15:55 sip call-control[2657]: Traceback (most recent call  
last):
Nov  6 10:15:55 sip call-control[2657]:   File "/usr/lib/python2.5/ 
site-packages/twisted/internet/defer.py", line 328, in _runCallbacks
Nov  6 10:15:55 sip call-control[2657]:     self.result =  
callback(self.result, *args, **kw)
Nov  6 10:15:55 sip call-control[2657]:   File "/usr/lib/pymodules/ 
python2.5/callcontrol/sip.py", line 185, in _setup_finish_calllimit
Nov  6 10:15:55 sip call-control[2657]:     deferred.callback(None)
Nov  6 10:15:55 sip call-control[2657]:   File "/usr/lib/python2.5/ 
site-packages/twisted/internet/defer.py", line 243, in callback
Nov  6 10:15:55 sip call-control[2657]:      
self._startRunCallbacks(result)
Nov  6 10:15:55 sip call-control[2657]:   File "/usr/lib/python2.5/ 
site-packages/twisted/internet/defer.py", line 312, in  
_startRunCallbacks
Nov  6 10:15:55 sip call-control[2657]:     self._runCallbacks()
Nov  6 10:15:55 sip call-control[2657]: --- <exception caught here> ---
Nov  6 10:15:55 sip call-control[2657]:   File "/usr/lib/python2.5/ 
site-packages/twisted/internet/defer.py", line 328, in _runCallbacks
Nov  6 10:15:55 sip call-control[2657]:     self.result =  
callback(self.result, *args, **kw)
Nov  6 10:15:55 sip call-control[2657]:   File "/usr/lib/pymodules/ 
python2.5/callcontrol/controller.py", line 206, in _CC_finish_init
Nov  6 10:15:55 sip call-control[2657]:      
self.factory.application.clean_call(req.callid)
Nov  6 10:15:55 sip call-control[2657]:   File "/usr/lib/pymodules/ 
python2.5/callcontrol/controller.py", line 303, in clean_call
Nov  6 10:15:55 sip call-control[2657]:     except valueError:
Nov  6 10:15:55 sip call-control[2657]: exceptions.NameError: global  
name 'valueError' is not defined

Cdrtool log:

Nov  6 10:15:55 mproxy1 cdrtool[10373]: DebitBalance Duration=0  
CallId=35436eb2766e5f7f From=sip:1002 at domain1.sip.xxx.it  
Gateway=10.0.6.32 To=sip:00390832097193 at domain1.sip.xxx.it:5060
Nov  6 10:15:55 mproxy1 cdrtool[10373]: MaxSessionTime Duration=36000  
CallId=35436eb2766e5f7f From=sip:65310193 at domain2.sip.xxx.it  
Gateway=10.0.6.32 To=sip:1000 at domain1.sip.xxx.it


What can be tha cause for this exception? In other cases all the  
process is ok...

Thanks and regards,
Carlo



More information about the Users mailing list