Re: [OpenSIPS-Users] Facing some issue with opensips while configuration .
python3 -V Python 3.6.8 This is the exact version I have . *Thanks & Regards* *Sasmita Panda* *Senior Network Testing and Software Engineer* *3CLogic , ph:07827611765* On Tue, Dec 12, 2023 at 8:12 PM Bogdan-Andrei Iancu wrote: > What is the exact version of Python you have? > > Regards, > > Bogdan-Andrei Iancu > > OpenSIPS Founder and Developer > https://www.opensips-solutions.com > https://www.siphub.com > > On 12.12.2023 13:42, Sasmita Panda wrote: > > I am trying to install opensips-cli on the same version of linux but > facing some issue while connecting to the cli interface . > > > Steps I have followed : > sudo yum install python3 python3-pip python3-devel gcc > sudo yum install python3-sqlalchemy python3-pyOpenSSL > git clone https://github.com/opensips/opensips-cli ~/src/opensips-cli > cd /root/src/opensips-cli/ > sudo python3 setup.py install clean > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > */usr/local/bin/opensips-cli Traceback (most recent call last): File > "/usr/local/bin/opensips-cli", line 4, in > __import__('pkg_resources').run_script('opensipscli==0.2.0', > 'opensips-cli') File > "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 654, in > run_script self.require(requires)[0].run_script(script_name, ns) File > "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 1434, in > run_script exec(code, namespace, namespace) File > "/usr/local/lib/python3.6/site-packages/opensipscli-0.2.0-py3.6.egg/EGG-INFO/scripts/opensips-cli", > line 3, in from opensipscli import main File > "/usr/local/lib/python3.6/site-packages/opensipscli-0.2.0-py3.6.egg/opensipscli/main.py", > line 22, in from opensipscli import cli, defaults, version > File > "/usr/local/lib/python3.6/site-packages/opensipscli-0.2.0-py3.6.egg/opensipscli/cli.py", > line 32, in from opensipscli.modules import * File > "/usr/local/lib/python3.6/site-packages/opensipscli-0.2.0-py3.6.egg/opensipscli/modules/__init__.py", > line 24, in __import__(modname) File > "/usr/local/lib/python3.6/site-packages/opensipscli-0.2.0-py3.6.egg/opensipscli/modules/database.py", > line 23, in from opensipscli.db import ( File > "/usr/local/lib/python3.6/site-packages/opensipscli-0.2.0-py3.6.egg/opensipscli/db.py", > line 37, in import sqlalchemy_utils File > "/usr/local/lib/python3.6/site-packages/SQLAlchemy_Utils-0.41.1-py3.6.egg/sqlalchemy_utils/__init__.py", > line 1, in from .aggregates import aggregated # noqa File > "/usr/local/lib/python3.6/site-packages/SQLAlchemy_Utils-0.41.1-py3.6.egg/sqlalchemy_utils/aggregates.py", > line 374, in from .compat import _select_args, > get_scalar_subquery File > "/usr/local/lib/python3.6/site-packages/SQLAlchemy_Utils-0.41.1-py3.6.egg/sqlalchemy_utils/compat.py", > line 7, in from importlib_metadata import metadata File > "/usr/local/lib/python3.6/site-packages/importlib_metadata-7.0.0-py3.6.egg/importlib_metadata/__init__.py", > line 7, in import zipp File > "/usr/local/lib/python3.6/site-packages/zipp-3.17.0-py3.6.egg/zipp/__init__.py", > line 9, in from .py310compat import text_encoding File > "/usr/local/lib/python3.6/site-packages/zipp-3.17.0-py3.6.egg/zipp/py310compat.py", > line 5 def _text_encoding(encoding, stacklevel=2, /): # pragma: no > cover* > > > How should I proceed ? > > *Thanks & Regards* > *Sasmita Panda* > *Senior Network Testing and Software Engineer* > *3CLogic , ph:07827611765* > > > On Tue, Dec 12, 2023 at 4:30 PM Sasmita Panda wrote: > >> Thanks for the reply . I tried opensips 3.2 and the issue didn't come . >> opensips 3.4 we have not tested yet . Will do that soon . >> >> Thank you once again . >> >> *Thanks & Regards* >> *Sasmita Panda* >> *Senior Network Testing and Software Engineer* >> *3CLogic , ph:07827611765* >> >> >> On Tue, Dec 12, 2023 at 3:09 PM Bogdan-Andrei Iancu >> wrote: >> >>> Hi Sasmita? >>> >>> Why the old 2.2? Try 3.4 version, this may be fixed. >>> >>> Regards, >>> >>> Bogdan-Andrei Iancu >>> >>> OpenSIPS Founder and Developer >>> https://www.opensips-solutions.com >>> https://www.siphub.com >>> >>> On 12.12.2023 10:48, Sasmita Panda wrote: >>> >>> HI All , >>> >>> I have RedHat machine : VERSION_ID="8.7" >>> I am trying to install opensips 2.2 . >>> >>> I have installed mysql >>> Name : mysql-server : Version : 8.0.32 >>> Name : mysql-devel : Version : 8.0.32 >>> Name : mysql-libs: Version : 8.0.32 >>> >>> *These are all installed still when I am running make command on >>> opensips its giving some error while building mysql module . * >>> >>> make[1]: Entering directory >>> '/home/ec2-user/opensips-2.2/modules/db_mysql' >>> Compiling row.c >>> Compiling my_con.c >>> In file included from row.c:29: >>> my_con.h:36:2: error: unknown type name ‘my_bool’ >>> my_bool null; >>> ^~~ >>> >>> Is there any compatibility issue of opensips with mysql ? What version >>>
Re: [OpenSIPS-Users] Facing some issue with opensips while configuration .
What is the exact version of Python you have? Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com https://www.siphub.com On 12.12.2023 13:42, Sasmita Panda wrote: I am trying to install opensips-cli on the same version of linux but facing some issue while connecting to the cli interface . Steps I have followed : sudo yum install python3 python3-pip python3-devel gcc sudo yum install python3-sqlalchemy python3-pyOpenSSL git clone https://github.com/opensips/opensips-cli ~/src/opensips-cli cd /root/src/opensips-cli/ sudo python3 setup.py install clean */usr/local/bin/opensips-cli Traceback (most recent call last): File "/usr/local/bin/opensips-cli", line 4, in __import__('pkg_resources').run_script('opensipscli==0.2.0', 'opensips-cli') File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 654, in run_script self.require(requires)[0].run_script(script_name, ns) File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 1434, in run_script exec(code, namespace, namespace) File "/usr/local/lib/python3.6/site-packages/opensipscli-0.2.0-py3.6.egg/EGG-INFO/scripts/opensips-cli", line 3, in from opensipscli import main File "/usr/local/lib/python3.6/site-packages/opensipscli-0.2.0-py3.6.egg/opensipscli/main.py", line 22, in from opensipscli import cli, defaults, version File "/usr/local/lib/python3.6/site-packages/opensipscli-0.2.0-py3.6.egg/opensipscli/cli.py", line 32, in from opensipscli.modules import * File "/usr/local/lib/python3.6/site-packages/opensipscli-0.2.0-py3.6.egg/opensipscli/modules/__init__.py", line 24, in __import__(modname) File "/usr/local/lib/python3.6/site-packages/opensipscli-0.2.0-py3.6.egg/opensipscli/modules/database.py", line 23, in from opensipscli.db import ( File "/usr/local/lib/python3.6/site-packages/opensipscli-0.2.0-py3.6.egg/opensipscli/db.py", line 37, in import sqlalchemy_utils File "/usr/local/lib/python3.6/site-packages/SQLAlchemy_Utils-0.41.1-py3.6.egg/sqlalchemy_utils/__init__.py", line 1, in from .aggregates import aggregated # noqa File "/usr/local/lib/python3.6/site-packages/SQLAlchemy_Utils-0.41.1-py3.6.egg/sqlalchemy_utils/aggregates.py", line 374, in from .compat import _select_args, get_scalar_subquery File "/usr/local/lib/python3.6/site-packages/SQLAlchemy_Utils-0.41.1-py3.6.egg/sqlalchemy_utils/compat.py", line 7, in from importlib_metadata import metadata File "/usr/local/lib/python3.6/site-packages/importlib_metadata-7.0.0-py3.6.egg/importlib_metadata/__init__.py", line 7, in import zipp File "/usr/local/lib/python3.6/site-packages/zipp-3.17.0-py3.6.egg/zipp/__init__.py", line 9, in from .py310compat import text_encoding File "/usr/local/lib/python3.6/site-packages/zipp-3.17.0-py3.6.egg/zipp/py310compat.py", line 5 def _text_encoding(encoding, stacklevel=2, /): # pragma: no cover* How should I proceed ? */Thanks & Regards/* /Sasmita Panda/ /Senior Network Testing and Software Engineer/ /3CLogic , ph:07827611765/ On Tue, Dec 12, 2023 at 4:30 PM Sasmita Panda wrote: Thanks for the reply . I tried opensips 3.2 and the issue didn't come . opensips 3.4 we have not tested yet . Will do that soon . Thank you once again . */Thanks & Regards/* /Sasmita Panda/ /Senior Network Testing and Software Engineer/ /3CLogic , ph:07827611765/ On Tue, Dec 12, 2023 at 3:09 PM Bogdan-Andrei Iancu wrote: Hi Sasmita? Why the old 2.2? Try 3.4 version, this may be fixed. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com https://www.siphub.com On 12.12.2023 10:48, Sasmita Panda wrote: HI All , I have RedHat machine : VERSION_ID="8.7" I am trying to install opensips 2.2 . I have installed mysql Name : mysql-server : Version : 8.0.32 Name : mysql-devel : Version : 8.0.32 Name : mysql-libs: Version : 8.0.32*/ /* */ /* */These are all installed still when I am running make command on opensips its giving some error while building mysql module . /* */ /* make[1]: Entering directory '/home/ec2-user/opensips-2.2/modules/db_mysql' Compiling row.c Compiling my_con.c In file included from row.c:29: my_con.h:36:2: error: unknown type name ‘my_bool’ my_bool null; ^~~ Is there any compatibility issue of opensips with mysql ? What version of mysql I should use ? */Thanks & Regards/* /Sasmita Panda/ /Senior Network Testing and Software Engineer/ /3CLogic , ph:07827611765/ ___
Re: [OpenSIPS-Users] Facing some issue with opensips while configuration .
I am not installing the opensips control panel . I am trying opensips-cli . I hope both are different . The control panel provides the GUI here. I don't need that . I am getting the above error while connecting to the cli interface . *Thanks & Regards* *Sasmita Panda* *Senior Network Testing and Software Engineer* *3CLogic , ph:07827611765* On Tue, Dec 12, 2023 at 5:52 PM wrote: > Hi, > > Your OCP OpenSIPS Control Panel will not work! Please downgrade to version > 7.4. > > Ronald Geerligs > > December 12, 2023 at 6:39 AM, "Bogdan-Andrei Iancu" > > wrote: > > Hi Sasmita? > > Why the old 2.2? Try 3.4 version, this may be fixed. > > Regards, > > Bogdan-Andrei Iancu > > OpenSIPS Founder and Developer > https://www.opensips-solutions.com > https://www.siphub.com > > On 12.12.2023 10:48, Sasmita Panda wrote: > > HI All , > I have RedHat machine : VERSION_ID="8.7" > I am trying to install opensips 2.2 . > I have installed mysql > Name : mysql-server : Version : 8.0.32 > Name : mysql-devel : Version : 8.0.32 > Name : mysql-libs: Version : 8.0.32 > *These are all installed still when I am running make command on opensips > its giving some error while building mysql module . * > make[1]: Entering directory '/home/ec2-user/opensips-2.2/modules/db_mysql' > Compiling row.c > Compiling my_con.c > In file included from row.c:29: > my_con.h:36:2: error: unknown type name ‘my_bool’ > my_bool null; > ^~~ > Is there any compatibility issue of opensips with mysql ? What version of > mysql I should use ? > *Thanks & Regards* > *Sasmita Panda* > *Senior Network Testing and Software Engineer* > *3CLogic , ph:07827611765* > > ___ > Users mailing > listUsers@lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Facing some issue with opensips while configuration .
Hi, Your OCP OpenSIPS Control Panel will not work! Please downgrade to version 7.4. Ronald Geerligs December 12, 2023 at 6:39 AM, "Bogdan-Andrei Iancu" wrote: > > Hi Sasmita? > > Why the old 2.2? Try 3.4 version, this may be fixed. > > Regards, > > Bogdan-Andrei Iancu > > OpenSIPS Founder and Developer > https://www.opensips-solutions.com https://www.opensips-solutions.com/ > https://www.siphub.com https://www.siphub.com/ > > On 12.12.2023 10:48, Sasmita Panda wrote: > > > > > > HI All , > > > > > > I have RedHat machine : VERSION_ID="8.7" > > > > I am trying to install opensips 2.2 . > > > > > > > > I have installed mysql > > > > Name : mysql-server : Version : 8.0.32 > > > > > > > > > > > > Name : mysql-devel : Version : 8.0.32 > > > > Name : mysql-libs: Version : 8.0.32 > > > > > > > > **These are all installed still when I am running make command on opensips > > its giving some error while building mysql module . ** > > > > > > > > make[1]: Entering directory '/home/ec2-user/opensips-2.2/modules/db_mysql' > > Compiling row.c > > Compiling my_con.c > > In file included from row.c:29: > > my_con.h:36:2: error: unknown type name ‘my_bool’ > > my_bool null; > > ^~~ > > > > > > > > > > Is there any compatibility issue of opensips with mysql ? What version of > > mysql I should use ? > > > > > > > > **Thanks & Regards** > > *Sasmita Panda* > > > > *Senior Network Testing and Software Engineer* > > > > *3CLogic , ph:07827611765* > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ___ > > Users mailing list > > Users@lists.opensips.org > > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > >___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Facing some issue with opensips while configuration .
Hi Sasmita? Why the old 2.2? Try 3.4 version, this may be fixed. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com https://www.siphub.com On 12.12.2023 10:48, Sasmita Panda wrote: HI All , I have RedHat machine : VERSION_ID="8.7" I am trying to install opensips 2.2 . I have installed mysql Name : mysql-server : Version : 8.0.32 Name : mysql-devel : Version : 8.0.32 Name : mysql-libs: Version : 8.0.32*/ /* */ /* */These are all installed still when I am running make command on opensips its giving some error while building mysql module . /* */ /* make[1]: Entering directory '/home/ec2-user/opensips-2.2/modules/db_mysql' Compiling row.c Compiling my_con.c In file included from row.c:29: my_con.h:36:2: error: unknown type name ‘my_bool’ my_bool null; ^~~ Is there any compatibility issue of opensips with mysql ? What version of mysql I should use ? */Thanks & Regards/* /Sasmita Panda/ /Senior Network Testing and Software Engineer/ /3CLogic , ph:07827611765/ ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] Facing some issue with opensips while configuration .
HI All , I have RedHat machine : VERSION_ID="8.7" I am trying to install opensips 2.2 . I have installed mysql Name : mysql-server : Version : 8.0.32 Name : mysql-devel : Version : 8.0.32 Name : mysql-libs: Version : 8.0.32 *These are all installed still when I am running make command on opensips its giving some error while building mysql module . * make[1]: Entering directory '/home/ec2-user/opensips-2.2/modules/db_mysql' Compiling row.c Compiling my_con.c In file included from row.c:29: my_con.h:36:2: error: unknown type name ‘my_bool’ my_bool null; ^~~ Is there any compatibility issue of opensips with mysql ? What version of mysql I should use ? *Thanks & Regards* *Sasmita Panda* *Senior Network Testing and Software Engineer* *3CLogic , ph:07827611765* ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users