[OpenSIPS-Users] problem when install call control module

Barsan Liviu barsanl at yahoo.com
Fri Jul 22 10:33:25 CEST 2011


Hi,

As we experienced with MediaProxy, just Python 2.6.6 and 2.7 can be used. It is 
possible to have the same requirements for the module you use.
(Your python seems to be an older one, 2.4)

Regards,
Liviu



________________________________
From: nguyen khue <minhkhue49da at yahoo.com>
To: "users at lists.opensips.org" <users at lists.opensips.org>
Sent: Fri, July 22, 2011 11:24:12 AM
Subject: [OpenSIPS-Users] problem when install call control module


Hi all,

I am trying install call-control module from ag-project. I use command "python 
setup.py install" but I had error:



running install
running build
running build_py
running build_scripts
running install_lib
byte-compiling /usr/lib/python2.4/site-packages/callcontrol/controller.py to 
controller.pyc
  File  "/usr/lib/python2.4/site-packages/callcontrol/controller.py", line 418
    db = self.db if self.db is not None else RadiusDatabase()
                  ^
SyntaxError: invalid syntax
running install_scripts
changing mode of /usr/bin/call-control to 755

please help me fix it.
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110722/fe599750/attachment.htm>


More information about the Users mailing list