Re: [OpenSIPS-Users] Opensips-cp php versions supported

2023-09-05 Thread rvg
Hi,

I had the same. Had to work back towards PHP 7.4. There are very big changes in 
syntax in 8.1. And it seems the OCP has not adapted its sources. As you have 
also noticed, that is a lot of work.

Regards,

Ronald



September 5, 2023 at 11:49 PM, tre...@webon.co.za wrote:


> 
> Hi Guys, 
> 
> Cant seem to find any info on what versions of PHP work with OCP, I
> just installed 9.3.2 on PHP 8.1 (Centos9 Stream) and other than login
> nothing was working every page would just display a blank body,
> checking php logs gives me a php exception every page load, switcing to
> php7.4 everything seems to be working so far. does OCP not support php
> 8.X?
> 
> [05-Sep-2023 21:27:51 UTC] PHP Fatal error: Uncaught Error: Call to
> undefined function each() in /var/www/opensips-
> cp/web/tools/admin/boxes_config/template/menu.php:46
> 
> [05-Sep-2023 21:25:42 UTC] PHP Fatal error: Uncaught Error: Attempt to
> assign property "addresses" on null in /var/www/opensips-
> cp/config/tools/system/addresses/settings.inc.php:24
> 
> Thanks
> Trevor
> 
> ___
> 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] ERROR:tls_mgm:load_tls_library: No TLS library module loaded

2023-09-05 Thread Prathibha B
How to write dialplan in opensips?

Sent from Outlook for Android

From: Users  on behalf of Ben Newlin 

Sent: Tuesday, September 5, 2023 7:04:45 PM
To: OpenSIPS users mailling list 
Subject: Re: [OpenSIPS-Users] ERROR:tls_mgm:load_tls_library: No TLS library 
module loaded


The error is quite clear in the logs you provided:



ERROR:tls_mgm:load_tls_library: No TLS library module loaded



You must load a TLS library in order to use the tls_mgm module.



https://opensips.org/docs/modules/3.4.x/tls_mgm.html#idp5522064

https://opensips.org/docs/modules/3.4.x/tls_openssl.html

https://opensips.org/docs/modules/3.4.x/tls_wolfssl.html



Ben Newlin



From: Users  on behalf of Prathibha B 

Date: Friday, September 1, 2023 at 8:12 AM
To: OpenSIPS users mailling list 
Subject: [OpenSIPS-Users] ERROR:tls_mgm:load_tls_library: No TLS library module 
loaded

 EXTERNAL EMAIL - Please use caution with links and attachments





I've loaded tls_mgm module in /lib64/opensips/modules. Still getting this error.

NOTICE:core:main: version: opensips 3.5.0-dev (x86_64/linux)
Sep 01 10:45:49 ip-172-31-34-24 opensips[363797]: Sep 1 10:45:49 [363797] 
NOTICE:core:main: using 128 MB of shared memory, allocator: Q_MALLOC_DBG
Sep 01 10:45:49 ip-172-31-34-24 opensips[363797]: Sep 1 10:45:49 [363797] 
NOTICE:core:main: using 4 MB of private process memory, allocator: Q_MALLOC_DBG
Sep 01 10:45:49 ip-172-31-34-24 opensips[363797]: Sep 1 10:45:49 [363797] 
NOTICE:signaling:mod_init: initializing module ...
Sep 01 10:45:49 ip-172-31-34-24 opensips[363797]: Sep 1 10:45:49 [363797] 
ERROR:tls_mgm:load_tls_library: No TLS library module loaded
Sep 01 10:45:49 ip-172-31-34-24 opensips[363797]: Sep 1 10:45:49 [363797] 
ERROR:core:init_mod: failed to initialize module tls_mgm
Sep 01 10:45:49 ip-172-31-34-24 opensips[363797]: Sep 1 10:45:49 [363797] 
ERROR:core:main: failed to initialize modules!
Sep 01 10:45:49 ip-172-31-34-24 opensips[363797]: Sep 1 10:45:49 [363797] 
NOTICE:core:main: Exiting...



--

Regards,

B.Prathibha
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] Opensips-cp php versions supported

2023-09-05 Thread trevor
Hi Guys, 

Cant seem to find any info on what versions of PHP work with OCP, I
just installed 9.3.2 on PHP 8.1 (Centos9 Stream) and other than login
nothing was working every page would just display a blank body,
checking php logs gives me a php exception every page load, switcing to
php7.4 everything seems to be working so far. does OCP not support php
8.X?

[05-Sep-2023 21:27:51 UTC] PHP Fatal error:  Uncaught Error: Call to
undefined function each() in /var/www/opensips-
cp/web/tools/admin/boxes_config/template/menu.php:46


[05-Sep-2023 21:25:42 UTC] PHP Fatal error:  Uncaught Error: Attempt to
assign property "addresses" on null in /var/www/opensips-
cp/config/tools/system/addresses/settings.inc.php:24

Thanks
Trevor

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] ERROR:tls_mgm:load_tls_library: No TLS library module loaded

2023-09-05 Thread Ben Newlin
The error is quite clear in the logs you provided:

ERROR:tls_mgm:load_tls_library: No TLS library module loaded

You must load a TLS library in order to use the tls_mgm module.

https://opensips.org/docs/modules/3.4.x/tls_mgm.html#idp5522064
https://opensips.org/docs/modules/3.4.x/tls_openssl.html
https://opensips.org/docs/modules/3.4.x/tls_wolfssl.html

Ben Newlin

From: Users  on behalf of Prathibha B 

Date: Friday, September 1, 2023 at 8:12 AM
To: OpenSIPS users mailling list 
Subject: [OpenSIPS-Users] ERROR:tls_mgm:load_tls_library: No TLS library module 
loaded
 EXTERNAL EMAIL - Please use caution with links and attachments


I've loaded tls_mgm module in /lib64/opensips/modules. Still getting this error.

NOTICE:core:main: version: opensips 3.5.0-dev (x86_64/linux)
Sep 01 10:45:49 ip-172-31-34-24 opensips[363797]: Sep 1 10:45:49 [363797] 
NOTICE:core:main: using 128 MB of shared memory, allocator: Q_MALLOC_DBG
Sep 01 10:45:49 ip-172-31-34-24 opensips[363797]: Sep 1 10:45:49 [363797] 
NOTICE:core:main: using 4 MB of private process memory, allocator: Q_MALLOC_DBG
Sep 01 10:45:49 ip-172-31-34-24 opensips[363797]: Sep 1 10:45:49 [363797] 
NOTICE:signaling:mod_init: initializing module ...
Sep 01 10:45:49 ip-172-31-34-24 opensips[363797]: Sep 1 10:45:49 [363797] 
ERROR:tls_mgm:load_tls_library: No TLS library module loaded
Sep 01 10:45:49 ip-172-31-34-24 opensips[363797]: Sep 1 10:45:49 [363797] 
ERROR:core:init_mod: failed to initialize module tls_mgm
Sep 01 10:45:49 ip-172-31-34-24 opensips[363797]: Sep 1 10:45:49 [363797] 
ERROR:core:main: failed to initialize modules!
Sep 01 10:45:49 ip-172-31-34-24 opensips[363797]: Sep 1 10:45:49 [363797] 
NOTICE:core:main: Exiting...

--
Regards,
B.Prathibha
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] opensips deployment as load balancer for T.38 traffic

2023-09-05 Thread Tahir Almas Dhesi
Interested to know how we can deploy opensips as load balancer for  T.38
calls , whether it will work fine or we need to use rabbitmq for load
balancing

scenario is

ICTFax => opesips load balancer => freeswitch nodes



regards
*Tahir Almas*

Managing Partner
ICT Innovations
http://www.ictinnovations.com
Leveraging open source in ICT
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] DNS question

2023-09-05 Thread Saint Michael
The issue is: opensips uses
dig  -t NAPTR sip.x.com
so you need do that first and get the real terminating hosts and add them
to /etc/hosts
then, it works


On Tue, Sep 5, 2023 at 3:43 AM Karsten Wemheuer  wrote:

> Hi,
>
> Am Montag, dem 04.09.2023 um 07:56 -0400 schrieb Saint Michael:
> > Using opensips 3.1, I am sending calls to a carrier whose address is
> > sip.x.com. I add an entry to /etc/hosts/ that redirects
> > sip.x.com to a different address, and I test with "resolvectl
> > query sip.x.com" an it works as I need it. But opensips keeps
> > sending calls to the DNS address, not to my new address.
> > I tried restarting opensips but the issue does not go away.
> > I tried restarting systemd-resolved, and nothing
> > I tried opensipsctl fifo cache_flush and it does hang.
> >
> > So how does Opensips obtains DNS information?
>
> Beside the system resolver also check the settings of the systemd
> resolver (/etc/systemd/resolver.conf) (if systemd is in use). There is
> a setting to ignore the hosts file, if I remember correctly.
>
> HTH,
> Karsten
>
>
> ___
> 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] DNS question

2023-09-05 Thread Karsten Wemheuer
Hi,

Am Montag, dem 04.09.2023 um 07:56 -0400 schrieb Saint Michael:
> Using opensips 3.1, I am sending calls to a carrier whose address is
> sip.x.com. I add an entry to /etc/hosts/ that redirects
> sip.x.com to a different address, and I test with "resolvectl
> query sip.x.com" an it works as I need it. But opensips keeps
> sending calls to the DNS address, not to my new address.
> I tried restarting opensips but the issue does not go away.
> I tried restarting systemd-resolved, and nothing
> I tried opensipsctl fifo cache_flush and it does hang.
>
> So how does Opensips obtains DNS information?

Beside the system resolver also check the settings of the systemd
resolver (/etc/systemd/resolver.conf) (if systemd is in use). There is
a setting to ignore the hosts file, if I remember correctly.

HTH,
Karsten


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users