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

2023-09-06 Thread trevor
On Wed, 2023-09-06 at 05:25 +, r...@rvgeerligs.nl wrote:
> 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

Thanks for the confirmation will have to stick to 7.4 then

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


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


[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] Opensips CP Permissions "RELOAD on SERVER" produces error

2023-08-04 Thread Tahir Almas Dhesi
It get fixed   actually permission.so module was missing in configuration
file

regards
*Tahir Almas*

Managing Partner
ICT Innovations
http://www.ictinnovations.com
Leveraging open source in ICT





On Thu, Aug 3, 2023 at 3:25 PM Tahir Almas Dhesi 
wrote:

> My installation is not listening on port , what modification i need to
> do ?
>
> regards
> *Tahir Almas*
>
> Managing Partner
> ICT Innovations
> http://www.ictinnovations.com
> Leveraging open source in ICT
>
>
> On Tue, Sep 20, 2022 at 5:06 PM Bogdan-Andrei Iancu 
> wrote:
>
>> Hi,
>>
>> Is your opensips listening on the  port?
>>   netstat -tlnp | grep opensips
>>
>> Do you see any errors in the opensips logs when running doing the reload ?
>>
>> Do you see any communication on the  port when doing the reload?
>>ngrep -qtd any port 
>>
>> Regards,
>>
>> Bogdan-Andrei Iancu
>>
>> OpenSIPS Founder and Developer
>>   https://www.opensips-solutions.com
>> OpenSIPS Summit 27-30 Sept 2022, Athens
>>   https://www.opensips.org/events/Summit-2022Athens/
>>
>> On 9/14/22 6:42 PM, mtck01 wrote:
>>
>> Thank you, I managed to load the ‘permissions module’, and no more error,
>> but nothing happens, just stuck on “Sending to json:127.0.0.1:/mi :”
>> without error or successful confirmation.
>>
>>
>>
>> Regards,
>>
>> Martin
>>
>>
>>
>> ___
>> 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
>>
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Opensips CP Permissions "RELOAD on SERVER" produces error

2023-08-03 Thread Tahir Almas Dhesi
My installation is not listening on port , what modification i need to
do ?

regards
*Tahir Almas*

Managing Partner
ICT Innovations
http://www.ictinnovations.com
Leveraging open source in ICT


On Tue, Sep 20, 2022 at 5:06 PM Bogdan-Andrei Iancu 
wrote:

> Hi,
>
> Is your opensips listening on the  port?
>   netstat -tlnp | grep opensips
>
> Do you see any errors in the opensips logs when running doing the reload ?
>
> Do you see any communication on the  port when doing the reload?
>ngrep -qtd any port 
>
> Regards,
>
> Bogdan-Andrei Iancu
>
> OpenSIPS Founder and Developer
>   https://www.opensips-solutions.com
> OpenSIPS Summit 27-30 Sept 2022, Athens
>   https://www.opensips.org/events/Summit-2022Athens/
>
> On 9/14/22 6:42 PM, mtck01 wrote:
>
> Thank you, I managed to load the ‘permissions module’, and no more error,
> but nothing happens, just stuck on “Sending to json:127.0.0.1:/mi :”
> without error or successful confirmation.
>
>
>
> Regards,
>
> Martin
>
>
>
> ___
> 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
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] - OpenSIPS-CP

2022-12-15 Thread Nitesh Divecha
Hello All,

Solved this issue by downgrading from PHP8.1 to PHP7.4.



On Wed, Dec 14, 2022 at 5:01 PM Nitesh Divecha 
wrote:

> Hello All,
>
> I'm setting up a fresh install and running into issues with OpenSIPS
> Control Panel 9.3.2.
>
> System specs:
> Ubuntu 22.04.1 LTS
> OpenSIPS 3.3.2
> OpenSIPS Control Panel (
> https://github.com/OpenSIPS/opensips-cp/archive/9.3.2.zip)
>
> CP was installed successfully and I was able to login with user/pass but
> when I click on (Users -> User management or Alias management) or any
> (System -> Address, etc) it throws PHP exceptions:
>
> [Wed Dec 14 21:49:29.216426 2022] [php:error] [pid 32857] [client
> 10.0.0.34:57311] PHP Fatal error:  Uncaught Error: Attempt to assign
> property "user_management" on null in
> /var/www/html/opensips-cp/config/tools/users/user_management/settings.inc.php:25\nStack
> trace:\n#0 /var/www/html/opensips-cp/web/common/cfg_comm.php(203):
> require()\n#1 /var/www/html/opensips-cp/web/common/cfg_comm.php(340):
> get_params_from_tool()\n#2
> /var/www/html/opensips-cp/web/common/cfg_comm.php(332):
> session_load_from_tool()\n#3
> /var/www/html/opensips-cp/web/tools/users/user_management/template/header.php(32):
> session_load()\n#4
> /var/www/html/opensips-cp/web/tools/users/user_management/user_management.php(24):
> require('...')\n#5 {main}\n  thrown in
> /var/www/html/opensips-cp/config/tools/users/user_management/settings.inc.php
> on line 25, referer: http://10.0.0.200/cp/menu.php
> [Wed Dec 14 21:49:47.057497 2022] [php:warn] [pid 32858] [client
> 10.0.0.34:57323] PHP Warning:  Undefined array key "nodes" in
> /var/www/html/opensips-cp/config/boxes.load.php on line 50, referer:
> http://10.0.0.200/cp/menu.php
> [Wed Dec 14 21:49:47.057553 2022] [php:warn] [pid 32858] [client
> 10.0.0.34:57323] PHP Warning:  Undefined array key "nodes" in
> /var/www/html/opensips-cp/config/boxes.load.php on line 50, referer:
> http://10.0.0.200/cp/menu.php
> [Wed Dec 14 21:49:47.057564 2022] [php:warn] [pid 32858] [client
> 10.0.0.34:57323] PHP Warning:  Undefined array key "nodes" in
> /var/www/html/opensips-cp/config/boxes.load.php on line 50, referer:
> http://10.0.0.200/cp/menu.php
> [Wed Dec 14 21:49:47.057629 2022] [php:error] [pid 32858] [client
> 10.0.0.34:57323] PHP Fatal error:  Uncaught Error: Attempt to assign
> property "alias_management" on null in
> /var/www/html/opensips-cp/config/tools/users/alias_management/settings.inc.php:24\nStack
> trace:\n#0 /var/www/html/opensips-cp/web/common/cfg_comm.php(203):
> require()\n#1 /var/www/html/opensips-cp/web/common/cfg_comm.php(340):
> get_params_from_tool()\n#2
> /var/www/html/opensips-cp/web/common/cfg_comm.php(332):
> session_load_from_tool()\n#3
> /var/www/html/opensips-cp/web/tools/users/alias_management/template/header.php(33):
> session_load()\n#4
> /var/www/html/opensips-cp/web/tools/users/alias_management/alias_management.php(24):
> require('...')\n#5 {main}\n  thrown in
> /var/www/html/opensips-cp/config/tools/users/alias_management/settings.inc.php
> on line 24, referer: http://10.0.0.200/cp/menu.php
> [Wed Dec 14 21:49:52.209761 2022] [php:warn] [pid 32859] [client
> 10.0.0.34:57330] PHP Warning:  Undefined array key "nodes" in
> /var/www/html/opensips-cp/config/boxes.load.php on line 50, referer:
> http://10.0.0.200/cp/menu.php
> [Wed Dec 14 21:49:52.209814 2022] [php:warn] [pid 32859] [client
> 10.0.0.34:57330] PHP Warning:  Undefined array key "nodes" in
> /var/www/html/opensips-cp/config/boxes.load.php on line 50, referer:
> http://10.0.0.200/cp/menu.php
> [Wed Dec 14 21:49:52.209821 2022] [php:warn] [pid 32859] [client
> 10.0.0.34:57330] PHP Warning:  Undefined array key "nodes" in
> /var/www/html/opensips-cp/config/boxes.load.php on line 50, referer:
> http://10.0.0.200/cp/menu.php
> [Wed Dec 14 21:49:52.209920 2022] [php:error] [pid 32859] [client
> 10.0.0.34:57330] PHP Fatal error:  Uncaught Error: Attempt to assign
> property "addresses" on null in
> /var/www/html/opensips-cp/config/tools/system/addresses/settings.inc.php:24\nStack
> trace:\n#0 /var/www/html/opensips-cp/web/common/cfg_comm.php(203):
> require()\n#1 /var/www/html/opensips-cp/web/common/cfg_comm.php(340):
> get_params_from_tool()\n#2
> /var/www/html/opensips-cp/web/common/cfg_comm.php(332):
> session_load_from_tool()\n#3
> /var/www/html/opensips-cp/web/tools/system/addresses/template/header.php(32):
> session_load()\n#4
> /var/www/html/opensips-cp/web/tools/system/addresses/address.php(24):
> require('...')\n#5 {main}\n  thrown in
> /var/www/html/opensips-cp/config/tools/system/addresses/settings.inc.php on
> line 24, referer: http://10.0.0.200/cp/menu.php
>
> Any thoughts or suggestions?
>
> Thanks in advance.
>
> Cheers,
> Nitesh
>
>
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] - OpenSIPS-CP

2022-12-14 Thread Nitesh Divecha
Hello All,

I'm setting up a fresh install and running into issues with OpenSIPS
Control Panel 9.3.2.

System specs:
Ubuntu 22.04.1 LTS
OpenSIPS 3.3.2
OpenSIPS Control Panel (
https://github.com/OpenSIPS/opensips-cp/archive/9.3.2.zip)

CP was installed successfully and I was able to login with user/pass but
when I click on (Users -> User management or Alias management) or any
(System -> Address, etc) it throws PHP exceptions:

[Wed Dec 14 21:49:29.216426 2022] [php:error] [pid 32857] [client
10.0.0.34:57311] PHP Fatal error:  Uncaught Error: Attempt to assign
property "user_management" on null in
/var/www/html/opensips-cp/config/tools/users/user_management/settings.inc.php:25\nStack
trace:\n#0 /var/www/html/opensips-cp/web/common/cfg_comm.php(203):
require()\n#1 /var/www/html/opensips-cp/web/common/cfg_comm.php(340):
get_params_from_tool()\n#2
/var/www/html/opensips-cp/web/common/cfg_comm.php(332):
session_load_from_tool()\n#3
/var/www/html/opensips-cp/web/tools/users/user_management/template/header.php(32):
session_load()\n#4
/var/www/html/opensips-cp/web/tools/users/user_management/user_management.php(24):
require('...')\n#5 {main}\n  thrown in
/var/www/html/opensips-cp/config/tools/users/user_management/settings.inc.php
on line 25, referer: http://10.0.0.200/cp/menu.php
[Wed Dec 14 21:49:47.057497 2022] [php:warn] [pid 32858] [client
10.0.0.34:57323] PHP Warning:  Undefined array key "nodes" in
/var/www/html/opensips-cp/config/boxes.load.php on line 50, referer:
http://10.0.0.200/cp/menu.php
[Wed Dec 14 21:49:47.057553 2022] [php:warn] [pid 32858] [client
10.0.0.34:57323] PHP Warning:  Undefined array key "nodes" in
/var/www/html/opensips-cp/config/boxes.load.php on line 50, referer:
http://10.0.0.200/cp/menu.php
[Wed Dec 14 21:49:47.057564 2022] [php:warn] [pid 32858] [client
10.0.0.34:57323] PHP Warning:  Undefined array key "nodes" in
/var/www/html/opensips-cp/config/boxes.load.php on line 50, referer:
http://10.0.0.200/cp/menu.php
[Wed Dec 14 21:49:47.057629 2022] [php:error] [pid 32858] [client
10.0.0.34:57323] PHP Fatal error:  Uncaught Error: Attempt to assign
property "alias_management" on null in
/var/www/html/opensips-cp/config/tools/users/alias_management/settings.inc.php:24\nStack
trace:\n#0 /var/www/html/opensips-cp/web/common/cfg_comm.php(203):
require()\n#1 /var/www/html/opensips-cp/web/common/cfg_comm.php(340):
get_params_from_tool()\n#2
/var/www/html/opensips-cp/web/common/cfg_comm.php(332):
session_load_from_tool()\n#3
/var/www/html/opensips-cp/web/tools/users/alias_management/template/header.php(33):
session_load()\n#4
/var/www/html/opensips-cp/web/tools/users/alias_management/alias_management.php(24):
require('...')\n#5 {main}\n  thrown in
/var/www/html/opensips-cp/config/tools/users/alias_management/settings.inc.php
on line 24, referer: http://10.0.0.200/cp/menu.php
[Wed Dec 14 21:49:52.209761 2022] [php:warn] [pid 32859] [client
10.0.0.34:57330] PHP Warning:  Undefined array key "nodes" in
/var/www/html/opensips-cp/config/boxes.load.php on line 50, referer:
http://10.0.0.200/cp/menu.php
[Wed Dec 14 21:49:52.209814 2022] [php:warn] [pid 32859] [client
10.0.0.34:57330] PHP Warning:  Undefined array key "nodes" in
/var/www/html/opensips-cp/config/boxes.load.php on line 50, referer:
http://10.0.0.200/cp/menu.php
[Wed Dec 14 21:49:52.209821 2022] [php:warn] [pid 32859] [client
10.0.0.34:57330] PHP Warning:  Undefined array key "nodes" in
/var/www/html/opensips-cp/config/boxes.load.php on line 50, referer:
http://10.0.0.200/cp/menu.php
[Wed Dec 14 21:49:52.209920 2022] [php:error] [pid 32859] [client
10.0.0.34:57330] PHP Fatal error:  Uncaught Error: Attempt to assign
property "addresses" on null in
/var/www/html/opensips-cp/config/tools/system/addresses/settings.inc.php:24\nStack
trace:\n#0 /var/www/html/opensips-cp/web/common/cfg_comm.php(203):
require()\n#1 /var/www/html/opensips-cp/web/common/cfg_comm.php(340):
get_params_from_tool()\n#2
/var/www/html/opensips-cp/web/common/cfg_comm.php(332):
session_load_from_tool()\n#3
/var/www/html/opensips-cp/web/tools/system/addresses/template/header.php(32):
session_load()\n#4
/var/www/html/opensips-cp/web/tools/system/addresses/address.php(24):
require('...')\n#5 {main}\n  thrown in
/var/www/html/opensips-cp/config/tools/system/addresses/settings.inc.php on
line 24, referer: http://10.0.0.200/cp/menu.php

Any thoughts or suggestions?

Thanks in advance.

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


Re: [OpenSIPS-Users] Opensips CP Permissions "RELOAD on SERVER" produces error

2022-09-20 Thread Bogdan-Andrei Iancu

Hi,

Is your opensips listening on the  port?
  netstat -tlnp | grep opensips

Do you see any errors in the opensips logs when running doing the reload ?

Do you see any communication on the  port when doing the reload?
   ngrep -qtd any port 

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  https://www.opensips-solutions.com
OpenSIPS Summit 27-30 Sept 2022, Athens
  https://www.opensips.org/events/Summit-2022Athens/

On 9/14/22 6:42 PM, mtck01 wrote:


Thank you, I managed to load the ‘permissions module’, and no more 
error, but nothing happens, just stuck on “Sending to 
json:127.0.0.1:/mi :” without error or successful confirmation.


Regards,

Martin


___
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] OpenSIPS CP 9.3.2 password mode ha1_sha256 for adding new user

2022-09-15 Thread Bogdan-Andrei Iancu

Hi Bela,

I just did a backport from master to 9.3.2 for the SHA support, see
https://github.com/OpenSIPS/opensips-cp/commit/de1e45838eacc8272357f0fb9f8758deaee3

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  https://www.opensips-solutions.com
OpenSIPS Summit 27-30 Sept 2022, Athens
  https://www.opensips.org/events/Summit-2022Athens/

On 8/9/22 12:37 PM, Bogdan-Andrei Iancu wrote:

Hi Bela,

The OCP does not support ha1_sha256 AFAIK. Consider opening a feature 
request here https://github.com/OpenSIPS/opensips-cp/issues


Regards,
Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   https://www.opensips-solutions.com
OpenSIPS Summit 27-30 Sept 2022, Athens
   https://www.opensips.org/events/Summit-2022Athens/
On 6/29/22 9:10 AM, Bela H wrote:


Hi all,

Is there any way to add new subscriber from OpenSIPS CP 9.3.2 using 
password mode ha1_sha256?


The ha1 (MD5(username:realm:password)) works fine but I had no luck 
with the value generation for the ha1_sha256 field in “subscriber” 
table.


I have this setting:

modparam("auth_db", "calculate_ha1", 0)

modparam("auth_db", "password_column", "ha1_sha256")

Thanks!

Bela


___
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


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


Re: [OpenSIPS-Users] OpenSIPS CP 9.3.2 password mode ha1_sha256 for adding new user

2022-09-15 Thread Bogdan-Andrei Iancu

Hi,

Some more info on this: the challenge function allows you to specify a 
list of algorithms, not only one, so you can try "MD5,SHA-256" -> this 
will allow the client to pick the one it supports.


But in order to have this multi-algs working, be sure you do NOT set the 
"password_column" modparam (as the module will auto-detect witch column 
to use, depending on the alg). Just keep the calculate_ha1 to 0.


Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  https://www.opensips-solutions.com
OpenSIPS Summit 27-30 Sept 2022, Athens
  https://www.opensips.org/events/Summit-2022Athens/

On 9/15/22 10:56 AM, jacky z wrote:

Correction on my comments. It is a client side issue. Thank you!

On Thu, Sep 15, 2022 at 3:40 PM jacky z > wrote:


After checking the log in the client side, here are some
interesting findings:

Here is the what the client side received:

WWW-Authenticate: Digest realm="sip.domain.com
",
nonce="3mKlesEwotxnM5nLMMLgQA63E6VTKsTFpEkK7OkoE4QA",
qop="auth,auth-int", algorithm=SHA-256

Then the client side logs show:

15:25:51.858       ...Unsupported digest algorithm "SHA-256"
15:25:51.859      SIP registration error: Invalid/unsupported
digest algorithm

Firstly, if the server side did not include SHA-256 in the SIP
message, there would be no such issue. I don't understand why it
needs to inform the client side "SHA-256". Secondly, if the client
side just simply ignored "SHA-256", there would be no such issue.
However, the client side treated it as not supported.

On Thu, Sep 15, 2022 at 3:16 PM jacky z mailto:zjack0...@gmail.com>> wrote:

Hi Bogdan-Andrei,

I tried either specifying it or not. Neither worked. Here is
the script when I tried:

www_challenge("","auth,auth-int","SHA-256");

I also tried specifying the realm in the above code. When the
above is used, there is no such error, but always returns 401.
I checked the column ha1_sha256 and the hash of the password
is correct.

Thanks!

On Thu, Sep 15, 2022 at 2:07 PM Bogdan-Andrei Iancu
mailto:bog...@opensips.org>> wrote:

Hi,

In your opensips.cfg, when doing auth challenge to the end
points, do you specify the SHA256 alg?


https://opensips.org/html/docs/modules/3.2.x/auth.html#func_www_challenge



Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   https://www.opensips-solutions.com  

OpenSIPS Summit 27-30 Sept 2022, Athens
   https://www.opensips.org/events/Summit-2022Athens/  


On 9/15/22 7:18 AM, jacky z wrote:

Hi Team,

Does ha1_sha256 work in general opensips config settings?
I have the following in the scripts:

modparam("auth_db", "calculate_ha1", 0)

modparam("auth_db", "password_column", "ha1_sha256")


but got the following error in the log:


/usr/sbin/opensips[28261]: ERROR:auth:auth_calc_HA1:
Incorrect length of pre-hashed credentials for the
algorithm "MD5": 32 expected, 64 provided


It seems though the sha256 was specified, but the server
still calculated MD5 and compared with the database
column ha1_sha256.


On Tue, Aug 9, 2022 at 5:39 PM Bogdan-Andrei Iancu
mailto:bog...@opensips.org>> wrote:

Hi Bela,

The OCP does not support ha1_sha256 AFAIK. Consider
opening a feature request here
https://github.com/OpenSIPS/opensips-cp/issues


Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   https://www.opensips-solutions.com  

OpenSIPS Summit 27-30 Sept 2022, Athens
   https://www.opensips.org/events/Summit-2022Athens/  


On 6/29/22 9:10 AM, Bela H wrote:


Hi all,

Is there any way to add new subscriber from OpenSIPS
CP 9.3.2 using password mode ha1_sha256?

The ha1 (MD5(username:realm:password)) works fine
but I had no luck with the value generation for the
ha1_sha256 field in “subscriber” table.

I have this setting:

modparam("auth_db", "calculate_ha1", 0)

modparam("auth_db", "password_column", "ha1_sha256")


Re: [OpenSIPS-Users] Opensips CP Permissions "RELOAD on SERVER" produces error

2022-09-15 Thread mtck01
Thank you, I managed to load the 'permissions module', and no more error,
but nothing happens, just stuck on "Sending to json:127.0.0.1:/mi :"
without error or successful confirmation.

 

Regards,

Martin

 

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


Re: [OpenSIPS-Users] OpenSIPS CP 9.3.2 password mode ha1_sha256 for adding new user

2022-09-15 Thread jacky z
Correction on my comments. It is a client side issue. Thank you!

On Thu, Sep 15, 2022 at 3:40 PM jacky z  wrote:

> After checking the log in the client side, here are some interesting
> findings:
>
> Here is the what the client side received:
>
> WWW-Authenticate: Digest realm="sip.domain.com",
> nonce="3mKlesEwotxnM5nLMMLgQA63E6VTKsTFpEkK7OkoE4QA", qop="auth,auth-int",
> algorithm=SHA-256
>
> Then the client side logs show:
>
> 15:25:51.858   ...Unsupported digest algorithm "SHA-256"
> 15:25:51.859  SIP registration error: Invalid/unsupported digest
> algorithm
>
> Firstly, if the server side did not include SHA-256 in the SIP message,
> there would be no such issue. I don't understand why it needs to inform the
> client side "SHA-256". Secondly, if the client side just simply ignored
> "SHA-256", there would be no such issue. However, the client side treated
> it as not supported.
>
> On Thu, Sep 15, 2022 at 3:16 PM jacky z  wrote:
>
>> Hi Bogdan-Andrei,
>>
>> I tried either specifying it or not. Neither worked. Here is the script
>> when I tried:
>>
>> www_challenge("","auth,auth-int","SHA-256");
>>
>> I also tried specifying the realm in the above code. When the above is
>> used, there is no such error, but always returns 401. I checked the column
>> ha1_sha256 and the hash of the password is correct.
>>
>> Thanks!
>>
>> On Thu, Sep 15, 2022 at 2:07 PM Bogdan-Andrei Iancu 
>> wrote:
>>
>>> Hi,
>>>
>>> In your opensips.cfg, when doing auth challenge to the end points, do
>>> you specify the SHA256 alg?
>>>
>>> https://opensips.org/html/docs/modules/3.2.x/auth.html#func_www_challenge
>>>
>>> Regards,
>>>
>>> Bogdan-Andrei Iancu
>>>
>>> OpenSIPS Founder and Developer
>>>   https://www.opensips-solutions.com
>>> OpenSIPS Summit 27-30 Sept 2022, Athens
>>>   https://www.opensips.org/events/Summit-2022Athens/
>>>
>>> On 9/15/22 7:18 AM, jacky z wrote:
>>>
>>> Hi Team,
>>>
>>> Does ha1_sha256 work in general opensips config settings? I have the
>>> following in the scripts:
>>>
>>> modparam("auth_db", "calculate_ha1", 0)
>>>
>>> modparam("auth_db", "password_column", "ha1_sha256")
>>>
>>>
>>> but got the following error in the log:
>>>
>>>
>>> /usr/sbin/opensips[28261]: ERROR:auth:auth_calc_HA1: Incorrect length of
>>> pre-hashed credentials for the algorithm "MD5": 32 expected, 64 provided
>>>
>>>
>>> It seems though the sha256 was specified, but the server still
>>> calculated MD5 and compared with the database column ha1_sha256.
>>>
>>> On Tue, Aug 9, 2022 at 5:39 PM Bogdan-Andrei Iancu 
>>> wrote:
>>>
 Hi Bela,

 The OCP does not support ha1_sha256 AFAIK. Consider opening a feature
 request here https://github.com/OpenSIPS/opensips-cp/issues

 Regards,

 Bogdan-Andrei Iancu

 OpenSIPS Founder and Developer
   https://www.opensips-solutions.com
 OpenSIPS Summit 27-30 Sept 2022, Athens
   https://www.opensips.org/events/Summit-2022Athens/

 On 6/29/22 9:10 AM, Bela H wrote:

 Hi all,



 Is there any way to add new subscriber from OpenSIPS CP 9.3.2 using
 password mode ha1_sha256?

 The ha1 (MD5(username:realm:password)) works fine but I had no luck
 with the value generation for the ha1_sha256 field in “subscriber” table.



 I have this setting:

 modparam("auth_db", "calculate_ha1", 0)

 modparam("auth_db", "password_column", "ha1_sha256")



 Thanks!

 Bela




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


Re: [OpenSIPS-Users] OpenSIPS CP 9.3.2 password mode ha1_sha256 for adding new user

2022-09-15 Thread jacky z
After checking the log in the client side, here are some interesting
findings:

Here is the what the client side received:

WWW-Authenticate: Digest realm="sip.domain.com",
nonce="3mKlesEwotxnM5nLMMLgQA63E6VTKsTFpEkK7OkoE4QA", qop="auth,auth-int",
algorithm=SHA-256

Then the client side logs show:

15:25:51.858   ...Unsupported digest algorithm "SHA-256"
15:25:51.859  SIP registration error: Invalid/unsupported digest
algorithm

Firstly, if the server side did not include SHA-256 in the SIP message,
there would be no such issue. I don't understand why it needs to inform the
client side "SHA-256". Secondly, if the client side just simply ignored
"SHA-256", there would be no such issue. However, the client side treated
it as not supported.

On Thu, Sep 15, 2022 at 3:16 PM jacky z  wrote:

> Hi Bogdan-Andrei,
>
> I tried either specifying it or not. Neither worked. Here is the script
> when I tried:
>
> www_challenge("","auth,auth-int","SHA-256");
>
> I also tried specifying the realm in the above code. When the above is
> used, there is no such error, but always returns 401. I checked the column
> ha1_sha256 and the hash of the password is correct.
>
> Thanks!
>
> On Thu, Sep 15, 2022 at 2:07 PM Bogdan-Andrei Iancu 
> wrote:
>
>> Hi,
>>
>> In your opensips.cfg, when doing auth challenge to the end points, do you
>> specify the SHA256 alg?
>>
>> https://opensips.org/html/docs/modules/3.2.x/auth.html#func_www_challenge
>>
>> Regards,
>>
>> Bogdan-Andrei Iancu
>>
>> OpenSIPS Founder and Developer
>>   https://www.opensips-solutions.com
>> OpenSIPS Summit 27-30 Sept 2022, Athens
>>   https://www.opensips.org/events/Summit-2022Athens/
>>
>> On 9/15/22 7:18 AM, jacky z wrote:
>>
>> Hi Team,
>>
>> Does ha1_sha256 work in general opensips config settings? I have the
>> following in the scripts:
>>
>> modparam("auth_db", "calculate_ha1", 0)
>>
>> modparam("auth_db", "password_column", "ha1_sha256")
>>
>>
>> but got the following error in the log:
>>
>>
>> /usr/sbin/opensips[28261]: ERROR:auth:auth_calc_HA1: Incorrect length of
>> pre-hashed credentials for the algorithm "MD5": 32 expected, 64 provided
>>
>>
>> It seems though the sha256 was specified, but the server still calculated
>> MD5 and compared with the database column ha1_sha256.
>>
>> On Tue, Aug 9, 2022 at 5:39 PM Bogdan-Andrei Iancu 
>> wrote:
>>
>>> Hi Bela,
>>>
>>> The OCP does not support ha1_sha256 AFAIK. Consider opening a feature
>>> request here https://github.com/OpenSIPS/opensips-cp/issues
>>>
>>> Regards,
>>>
>>> Bogdan-Andrei Iancu
>>>
>>> OpenSIPS Founder and Developer
>>>   https://www.opensips-solutions.com
>>> OpenSIPS Summit 27-30 Sept 2022, Athens
>>>   https://www.opensips.org/events/Summit-2022Athens/
>>>
>>> On 6/29/22 9:10 AM, Bela H wrote:
>>>
>>> Hi all,
>>>
>>>
>>>
>>> Is there any way to add new subscriber from OpenSIPS CP 9.3.2 using
>>> password mode ha1_sha256?
>>>
>>> The ha1 (MD5(username:realm:password)) works fine but I had no luck
>>> with the value generation for the ha1_sha256 field in “subscriber” table.
>>>
>>>
>>>
>>> I have this setting:
>>>
>>> modparam("auth_db", "calculate_ha1", 0)
>>>
>>> modparam("auth_db", "password_column", "ha1_sha256")
>>>
>>>
>>>
>>> Thanks!
>>>
>>> Bela
>>>
>>>
>>>
>>>
>>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] OpenSIPS CP 9.3.2 password mode ha1_sha256 for adding new user

2022-09-15 Thread jacky z
Hi Bogdan-Andrei,

I tried either specifying it or not. Neither worked. Here is the script
when I tried:

www_challenge("","auth,auth-int","SHA-256");

I also tried specifying the realm in the above code. When the above is
used, there is no such error, but always returns 401. I checked the column
ha1_sha256 and the hash of the password is correct.

Thanks!

On Thu, Sep 15, 2022 at 2:07 PM Bogdan-Andrei Iancu 
wrote:

> Hi,
>
> In your opensips.cfg, when doing auth challenge to the end points, do you
> specify the SHA256 alg?
>
> https://opensips.org/html/docs/modules/3.2.x/auth.html#func_www_challenge
>
> Regards,
>
> Bogdan-Andrei Iancu
>
> OpenSIPS Founder and Developer
>   https://www.opensips-solutions.com
> OpenSIPS Summit 27-30 Sept 2022, Athens
>   https://www.opensips.org/events/Summit-2022Athens/
>
> On 9/15/22 7:18 AM, jacky z wrote:
>
> Hi Team,
>
> Does ha1_sha256 work in general opensips config settings? I have the
> following in the scripts:
>
> modparam("auth_db", "calculate_ha1", 0)
>
> modparam("auth_db", "password_column", "ha1_sha256")
>
>
> but got the following error in the log:
>
>
> /usr/sbin/opensips[28261]: ERROR:auth:auth_calc_HA1: Incorrect length of
> pre-hashed credentials for the algorithm "MD5": 32 expected, 64 provided
>
>
> It seems though the sha256 was specified, but the server still calculated
> MD5 and compared with the database column ha1_sha256.
>
> On Tue, Aug 9, 2022 at 5:39 PM Bogdan-Andrei Iancu 
> wrote:
>
>> Hi Bela,
>>
>> The OCP does not support ha1_sha256 AFAIK. Consider opening a feature
>> request here https://github.com/OpenSIPS/opensips-cp/issues
>>
>> Regards,
>>
>> Bogdan-Andrei Iancu
>>
>> OpenSIPS Founder and Developer
>>   https://www.opensips-solutions.com
>> OpenSIPS Summit 27-30 Sept 2022, Athens
>>   https://www.opensips.org/events/Summit-2022Athens/
>>
>> On 6/29/22 9:10 AM, Bela H wrote:
>>
>> Hi all,
>>
>>
>>
>> Is there any way to add new subscriber from OpenSIPS CP 9.3.2 using
>> password mode ha1_sha256?
>>
>> The ha1 (MD5(username:realm:password)) works fine but I had no luck with
>> the value generation for the ha1_sha256 field in “subscriber” table.
>>
>>
>>
>> I have this setting:
>>
>> modparam("auth_db", "calculate_ha1", 0)
>>
>> modparam("auth_db", "password_column", "ha1_sha256")
>>
>>
>>
>> Thanks!
>>
>> Bela
>>
>>
>>
>>
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] OpenSIPS CP 9.3.2 password mode ha1_sha256 for adding new user

2022-09-15 Thread Bogdan-Andrei Iancu

Hi,

In your opensips.cfg, when doing auth challenge to the end points, do 
you specify the SHA256 alg?


https://opensips.org/html/docs/modules/3.2.x/auth.html#func_www_challenge

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  https://www.opensips-solutions.com
OpenSIPS Summit 27-30 Sept 2022, Athens
  https://www.opensips.org/events/Summit-2022Athens/

On 9/15/22 7:18 AM, jacky z wrote:

Hi Team,

Does ha1_sha256 work in general opensips config settings? I have the 
following in the scripts:


modparam("auth_db", "calculate_ha1", 0)

modparam("auth_db", "password_column", "ha1_sha256")


but got the following error in the log:


/usr/sbin/opensips[28261]: ERROR:auth:auth_calc_HA1: Incorrect length 
of pre-hashed credentials for the algorithm "MD5": 32 expected, 64 
provided



It seems though the sha256 was specified, but the server still 
calculated MD5 and compared with the database column ha1_sha256.



On Tue, Aug 9, 2022 at 5:39 PM Bogdan-Andrei Iancu 
mailto:bog...@opensips.org>> wrote:


Hi Bela,

The OCP does not support ha1_sha256 AFAIK. Consider opening a
feature request here
https://github.com/OpenSIPS/opensips-cp/issues


Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   https://www.opensips-solutions.com  
OpenSIPS Summit 27-30 Sept 2022, Athens
   https://www.opensips.org/events/Summit-2022Athens/  


On 6/29/22 9:10 AM, Bela H wrote:


Hi all,

Is there any way to add new subscriber from OpenSIPS CP 9.3.2
using password mode ha1_sha256?

The ha1 (MD5(username:realm:password)) works fine but I had no
luck with the value generation for the ha1_sha256 field in
“subscriber” table.

I have this setting:

modparam("auth_db", "calculate_ha1", 0)

modparam("auth_db", "password_column", "ha1_sha256")

Thanks!

Bela




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


Re: [OpenSIPS-Users] OpenSIPS CP 9.3.2 password mode ha1_sha256 for adding new user

2022-09-14 Thread jacky z
Hi Team,

Does ha1_sha256 work in general opensips config settings? I have the
following in the scripts:

modparam("auth_db", "calculate_ha1", 0)

modparam("auth_db", "password_column", "ha1_sha256")


but got the following error in the log:


/usr/sbin/opensips[28261]: ERROR:auth:auth_calc_HA1: Incorrect length of
pre-hashed credentials for the algorithm "MD5": 32 expected, 64 provided


It seems though the sha256 was specified, but the server still calculated
MD5 and compared with the database column ha1_sha256.

On Tue, Aug 9, 2022 at 5:39 PM Bogdan-Andrei Iancu 
wrote:

> Hi Bela,
>
> The OCP does not support ha1_sha256 AFAIK. Consider opening a feature
> request here https://github.com/OpenSIPS/opensips-cp/issues
>
> Regards,
>
> Bogdan-Andrei Iancu
>
> OpenSIPS Founder and Developer
>   https://www.opensips-solutions.com
> OpenSIPS Summit 27-30 Sept 2022, Athens
>   https://www.opensips.org/events/Summit-2022Athens/
>
> On 6/29/22 9:10 AM, Bela H wrote:
>
> Hi all,
>
>
>
> Is there any way to add new subscriber from OpenSIPS CP 9.3.2 using
> password mode ha1_sha256?
>
> The ha1 (MD5(username:realm:password)) works fine but I had no luck with
> the value generation for the ha1_sha256 field in “subscriber” table.
>
>
>
> I have this setting:
>
> modparam("auth_db", "calculate_ha1", 0)
>
> modparam("auth_db", "password_column", "ha1_sha256")
>
>
>
> Thanks!
>
> Bela
>
>
>
>
>
>
>
> ___
> 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
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Opensips CP Permissions "RELOAD on SERVER" produces error

2022-09-14 Thread mtck01
Thank you so much and my apologies.

 

 

Regards,

Martin

 

From: Bogdan-Andrei Iancu  
Sent: Tuesday, September 13, 2022 8:49 AM
To: mtck01 ; users@lists.opensips.org
Subject: Re: [OpenSIPS-Users] Opensips CP Permissions "RELOAD on SERVER"
produces error

 

Be sure you have in the opensips.cfg file the 
loadmodule "permissions.so"
line

PS: and please post to the list, not privately ;)

Regards,



Bogdan-Andrei Iancu
 
OpenSIPS Founder and Developer
  https://www.opensips-solutions.com
OpenSIPS Summit 27-30 Sept 2022, Athens
  https://www.opensips.org/events/Summit-2022Athens/

On 9/13/22 3:31 PM, mtck01 wrote:

Hello, I am very new to OpenSIPS and have the same error.   I looked
everywhere but am still confused.  I installed all the modules but how do I
'load' the permissions module..?

 

Regards,

Martin

 

 

 

 

 
<https://www.mail-archive.com/search?l=users@lists.opensips.org=from:%22Bo
gdan%5C-Andrei+Iancu%22> Bogdan-Andrei Iancu
<https://www.mail-archive.com/search?l=users@lists.opensips.org=date:20210
721> Wed, 21 Jul 2021 23:59:41 -0700

Hi Jeff,
 

Are you sure the OpenSIPS (your CP is connected to ) has the permissions
module loaded ?

 
Regards,
 
Bogdan-Andrei Iancu
 
OpenSIPS Founder and Developer
   <https://www.opensips-solutions.com/> https://www.opensips-solutions.com
OpenSIPS Bootcamp 2021 online
   <https://opensips.org/training/OpenSIPS_eBootcamp_2021/>
https://opensips.org/training/OpenSIPS_eBootcamp_2021/
 
On 7/21/21 4:17 PM, Jeff Wilkie wrote:
Opensips 3.1.2
CP 8.3.1
Debian 10
 

When adding permissions, I hit "Reload on Server" but I get the following
error:

 

Sending to*json:127.0.0.1:/mi < <http://127.0.0.1:/mi>
http://127.0.0.1:/mi>*:MI command failed with code -32601 (Method not
found)

 
I

I don't get this error on any other page but this one when attempting to
"Reload on Server".  Is there something specifically wrong with this page
and how it uses the MI command structure?  Again, All other pages that use
the "Reload on Server" give a 200ok and work as expected.

 
Thanks,
 
Jeff
 
___
Users mailing list
Users@lists.opensips.org <mailto:Users@lists.opensips.org> 
 <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
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] Opensips CP Permissions "RELOAD on SERVER" produces error

2022-09-13 Thread Bogdan-Andrei Iancu

Be sure you have in the opensips.cfg file the
    loadmodule "permissions.so"
line

PS: and please post to the list, not privately ;)

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  https://www.opensips-solutions.com
OpenSIPS Summit 27-30 Sept 2022, Athens
  https://www.opensips.org/events/Summit-2022Athens/

On 9/13/22 3:31 PM, mtck01 wrote:


Hello, I am very new to OpenSIPS and have the same error.   I looked 
everywhere but am still confused.  I installed all the modules but how 
do I ‘load’ the permissions module..?


Regards,

Martin

Bogdan-Andrei Iancu 
Wed, 
21 Jul 2021 23:59:41 -0700 



Hi Jeff,

Are you sure the OpenSIPS (your CP is connected to ) has the 
permissions module loaded ?


Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
https://www.opensips-solutions.com 
OpenSIPS Bootcamp 2021 online
https://opensips.org/training/OpenSIPS_eBootcamp_2021/ 


On 7/21/21 4:17 PM, Jeff Wilkie wrote:
Opensips 3.1.2
CP 8.3.1
Debian 10

When adding permissions, I hit "Reload on Server" but I get 
the following error:


Sending to*json:127.0.0.1:/mi >*:MI command failed with code -32601 
(Method not found)


I

I don't get this error on any other page but this one 
when attempting to "Reload on Server".  Is there something 
specifically wrong with this page and how it uses the MI command 
structure?  Again, All other pages that use the "Reload on Server" 
give a 200ok and work as expected.


Thanks,
Jeff
___
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] OpenSIPS CP 9.3.2 password mode ha1_sha256 for adding new user

2022-08-09 Thread Bogdan-Andrei Iancu

Hi Bela,

The OCP does not support ha1_sha256 AFAIK. Consider opening a feature 
request here https://github.com/OpenSIPS/opensips-cp/issues


Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  https://www.opensips-solutions.com
OpenSIPS Summit 27-30 Sept 2022, Athens
  https://www.opensips.org/events/Summit-2022Athens/

On 6/29/22 9:10 AM, Bela H wrote:


Hi all,

Is there any way to add new subscriber from OpenSIPS CP 9.3.2 using 
password mode ha1_sha256?


The ha1 (MD5(username:realm:password)) works fine but I had no luck 
with the value generation for the ha1_sha256 field in “subscriber” table.


I have this setting:

modparam("auth_db", "calculate_ha1", 0)

modparam("auth_db", "password_column", "ha1_sha256")

Thanks!

Bela


___
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] OpenSIPS CP 9.3.2 password mode ha1_sha256 for adding new user

2022-06-29 Thread Bela H
Hi all,

Is there any way to add new subscriber from OpenSIPS CP 9.3.2 using password 
mode ha1_sha256?
The ha1 (MD5(username:realm:password)) works fine but I had no luck with the 
value generation for the ha1_sha256 field in “subscriber” table.

I have this setting:
modparam("auth_db", "calculate_ha1", 0)
modparam("auth_db", "password_column", "ha1_sha256")

Thanks!
Bela



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


Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2

2022-06-08 Thread Bela H
Hi Daniel,

I went other direction as well with the troubleshooting: asked my colleague to 
check the behavior of CP from the office environment since I work from home. 
This is really odd but works fine from there with the same browser!
That means nothing wrong with the CP 9.3.2.
Thanks for your help on this and really sorry to waste your time!

Please let me know if you have further update on the CDR exporting function.

Cheers,
Bela

From: Daniel Airinei<mailto:daniel.airi...@opensips.org>
Sent: Thursday, 9 June 2022 12:55
To: OpenSIPS users mailling list<mailto:users@lists.opensips.org>; Bela 
H<mailto:hob...@hotmail.com>
Subject: Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2


It is unexpected that only some tools have the gear button. Could you also 
quickly check that the files (these are two other files that are involved in 
displaying the button):

opensips-cp/config/tools/system/cdrviewer/settings.inc.php

opensips-cp/config/modules.inc.php

look like the files here:

https://github.com/OpenSIPS/opensips-cp/blob/master/config/tools/system/cdrviewer/settings.inc.php

https://github.com/OpenSIPS/opensips-cp/blob/master/config/modules.inc.php

I don't see any reason why they wouldn't match, but it's worth double checking 
before debugging.

Let me know  and I will get back to you with the next steps if this is not the 
problem.

Cheers,
Daniel Airinei

https://www.opensips-solutions.com/<http://www.opensips-solutions.com/>


On 6/9/2022 3:20 AM, Bela H wrote:
Hi Daniel,

Thanks for your quick feedback!
The local.inc.php related explanation is clear now.

I am using Firefox browser.

I can confirm the opensips-cp/web/tools/system/cdrviewer/template/menu.php has 
the following:


As I mentioned in my original mail, the /Users/Alias Management menu has the 
gear icon.  Compared that menu.php file with the cdrviewer menu.php and are 
identical apart from the obvious "System / CDR Viewer / " part.

I have only one user defined for CP, admin that is with “admin” access to 
everything. However, if I change the access to “read-only” for Alias Management 
I still see the gear icon and even able to modify e.g. the result per page 
value from the gear icon setting.

Can you please advise how to get any error log for this issue! Syslog does not 
show anything.

Cheers,
Bela

From: Daniel Airinei<mailto:daniel.airi...@opensips.org>
Sent: Thursday, 9 June 2022 11:40
To: OpenSIPS users mailling list<mailto:users@lists.opensips.org>; Bela 
H<mailto:hob...@hotmail.com>
Subject: Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2


Hi Bela,

Thanks for reaching out. CP 9.3.2 does not use local.inc.php files anymore, you 
should use the settings interface for additional CDR fields (the one accessed 
through the gear button we are talking about). Could you access any tool in the 
CP and then send me the error log? What browser are you using? Could you check, 
for example, the file

opensips-cp/web/tools/system/cdrviewer/template/menu.php

and make sure that line 28 is "display_settings_button()"? (which is the 
function that displays the gear button).

Regarding exporting, I have indeed found some issues and they will be fixed as 
soon as possible.

Additionally, you have mentioned in an earlier mail that you see extra fields 
from local.inc.php in the details tab, but not in the CDR viewer panel. That is 
probably because those fields were still in your database, and the details tab 
fetches all fields directly, whereas in the CDR viewer panel, you will see only 
the fields you have configured through the gear button settings interface (so 
no extra fields in your case). But local.inc.php files for tools are not used 
in CP 9.3.2, all their content is now managed through the settings interface.

Don't hesitate to follow up,

Kind regards,

Daniel Airinei
http://www.opensips-solutions.com/
On 6/9/2022 2:00 AM, Bela H wrote:
Hi Daniel,

I have installed the CP 9.3.2 and it still looks the same: no gear icon.
I can confirm the opensips-cp/config/globals.php file indentical to the GitHub 
one:

$config->permissions = array("read-only","read-write","admin");

// Password can be saved in plain text mode by setting
// $config->admin_passwd_mode to 0 or chyphered mode, by setting it to 1
$config->admin_passwd_mode=1;

One more question: is the /cdrviewer/local.inc.php config used at all? In the 
CP 8.3.2 I modified that one for additional CDR fields but CP 9.3.2 uses the 
settings.inc.php file.

And also I found an additional problem: CDR exporting does not work, the 
exported file is empty.

Thanks for your help!
Cheers,
Bela


From: Daniel Airinei<mailto:daniel.airi...@opensips.org>
Sent: Wednesday, 8 June 2022 01:30
To: OpenSIPS users mailling list<mailto:users@lists.opensips.org>; Răzvan 
Crainea<mailto:raz...@opensips.org>
Subject: Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2

Hell

Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2

2022-06-08 Thread Daniel Airinei
It is unexpected that only some tools have the gear button. Could you 
also quickly check that the files (these are two other files that are 
involved in displaying the button):


opensips-cp/config/tools/system/cdrviewer/settings.inc.php

opensips-cp/config/modules.inc.php

look like the files here:

https://github.com/OpenSIPS/opensips-cp/blob/master/config/tools/system/cdrviewer/settings.inc.php

https://github.com/OpenSIPS/opensips-cp/blob/master/config/modules.inc.php

I don't see any reason why they wouldn't match, but it's worth double 
checking before debugging.


Let me know  and I will get back to you with the next steps if this is 
not the problem.


Cheers,

Daniel Airinei

https://www.opensips-solutions.com/


On 6/9/2022 3:20 AM, Bela H wrote:


Hi Daniel,

Thanks for your quick feedback!

The local.inc.php related explanation is clear now.

I am using Firefox browser.

I can confirm the 
opensips-cp/web/tools/system/cdrviewer/template/menu.php has the 
following:


    

As I mentioned in my original mail, the /Users/Alias Management menu 
has the gear icon.  Compared that menu.php file with the cdrviewer 
menu.php and are identical apart from the obvious "System / CDR Viewer 
/ " part.


I have only one user defined for CP, admin that is with “admin” access 
to everything. However, if I change the access to “read-only” for 
Alias Management I still see the gear icon and even able to modify 
e.g. the result per page value from the gear icon setting.


Can you please advise how to get any error log for this issue! Syslog 
does not show anything.


Cheers,

Bela

*From: *Daniel Airinei <mailto:daniel.airi...@opensips.org>
*Sent: *Thursday, 9 June 2022 11:40
*To: *OpenSIPS users mailling list <mailto:users@lists.opensips.org>; 
Bela H <mailto:hob...@hotmail.com>

*Subject: *Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2

Hi Bela,

Thanks for reaching out. CP 9.3.2 does not use local.inc.php files 
anymore, you should use the settings interface for additional CDR 
fields (the one accessed through the gear button we are talking 
about). Could you access any tool in the CP and then send me the error 
log? What browser are you using? Could you check, for example, the file


opensips-cp/web/tools/system/cdrviewer/template/menu.php

and make sure that line 28 is "display_settings_button()"? (which is 
the function that displays the gear button).


Regarding exporting, I have indeed found some issues and they will be 
fixed as soon as possible.


Additionally, you have mentioned in an earlier mail that you see extra 
fields from local.inc.php in the details tab, but not in the CDR 
viewer panel. That is probably because those fields were still in your 
database, and the details tab fetches all fields directly, whereas in 
the CDR viewer panel, you will see only the fields you have configured 
through the gear button settings interface (so no extra fields in your 
case). But local.inc.php files for tools are *not *used in CP 9.3.2, 
all their content is now managed through the settings interface.


Don't hesitate to follow up,

Kind regards,

Daniel Airinei
http://www.opensips-solutions.com/

On 6/9/2022 2:00 AM, Bela H wrote:

Hi Daniel,

I have installed the CP 9.3.2 and it still looks the same: no gear
icon.

I can confirm the opensips-cp/config/globals.php file indentical
to the GitHub one:

$config->permissions = array("read-only","read-write","admin");

// Password can be saved in plain text mode by setting

// $config->admin_passwd_mode to 0 or chyphered mode, by setting
it to 1

$config->admin_passwd_mode=1;

One more question: is the /cdrviewer/local.inc.php config used at
all? In the CP 8.3.2 I modified that one for additional CDR fields
but CP 9.3.2 uses the settings.inc.php file.

And also I found an additional problem: CDR exporting does not
work, the exported file is empty.

Thanks for your help!

Cheers,

Bela

*From: *Daniel Airinei <mailto:daniel.airi...@opensips.org>
*Sent: *Wednesday, 8 June 2022 01:30
*To: *OpenSIPS users mailling list
<mailto:users@lists.opensips.org>; Răzvan Crainea
<mailto:raz...@opensips.org>
*Subject: *Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2

Hello Bela,

If you are interested in upgrading to 9.3.2, I'd be happy to
assist you
with any issues you might encounter (I reworked most of the new
settings
feature). Regarding your gear button problem, you could first
check the
permissions in the opensips-cp/config/globals.php file, and make sure
they look like the ones here:
https://github.com/OpenSIPS/opensips-cp/blob/master/config/globals.php

If they look the same, or if you have any additional problems, please
let me know and I will help you out.

Regards,

Daniel Airinei
http://www.opensips-solutions.

Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2

2022-06-08 Thread Bela H
Hi Daniel,

Thanks for your quick feedback!
The local.inc.php related explanation is clear now.

I am using Firefox browser.

I can confirm the opensips-cp/web/tools/system/cdrviewer/template/menu.php has 
the following:


As I mentioned in my original mail, the /Users/Alias Management menu has the 
gear icon.  Compared that menu.php file with the cdrviewer menu.php and are 
identical apart from the obvious "System / CDR Viewer / " part.

I have only one user defined for CP, admin that is with “admin” access to 
everything. However, if I change the access to “read-only” for Alias Management 
I still see the gear icon and even able to modify e.g. the result per page 
value from the gear icon setting.

Can you please advise how to get any error log for this issue! Syslog does not 
show anything.

Cheers,
Bela

From: Daniel Airinei<mailto:daniel.airi...@opensips.org>
Sent: Thursday, 9 June 2022 11:40
To: OpenSIPS users mailling list<mailto:users@lists.opensips.org>; Bela 
H<mailto:hob...@hotmail.com>
Subject: Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2


Hi Bela,

Thanks for reaching out. CP 9.3.2 does not use local.inc.php files anymore, you 
should use the settings interface for additional CDR fields (the one accessed 
through the gear button we are talking about). Could you access any tool in the 
CP and then send me the error log? What browser are you using? Could you check, 
for example, the file

opensips-cp/web/tools/system/cdrviewer/template/menu.php

and make sure that line 28 is "display_settings_button()"? (which is the 
function that displays the gear button).

Regarding exporting, I have indeed found some issues and they will be fixed as 
soon as possible.

Additionally, you have mentioned in an earlier mail that you see extra fields 
from local.inc.php in the details tab, but not in the CDR viewer panel. That is 
probably because those fields were still in your database, and the details tab 
fetches all fields directly, whereas in the CDR viewer panel, you will see only 
the fields you have configured through the gear button settings interface (so 
no extra fields in your case). But local.inc.php files for tools are not used 
in CP 9.3.2, all their content is now managed through the settings interface.

Don't hesitate to follow up,

Kind regards,

Daniel Airinei
http://www.opensips-solutions.com/
On 6/9/2022 2:00 AM, Bela H wrote:
Hi Daniel,

I have installed the CP 9.3.2 and it still looks the same: no gear icon.
I can confirm the opensips-cp/config/globals.php file indentical to the GitHub 
one:

$config->permissions = array("read-only","read-write","admin");

// Password can be saved in plain text mode by setting
// $config->admin_passwd_mode to 0 or chyphered mode, by setting it to 1
$config->admin_passwd_mode=1;

One more question: is the /cdrviewer/local.inc.php config used at all? In the 
CP 8.3.2 I modified that one for additional CDR fields but CP 9.3.2 uses the 
settings.inc.php file.

And also I found an additional problem: CDR exporting does not work, the 
exported file is empty.

Thanks for your help!
Cheers,
Bela


From: Daniel Airinei<mailto:daniel.airi...@opensips.org>
Sent: Wednesday, 8 June 2022 01:30
To: OpenSIPS users mailling list<mailto:users@lists.opensips.org>; Răzvan 
Crainea<mailto:raz...@opensips.org>
Subject: Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2

Hello Bela,

If you are interested in upgrading to 9.3.2, I'd be happy to assist you
with any issues you might encounter (I reworked most of the new settings
feature). Regarding your gear button problem, you could first check the
permissions in the opensips-cp/config/globals.php file, and make sure
they look like the ones here:
https://github.com/OpenSIPS/opensips-cp/blob/master/config/globals.php

If they look the same, or if you have any additional problems, please
let me know and I will help you out.

Regards,

Daniel Airinei
http://www.opensips-solutions.com

On 6/7/2022 1:32 PM, Răzvan Crainea wrote:
> Well, this depends on the way you had set up your call forwarding
> feature in OpenSIPS. But since most likely this is a custom handling,
> in a custom table, you will have better experience if you are using
> the tviewer tool în 9.3.2. So the answer is yes, it is worth upgrading
> :).
>
> Best regards,
>
> Răzvan Crainea
> OpenSIPS Core Developer
> http://www.opensips-solutions.com
>
> On 6/7/22 11:44, Bela H wrote:
>> Hi Răzvan,
>>
>> Unfortunately there was no luck, I rolled it back.
>>
>> However, I am not sure if this latest 9.3.2 version has the feature I
>> was hoping for.
>>
>> Is there an “easy” way to configure this new CP GUI for call
>> forwarding management? Currently I set up/modify directly in the DB.
>>
>> Cheers,
>>
>> Bela
>>
>> *From: *Răzvan Crainea <

Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2

2022-06-08 Thread Daniel Airinei

Hi Bela,

Thanks for reaching out. CP 9.3.2 does not use local.inc.php files 
anymore, you should use the settings interface for additional CDR fields 
(the one accessed through the gear button we are talking about). Could 
you access any tool in the CP and then send me the error log? What 
browser are you using? Could you check, for example, the file


opensips-cp/web/tools/system/cdrviewer/template/menu.php

and make sure that line 28 is "display_settings_button()"? (which is the 
function that displays the gear button).


Regarding exporting, I have indeed found some issues and they will be 
fixed as soon as possible.


Additionally, you have mentioned in an earlier mail that you see extra 
fields from local.inc.php in the details tab, but not in the CDR viewer 
panel. That is probably because those fields were still in your 
database, and the details tab fetches all fields directly, whereas in 
the CDR viewer panel, you will see only the fields you have configured 
through the gear button settings interface (so no extra fields in your 
case). But local.inc.php files for tools are *not***used in CP 9.3.2, 
all their content is now managed through the settings interface.


Don't hesitate to follow up,

Kind regards,

Daniel Airinei
http://www.opensips-solutions.com/

On 6/9/2022 2:00 AM, Bela H wrote:


Hi Daniel,

I have installed the CP 9.3.2 and it still looks the same: no gear icon.

I can confirm the opensips-cp/config/globals.php file indentical to 
the GitHub one:


$config->permissions = array("read-only","read-write","admin");

// Password can be saved in plain text mode by setting

// $config->admin_passwd_mode to 0 or chyphered mode, by setting it to 1

$config->admin_passwd_mode=1;

One more question: is the /cdrviewer/local.inc.php config used at all? 
In the CP 8.3.2 I modified that one for additional CDR fields but CP 
9.3.2 uses the settings.inc.php file.


And also I found an additional problem: CDR exporting does not work, 
the exported file is empty.


Thanks for your help!

Cheers,

Bela

*From: *Daniel Airinei <mailto:daniel.airi...@opensips.org>
*Sent: *Wednesday, 8 June 2022 01:30
*To: *OpenSIPS users mailling list <mailto:users@lists.opensips.org>; 
Răzvan Crainea <mailto:raz...@opensips.org>

*Subject: *Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2

Hello Bela,

If you are interested in upgrading to 9.3.2, I'd be happy to assist you
with any issues you might encounter (I reworked most of the new settings
feature). Regarding your gear button problem, you could first check the
permissions in the opensips-cp/config/globals.php file, and make sure
they look like the ones here:
https://github.com/OpenSIPS/opensips-cp/blob/master/config/globals.php

If they look the same, or if you have any additional problems, please
let me know and I will help you out.

Regards,

Daniel Airinei
http://www.opensips-solutions.com

On 6/7/2022 1:32 PM, Răzvan Crainea wrote:
> Well, this depends on the way you had set up your call forwarding
> feature in OpenSIPS. But since most likely this is a custom handling,
> in a custom table, you will have better experience if you are using
> the tviewer tool în 9.3.2. So the answer is yes, it is worth upgrading
> :).
>
> Best regards,
>
> Răzvan Crainea
> OpenSIPS Core Developer
> http://www.opensips-solutions.com
>
> On 6/7/22 11:44, Bela H wrote:
>> Hi Răzvan,
>>
>> Unfortunately there was no luck, I rolled it back.
>>
>> However, I am not sure if this latest 9.3.2 version has the feature I
>> was hoping for.
>>
>> Is there an “easy” way to configure this new CP GUI for call
>> forwarding management? Currently I set up/modify directly in the DB.
>>
>> Cheers,
>>
>> Bela
>>
>> *From: *Răzvan Crainea <mailto:raz...@opensips.org 
<mailto:raz...@opensips.org>>

>> *Sent: *Tuesday, 7 June 2022 20:36
>> *To: *users@lists.opensips.org <mailto:users@lists.opensips.org 
<mailto:users@lists.opensips.org>>

>> *Subject: *Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2
>>
>> Hi, Bela!
>>
>> Did you manage to sort this out? If not, perhaps Daniel, the guy who
>> reworked the settings feature might be able to help you out.
>>
>> Best regards,
>>
>> Răzvan Crainea
>> OpenSIPS Core Developer
>> http://www.opensips-solutions.com <http://www.opensips-solutions.com>
>>
>> On 5/18/22 09:06, Bogdan-Andrei Iancu wrote:
>>  > Hi Bela,
>>  >
>>  > OK, be sure the user you are using to log into CP has the "admin"
>>  > permission on the cdrviewer tool . Check this via the Admin tools
>> -> Access.
>>  >
>>  > Regards,
>>  >
>>  > Bogdan-Andrei Iancu
>>  >
&

Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2

2022-06-08 Thread Bela H
Hi Daniel,

I have installed the CP 9.3.2 and it still looks the same: no gear icon.
I can confirm the opensips-cp/config/globals.php file indentical to the GitHub 
one:

$config->permissions = array("read-only","read-write","admin");

// Password can be saved in plain text mode by setting
// $config->admin_passwd_mode to 0 or chyphered mode, by setting it to 1
$config->admin_passwd_mode=1;

One more question: is the /cdrviewer/local.inc.php config used at all? In the 
CP 8.3.2 I modified that one for additional CDR fields but CP 9.3.2 uses the 
settings.inc.php file.

And also I found an additional problem: CDR exporting does not work, the 
exported file is empty.

Thanks for your help!
Cheers,
Bela


From: Daniel Airinei<mailto:daniel.airi...@opensips.org>
Sent: Wednesday, 8 June 2022 01:30
To: OpenSIPS users mailling list<mailto:users@lists.opensips.org>; Răzvan 
Crainea<mailto:raz...@opensips.org>
Subject: Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2

Hello Bela,

If you are interested in upgrading to 9.3.2, I'd be happy to assist you
with any issues you might encounter (I reworked most of the new settings
feature). Regarding your gear button problem, you could first check the
permissions in the opensips-cp/config/globals.php file, and make sure
they look like the ones here:
https://github.com/OpenSIPS/opensips-cp/blob/master/config/globals.php

If they look the same, or if you have any additional problems, please
let me know and I will help you out.

Regards,

Daniel Airinei
http://www.opensips-solutions.com

On 6/7/2022 1:32 PM, Răzvan Crainea wrote:
> Well, this depends on the way you had set up your call forwarding
> feature in OpenSIPS. But since most likely this is a custom handling,
> in a custom table, you will have better experience if you are using
> the tviewer tool în 9.3.2. So the answer is yes, it is worth upgrading
> :).
>
> Best regards,
>
> Răzvan Crainea
> OpenSIPS Core Developer
> http://www.opensips-solutions.com
>
> On 6/7/22 11:44, Bela H wrote:
>> Hi Răzvan,
>>
>> Unfortunately there was no luck, I rolled it back.
>>
>> However, I am not sure if this latest 9.3.2 version has the feature I
>> was hoping for.
>>
>> Is there an “easy” way to configure this new CP GUI for call
>> forwarding management? Currently I set up/modify directly in the DB.
>>
>> Cheers,
>>
>> Bela
>>
>> *From: *Răzvan Crainea <mailto:raz...@opensips.org>
>> *Sent: *Tuesday, 7 June 2022 20:36
>> *To: *users@lists.opensips.org <mailto:users@lists.opensips.org>
>> *Subject: *Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2
>>
>> Hi, Bela!
>>
>> Did you manage to sort this out? If not, perhaps Daniel, the guy who
>> reworked the settings feature might be able to help you out.
>>
>> Best regards,
>>
>> Răzvan Crainea
>> OpenSIPS Core Developer
>> http://www.opensips-solutions.com <http://www.opensips-solutions.com>
>>
>> On 5/18/22 09:06, Bogdan-Andrei Iancu wrote:
>>  > Hi Bela,
>>  >
>>  > OK, be sure the user you are using to log into CP has the "admin"
>>  > permission on the cdrviewer tool . Check this via the Admin tools
>> -> Access.
>>  >
>>  > Regards,
>>  >
>>  > Bogdan-Andrei Iancu
>>  >
>>  > OpenSIPS Founder and Developer
>>  > https://www.opensips-solutions.com
>> <https://www.opensips-solutions.com>
>>  > OpenSIPS eBootcamp 23rd May - 3rd June 2022
>>  > https://opensips.org/training/OpenSIPS_eBootcamp_2022/
>> <https://opensips.org/training/OpenSIPS_eBootcamp_2022/>
>>  >
>>  > On 5/18/22 12:25 AM, Bela H wrote:
>>  >>
>>  >> Hi Bogdan,
>>  >>
>>  >> I have re-installed the CP 9.3.2 but the results are same. Still
>>  >> missing CDR fields in the CDR Viewer and no gear icon anywhere only
>>  >> Users/Alias Management and System/Monit.
>>  >>
>>  >> However, in the CDR details I can see the additional fields:
>>  >>
>>  >> What did I wrong?
>>  >>
>>  >> Cheers,
>>  >>
>>  >> Bela
>>  >>
>>  >> *From: *Bogdan-Andrei Iancu <mailto:bog...@opensips.org
>> <mailto:bog...@opensips.org>>
>>  >> *Sent: *Wednesday, 18 May 2022 03:01
>>  >> *To: *OpenSIPS users mailling list
>> <mailto:Users@lists.opensips.org <mailto:Users@lists.opensips.org>>;
>>  >> Bela H <mailto:hob...@hotmail.com <mailto:hob...@hotmail.com>>
>>  >> *Subject: *Re: [OpenSIPS-User

Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2

2022-06-07 Thread Bela H
Thanks Daniel!

I’ll upgrade again hopefully this Friday and will get back to you with the 
findings.

Cheers,
Bela

From: Daniel Airinei<mailto:daniel.airi...@opensips.org>
Sent: Wednesday, 8 June 2022 01:30
To: OpenSIPS users mailling list<mailto:users@lists.opensips.org>; Răzvan 
Crainea<mailto:raz...@opensips.org>
Subject: Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2

Hello Bela,

If you are interested in upgrading to 9.3.2, I'd be happy to assist you
with any issues you might encounter (I reworked most of the new settings
feature). Regarding your gear button problem, you could first check the
permissions in the opensips-cp/config/globals.php file, and make sure
they look like the ones here:
https://github.com/OpenSIPS/opensips-cp/blob/master/config/globals.php

If they look the same, or if you have any additional problems, please
let me know and I will help you out.

Regards,

Daniel Airinei
http://www.opensips-solutions.com

On 6/7/2022 1:32 PM, Răzvan Crainea wrote:
> Well, this depends on the way you had set up your call forwarding
> feature in OpenSIPS. But since most likely this is a custom handling,
> in a custom table, you will have better experience if you are using
> the tviewer tool în 9.3.2. So the answer is yes, it is worth upgrading
> :).
>
> Best regards,
>
> Răzvan Crainea
> OpenSIPS Core Developer
> http://www.opensips-solutions.com
>
> On 6/7/22 11:44, Bela H wrote:
>> Hi Răzvan,
>>
>> Unfortunately there was no luck, I rolled it back.
>>
>> However, I am not sure if this latest 9.3.2 version has the feature I
>> was hoping for.
>>
>> Is there an “easy” way to configure this new CP GUI for call
>> forwarding management? Currently I set up/modify directly in the DB.
>>
>> Cheers,
>>
>> Bela
>>
>> *From: *Răzvan Crainea <mailto:raz...@opensips.org>
>> *Sent: *Tuesday, 7 June 2022 20:36
>> *To: *users@lists.opensips.org <mailto:users@lists.opensips.org>
>> *Subject: *Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2
>>
>> Hi, Bela!
>>
>> Did you manage to sort this out? If not, perhaps Daniel, the guy who
>> reworked the settings feature might be able to help you out.
>>
>> Best regards,
>>
>> Răzvan Crainea
>> OpenSIPS Core Developer
>> http://www.opensips-solutions.com <http://www.opensips-solutions.com>
>>
>> On 5/18/22 09:06, Bogdan-Andrei Iancu wrote:
>>  > Hi Bela,
>>  >
>>  > OK, be sure the user you are using to log into CP has the "admin"
>>  > permission on the cdrviewer tool . Check this via the Admin tools
>> -> Access.
>>  >
>>  > Regards,
>>  >
>>  > Bogdan-Andrei Iancu
>>  >
>>  > OpenSIPS Founder and Developer
>>  > https://www.opensips-solutions.com
>> <https://www.opensips-solutions.com>
>>  > OpenSIPS eBootcamp 23rd May - 3rd June 2022
>>  > https://opensips.org/training/OpenSIPS_eBootcamp_2022/
>> <https://opensips.org/training/OpenSIPS_eBootcamp_2022/>
>>  >
>>  > On 5/18/22 12:25 AM, Bela H wrote:
>>  >>
>>  >> Hi Bogdan,
>>  >>
>>  >> I have re-installed the CP 9.3.2 but the results are same. Still
>>  >> missing CDR fields in the CDR Viewer and no gear icon anywhere only
>>  >> Users/Alias Management and System/Monit.
>>  >>
>>  >> However, in the CDR details I can see the additional fields:
>>  >>
>>  >> What did I wrong?
>>  >>
>>  >> Cheers,
>>  >>
>>  >> Bela
>>  >>
>>  >> *From: *Bogdan-Andrei Iancu <mailto:bog...@opensips.org
>> <mailto:bog...@opensips.org>>
>>  >> *Sent: *Wednesday, 18 May 2022 03:01
>>  >> *To: *OpenSIPS users mailling list
>> <mailto:Users@lists.opensips.org <mailto:Users@lists.opensips.org>>;
>>  >> Bela H <mailto:hob...@hotmail.com <mailto:hob...@hotmail.com>>
>>  >> *Subject: *Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2
>>  >>
>>  >> Hi Bela,
>>  >>
>>  >> Does you CDRviewer look like this ?
>>  >>
>>  >>
>>  >>
>>  >> See the gear box in the right upper corner.
>>  >>
>>  >> And be sure that the 9.3.2 version is indeed displayed in the left
>>  >> upper corner.
>>  >>
>>  >> Regards,
>>  >>
>>  >> Bogdan-Andrei Iancu
>>  >> OpenSIPS Founder and Developer
>>  >> https://www.opensips-solutions.com
>> &l

Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2

2022-06-07 Thread Bela H
Thanks Răzvan!

I am using the usr_preferences preferences table for call forwarding setup, 
like this:
+++--++---+--+-+-+
| id | uuid   | username | domain | attribute | type | value   | 
last_modified   |
+++--++---+--+-+-+
| 23 | B_num ||| fwdnoansw|0| C_num 
   | 2022-04-11 16:46:40 |


Cheers,
Bela

From: Răzvan Crainea<mailto:raz...@opensips.org>
Sent: Tuesday, 7 June 2022 22:36
To: users@lists.opensips.org<mailto:users@lists.opensips.org>
Subject: Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2

Well, this depends on the way you had set up your call forwarding
feature in OpenSIPS. But since most likely this is a custom handling, in
a custom table, you will have better experience if you are using the
tviewer tool în 9.3.2. So the answer is yes, it is worth upgrading :).

Best regards,

Răzvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com

On 6/7/22 11:44, Bela H wrote:
> Hi Răzvan,
>
> Unfortunately there was no luck, I rolled it back.
>
> However, I am not sure if this latest 9.3.2 version has the feature I
> was hoping for.
>
> Is there an “easy” way to configure this new CP GUI for call forwarding
> management? Currently I set up/modify directly in the DB.
>
> Cheers,
>
> Bela
>
> *From: *Răzvan Crainea <mailto:raz...@opensips.org>
> *Sent: *Tuesday, 7 June 2022 20:36
> *To: *users@lists.opensips.org <mailto:users@lists.opensips.org>
> *Subject: *Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2
>
> Hi, Bela!
>
> Did you manage to sort this out? If not, perhaps Daniel, the guy who
> reworked the settings feature might be able to help you out.
>
> Best regards,
>
> Răzvan Crainea
> OpenSIPS Core Developer
> http://www.opensips-solutions.com <http://www.opensips-solutions.com>
>
> On 5/18/22 09:06, Bogdan-Andrei Iancu wrote:
>  > Hi Bela,
>  >
>  > OK, be sure the user you are using to log into CP has the "admin"
>  > permission on the cdrviewer tool . Check this via the Admin tools ->
> Access.
>  >
>  > Regards,
>  >
>  > Bogdan-Andrei Iancu
>  >
>  > OpenSIPS Founder and Developer
>  > https://www.opensips-solutions.com <https://www.opensips-solutions.com>
>  > OpenSIPS eBootcamp 23rd May - 3rd June 2022
>  > https://opensips.org/training/OpenSIPS_eBootcamp_2022/
> <https://opensips.org/training/OpenSIPS_eBootcamp_2022/>
>  >
>  > On 5/18/22 12:25 AM, Bela H wrote:
>  >>
>  >> Hi Bogdan,
>  >>
>  >> I have re-installed the CP 9.3.2 but the results are same. Still
>  >> missing CDR fields in the CDR Viewer and no gear icon anywhere only
>  >> Users/Alias Management and System/Monit.
>  >>
>  >> However, in the CDR details I can see the additional fields:
>  >>
>  >> What did I wrong?
>  >>
>  >> Cheers,
>  >>
>  >> Bela
>  >>
>  >> *From: *Bogdan-Andrei Iancu <mailto:bog...@opensips.org
> <mailto:bog...@opensips.org>>
>  >> *Sent: *Wednesday, 18 May 2022 03:01
>  >> *To: *OpenSIPS users mailling list <mailto:Users@lists.opensips.org
> <mailto:Users@lists.opensips.org>>;
>  >> Bela H <mailto:hob...@hotmail.com <mailto:hob...@hotmail.com>>
>  >> *Subject: *Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2
>  >>
>  >> Hi Bela,
>  >>
>  >> Does you CDRviewer look like this ?
>  >>
>  >>
>  >>
>  >> See the gear box in the right upper corner.
>  >>
>  >> And be sure that the 9.3.2 version is indeed displayed in the left
>  >> upper corner.
>  >>
>  >> Regards,
>  >>
>  >> Bogdan-Andrei Iancu
>  >> OpenSIPS Founder and Developer
>  >> https://www.opensips-solutions.com
> <https://www.opensips-solutions.com>
> <https://www.opensips-solutions.com <https://www.opensips-solutions.com>>
>  >> OpenSIPS eBootcamp 23rd May - 3rd June 2022
>  >> https://opensips.org/training/OpenSIPS_eBootcamp_2022/
> <https://opensips.org/training/OpenSIPS_eBootcamp_2022/>
> <https://opensips.org/training/OpenSIPS_eBootcamp_2022/
> <https://opensips.org/training/OpenSIPS_eBootcamp_2022/>>
>  >>
>  >> On 5/17/22 10:55 AM, Bela H wrote:
>  >>
>  >> Hello,
>  >>
>  >> What is the best method to upgrade the control panel from 8.3.2 to
>  >> 9

Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2

2022-06-07 Thread Daniel Airinei

Hello Bela,

If you are interested in upgrading to 9.3.2, I'd be happy to assist you 
with any issues you might encounter (I reworked most of the new settings 
feature). Regarding your gear button problem, you could first check the 
permissions in the opensips-cp/config/globals.php file, and make sure 
they look like the ones here: 
https://github.com/OpenSIPS/opensips-cp/blob/master/config/globals.php


If they look the same, or if you have any additional problems, please 
let me know and I will help you out.


Regards,

Daniel Airinei
http://www.opensips-solutions.com

On 6/7/2022 1:32 PM, Răzvan Crainea wrote:
Well, this depends on the way you had set up your call forwarding 
feature in OpenSIPS. But since most likely this is a custom handling, 
in a custom table, you will have better experience if you are using 
the tviewer tool în 9.3.2. So the answer is yes, it is worth upgrading 
:).


Best regards,

Răzvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com

On 6/7/22 11:44, Bela H wrote:

Hi Răzvan,

Unfortunately there was no luck, I rolled it back.

However, I am not sure if this latest 9.3.2 version has the feature I 
was hoping for.


Is there an “easy” way to configure this new CP GUI for call 
forwarding management? Currently I set up/modify directly in the DB.


Cheers,

Bela

*From: *Răzvan Crainea <mailto:raz...@opensips.org>
*Sent: *Tuesday, 7 June 2022 20:36
*To: *users@lists.opensips.org <mailto:users@lists.opensips.org>
*Subject: *Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2

Hi, Bela!

Did you manage to sort this out? If not, perhaps Daniel, the guy who
reworked the settings feature might be able to help you out.

Best regards,

Răzvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com <http://www.opensips-solutions.com>

On 5/18/22 09:06, Bogdan-Andrei Iancu wrote:
 > Hi Bela,
 >
 > OK, be sure the user you are using to log into CP has the "admin"
 > permission on the cdrviewer tool . Check this via the Admin tools 
-> Access.

 >
 > Regards,
 >
 > Bogdan-Andrei Iancu
 >
 > OpenSIPS Founder and Developer
 > https://www.opensips-solutions.com 
<https://www.opensips-solutions.com>

 > OpenSIPS eBootcamp 23rd May - 3rd June 2022
 > https://opensips.org/training/OpenSIPS_eBootcamp_2022/ 
<https://opensips.org/training/OpenSIPS_eBootcamp_2022/>

 >
 > On 5/18/22 12:25 AM, Bela H wrote:
 >>
 >> Hi Bogdan,
 >>
 >> I have re-installed the CP 9.3.2 but the results are same. Still
 >> missing CDR fields in the CDR Viewer and no gear icon anywhere only
 >> Users/Alias Management and System/Monit.
 >>
 >> However, in the CDR details I can see the additional fields:
 >>
 >> What did I wrong?
 >>
 >> Cheers,
 >>
 >> Bela
 >>
 >> *From: *Bogdan-Andrei Iancu <mailto:bog...@opensips.org 
<mailto:bog...@opensips.org>>

 >> *Sent: *Wednesday, 18 May 2022 03:01
 >> *To: *OpenSIPS users mailling list 
<mailto:Users@lists.opensips.org <mailto:Users@lists.opensips.org>>;

 >> Bela H <mailto:hob...@hotmail.com <mailto:hob...@hotmail.com>>
 >> *Subject: *Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2
 >>
 >> Hi Bela,
 >>
 >> Does you CDRviewer look like this ?
 >>
 >>
 >>
 >> See the gear box in the right upper corner.
 >>
 >> And be sure that the 9.3.2 version is indeed displayed in the left
 >> upper corner.
 >>
 >> Regards,
 >>
 >> Bogdan-Andrei Iancu
 >> OpenSIPS Founder and Developer
 >> https://www.opensips-solutions.com 
<https://www.opensips-solutions.com> 
<https://www.opensips-solutions.com 
<https://www.opensips-solutions.com>>

 >> OpenSIPS eBootcamp 23rd May - 3rd June 2022
 >> https://opensips.org/training/OpenSIPS_eBootcamp_2022/ 
<https://opensips.org/training/OpenSIPS_eBootcamp_2022/> 
<https://opensips.org/training/OpenSIPS_eBootcamp_2022/ 
<https://opensips.org/training/OpenSIPS_eBootcamp_2022/>>

 >>
 >> On 5/17/22 10:55 AM, Bela H wrote:
 >>
 >> Hello,
 >>
 >> What is the best method to upgrade the control panel from 
8.3.2 to

 >> 9.3.2?
 >>
 >> I had some extra fields e.g. in CDR viewer and disappeared after
 >> 9.3.2. It is in the file
 >> 
/var/www/html/opensips-cp/config/tools/system/cdrviewer/local.inc.php
 >> but not visible in the CDR viewer panel only in the detailed 
view

 >> for each call.
 >>
 >> Also I don’t see this gear icon Bogdan mentioned in the blog: 
Each

 >> tool has its own Settings panel “accessible via the gear-icon in
 >> the right side of the too

Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2

2022-06-07 Thread Răzvan Crainea
Well, this depends on the way you had set up your call forwarding 
feature in OpenSIPS. But since most likely this is a custom handling, in 
a custom table, you will have better experience if you are using the 
tviewer tool în 9.3.2. So the answer is yes, it is worth upgrading :).


Best regards,

Răzvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com

On 6/7/22 11:44, Bela H wrote:

Hi Răzvan,

Unfortunately there was no luck, I rolled it back.

However, I am not sure if this latest 9.3.2 version has the feature I 
was hoping for.


Is there an “easy” way to configure this new CP GUI for call forwarding 
management? Currently I set up/modify directly in the DB.


Cheers,

Bela

*From: *Răzvan Crainea <mailto:raz...@opensips.org>
*Sent: *Tuesday, 7 June 2022 20:36
*To: *users@lists.opensips.org <mailto:users@lists.opensips.org>
*Subject: *Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2

Hi, Bela!

Did you manage to sort this out? If not, perhaps Daniel, the guy who
reworked the settings feature might be able to help you out.

Best regards,

Răzvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com <http://www.opensips-solutions.com>

On 5/18/22 09:06, Bogdan-Andrei Iancu wrote:
 > Hi Bela,
 >
 > OK, be sure the user you are using to log into CP has the "admin"
 > permission on the cdrviewer tool . Check this via the Admin tools -> 
Access.

 >
 > Regards,
 >
 > Bogdan-Andrei Iancu
 >
 > OpenSIPS Founder and Developer
 > https://www.opensips-solutions.com <https://www.opensips-solutions.com>
 > OpenSIPS eBootcamp 23rd May - 3rd June 2022
 > https://opensips.org/training/OpenSIPS_eBootcamp_2022/ 
<https://opensips.org/training/OpenSIPS_eBootcamp_2022/>

 >
 > On 5/18/22 12:25 AM, Bela H wrote:
 >>
 >> Hi Bogdan,
 >>
 >> I have re-installed the CP 9.3.2 but the results are same. Still
 >> missing CDR fields in the CDR Viewer and no gear icon anywhere only
 >> Users/Alias Management and System/Monit.
 >>
 >> However, in the CDR details I can see the additional fields:
 >>
 >> What did I wrong?
 >>
 >> Cheers,
 >>
 >> Bela
 >>
 >> *From: *Bogdan-Andrei Iancu <mailto:bog...@opensips.org 
<mailto:bog...@opensips.org>>

 >> *Sent: *Wednesday, 18 May 2022 03:01
 >> *To: *OpenSIPS users mailling list <mailto:Users@lists.opensips.org 
<mailto:Users@lists.opensips.org>>;

 >> Bela H <mailto:hob...@hotmail.com <mailto:hob...@hotmail.com>>
 >> *Subject: *Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2
 >>
 >> Hi Bela,
 >>
 >> Does you CDRviewer look like this ?
 >>
 >>
 >>
 >> See the gear box in the right upper corner.
 >>
 >> And be sure that the 9.3.2 version is indeed displayed in the left
 >> upper corner.
 >>
 >> Regards,
 >>
 >> Bogdan-Andrei Iancu
 >> OpenSIPS Founder and Developer
 >> https://www.opensips-solutions.com 
<https://www.opensips-solutions.com>  
<https://www.opensips-solutions.com <https://www.opensips-solutions.com>>

 >> OpenSIPS eBootcamp 23rd May - 3rd June 2022
 >> https://opensips.org/training/OpenSIPS_eBootcamp_2022/ 
<https://opensips.org/training/OpenSIPS_eBootcamp_2022/>  
<https://opensips.org/training/OpenSIPS_eBootcamp_2022/ 
<https://opensips.org/training/OpenSIPS_eBootcamp_2022/>>

 >>
 >> On 5/17/22 10:55 AM, Bela H wrote:
 >>
 >> Hello,
 >>
 >> What is the best method to upgrade the control panel from 8.3.2 to
 >> 9.3.2?
 >>
 >> I had some extra fields e.g. in CDR viewer and disappeared after
 >> 9.3.2. It is in the file
 >> 
/var/www/html/opensips-cp/config/tools/system/cdrviewer/local.inc.php

 >> but not visible in the CDR viewer panel only in the detailed view
 >> for each call.
 >>
 >> Also I don’t see this gear icon Bogdan mentioned in the blog: Each
 >> tool has its own Settings panel “accessible via the gear-icon in
 >> the right side of the tool header”.
 >>
 >> Cheers,
 >>
 >> Bela
 >>
 >>
 >>
 >> ___
 >>
 >> Users mailing list
 >>
 >> Users@lists.opensips.org  <mailto:Users@lists.opensips.org 
<mailto:Users@lists.opensips.org>>

 >>
 >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users 
<http://lists.opensips.org/cgi-bin/mailman/listinfo/users>  
<http://lists.opensips.org/cgi-bin/mailman/listinfo/users 
<http://lists.opensips.org/cgi-bin/mailman/listinfo/users>>

 >>
 >
 >
 > __

Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2

2022-06-07 Thread Bela H
Hi Răzvan,

Unfortunately there was no luck, I rolled it back.
However, I am not sure if this latest 9.3.2 version has the feature I was 
hoping for.
Is there an “easy” way to configure this new CP GUI for call forwarding 
management? Currently I set up/modify directly in the DB.

Cheers,
Bela


From: Răzvan Crainea<mailto:raz...@opensips.org>
Sent: Tuesday, 7 June 2022 20:36
To: users@lists.opensips.org<mailto:users@lists.opensips.org>
Subject: Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2

Hi, Bela!

Did you manage to sort this out? If not, perhaps Daniel, the guy who
reworked the settings feature might be able to help you out.

Best regards,

Răzvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com

On 5/18/22 09:06, Bogdan-Andrei Iancu wrote:
> Hi Bela,
>
> OK, be sure the user you are using to log into CP has the "admin"
> permission on the cdrviewer tool . Check this via the Admin tools -> Access.
>
> Regards,
>
> Bogdan-Andrei Iancu
>
> OpenSIPS Founder and Developer
>https://www.opensips-solutions.com
> OpenSIPS eBootcamp 23rd May - 3rd June 2022
>https://opensips.org/training/OpenSIPS_eBootcamp_2022/
>
> On 5/18/22 12:25 AM, Bela H wrote:
>>
>> Hi Bogdan,
>>
>> I have re-installed the CP 9.3.2 but the results are same. Still
>> missing CDR fields in the CDR Viewer and no gear icon anywhere only
>> Users/Alias Management and System/Monit.
>>
>> However, in the CDR details I can see the additional fields:
>>
>> What did I wrong?
>>
>> Cheers,
>>
>> Bela
>>
>> *From: *Bogdan-Andrei Iancu <mailto:bog...@opensips.org>
>> *Sent: *Wednesday, 18 May 2022 03:01
>> *To: *OpenSIPS users mailling list <mailto:Users@lists.opensips.org>;
>> Bela H <mailto:hob...@hotmail.com>
>> *Subject: *Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2
>>
>> Hi Bela,
>>
>> Does you CDRviewer look like this ?
>>
>>
>>
>> See the gear box in the right upper corner.
>>
>> And be sure that the 9.3.2 version is indeed displayed in the left
>> upper corner.
>>
>> Regards,
>>
>> Bogdan-Andrei Iancu
>> OpenSIPS Founder and Developer
>>https://www.opensips-solutions.com  <https://www.opensips-solutions.com>
>> OpenSIPS eBootcamp 23rd May - 3rd June 2022
>>https://opensips.org/training/OpenSIPS_eBootcamp_2022/  
>> <https://opensips.org/training/OpenSIPS_eBootcamp_2022/>
>>
>> On 5/17/22 10:55 AM, Bela H wrote:
>>
>> Hello,
>>
>> What is the best method to upgrade the control panel from 8.3.2 to
>> 9.3.2?
>>
>> I had some extra fields e.g. in CDR viewer and disappeared after
>> 9.3.2. It is in the file
>> /var/www/html/opensips-cp/config/tools/system/cdrviewer/local.inc.php
>> but not visible in the CDR viewer panel only in the detailed view
>> for each call.
>>
>> Also I don’t see this gear icon Bogdan mentioned in the blog: Each
>> tool has its own Settings panel “accessible via the gear-icon in
>> the right side of the tool header”.
>>
>> Cheers,
>>
>> Bela
>>
>>
>>
>> ___
>>
>> Users mailing list
>>
>> Users@lists.opensips.org  <mailto:Users@lists.opensips.org>
>>
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users  
>> <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

___
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] OpenSIPS CP upgrade to 9.3.2

2022-06-07 Thread Răzvan Crainea

Hi, Bela!

Did you manage to sort this out? If not, perhaps Daniel, the guy who 
reworked the settings feature might be able to help you out.


Best regards,

Răzvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com

On 5/18/22 09:06, Bogdan-Andrei Iancu wrote:

Hi Bela,

OK, be sure the user you are using to log into CP has the "admin" 
permission on the cdrviewer tool . Check this via the Admin tools -> Access.


Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   https://www.opensips-solutions.com
OpenSIPS eBootcamp 23rd May - 3rd June 2022
   https://opensips.org/training/OpenSIPS_eBootcamp_2022/

On 5/18/22 12:25 AM, Bela H wrote:


Hi Bogdan,

I have re-installed the CP 9.3.2 but the results are same. Still 
missing CDR fields in the CDR Viewer and no gear icon anywhere only 
Users/Alias Management and System/Monit.


However, in the CDR details I can see the additional fields:

What did I wrong?

Cheers,

Bela

*From: *Bogdan-Andrei Iancu <mailto:bog...@opensips.org>
*Sent: *Wednesday, 18 May 2022 03:01
*To: *OpenSIPS users mailling list <mailto:Users@lists.opensips.org>; 
Bela H <mailto:hob...@hotmail.com>

*Subject: *Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2

Hi Bela,

Does you CDRviewer look like this ?



See the gear box in the right upper corner.

And be sure that the 9.3.2 version is indeed displayed in the left 
upper corner.


Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
   https://www.opensips-solutions.com  <https://www.opensips-solutions.com>
OpenSIPS eBootcamp 23rd May - 3rd June 2022
   https://opensips.org/training/OpenSIPS_eBootcamp_2022/  
<https://opensips.org/training/OpenSIPS_eBootcamp_2022/>

On 5/17/22 10:55 AM, Bela H wrote:

Hello,

What is the best method to upgrade the control panel from 8.3.2 to
9.3.2?

I had some extra fields e.g. in CDR viewer and disappeared after
9.3.2. It is in the file
/var/www/html/opensips-cp/config/tools/system/cdrviewer/local.inc.php
but not visible in the CDR viewer panel only in the detailed view
for each call.

Also I don’t see this gear icon Bogdan mentioned in the blog: Each
tool has its own Settings panel “accessible via the gear-icon in
the right side of the tool header”.

Cheers,

Bela



___

Users mailing list

Users@lists.opensips.org  <mailto:Users@lists.opensips.org>

http://lists.opensips.org/cgi-bin/mailman/listinfo/users  
<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


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


Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2

2022-05-18 Thread Bogdan-Andrei Iancu

Hi Bela,

OK, be sure the user you are using to log into CP has the "admin" 
permission on the cdrviewer tool . Check this via the Admin tools -> Access.


Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  https://www.opensips-solutions.com
OpenSIPS eBootcamp 23rd May - 3rd June 2022
  https://opensips.org/training/OpenSIPS_eBootcamp_2022/

On 5/18/22 12:25 AM, Bela H wrote:


Hi Bogdan,

I have re-installed the CP 9.3.2 but the results are same. Still 
missing CDR fields in the CDR Viewer and no gear icon anywhere only 
Users/Alias Management and System/Monit.


However, in the CDR details I can see the additional fields:

What did I wrong?

Cheers,

Bela

*From: *Bogdan-Andrei Iancu <mailto:bog...@opensips.org>
*Sent: *Wednesday, 18 May 2022 03:01
*To: *OpenSIPS users mailling list <mailto:Users@lists.opensips.org>; 
Bela H <mailto:hob...@hotmail.com>

*Subject: *Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2

Hi Bela,

Does you CDRviewer look like this ?



See the gear box in the right upper corner.

And be sure that the 9.3.2 version is indeed displayed in the left 
upper corner.


Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
   https://www.opensips-solutions.com  <https://www.opensips-solutions.com>
OpenSIPS eBootcamp 23rd May - 3rd June 2022
   https://opensips.org/training/OpenSIPS_eBootcamp_2022/  
<https://opensips.org/training/OpenSIPS_eBootcamp_2022/>

On 5/17/22 10:55 AM, Bela H wrote:

Hello,

What is the best method to upgrade the control panel from 8.3.2 to
9.3.2?

I had some extra fields e.g. in CDR viewer and disappeared after
9.3.2. It is in the file
/var/www/html/opensips-cp/config/tools/system/cdrviewer/local.inc.php
but not visible in the CDR viewer panel only in the detailed view
for each call.

Also I don’t see this gear icon Bogdan mentioned in the blog: Each
tool has its own Settings panel “accessible via the gear-icon in
the right side of the tool header”.

Cheers,

Bela



___

Users mailing list

Users@lists.opensips.org  <mailto:Users@lists.opensips.org>

http://lists.opensips.org/cgi-bin/mailman/listinfo/users  
<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] OpenSIPS CP upgrade to 9.3.2

2022-05-18 Thread Bela H
Hi Bogdan,

I have re-installed the CP 9.3.2 but the results are same. Still missing CDR 
fields in the CDR Viewer and no gear icon anywhere only Users/Alias Management 
and System/Monit.

[cid:image002.png@01D86A99.33EE85C0]

However, in the CDR details I can see the additional fields:
[cid:image005.png@01D86A99.33EE85C0]

What did I wrong?

Cheers,
Bela

From: Bogdan-Andrei Iancu<mailto:bog...@opensips.org>
Sent: Wednesday, 18 May 2022 03:01
To: OpenSIPS users mailling list<mailto:Users@lists.opensips.org>; Bela 
H<mailto:hob...@hotmail.com>
Subject: Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2

Hi Bela,

Does you CDRviewer look like this ?

[cid:part1.1E9CE55B.28BF7076@opensips.org]

See the gear box in the right upper corner.

And be sure that the 9.3.2 version is indeed displayed in the left upper corner.

Regards,


Bogdan-Andrei Iancu



OpenSIPS Founder and Developer

  https://www.opensips-solutions.com

OpenSIPS eBootcamp 23rd May - 3rd June 2022

  https://opensips.org/training/OpenSIPS_eBootcamp_2022/
On 5/17/22 10:55 AM, Bela H wrote:

Hello,

What is the best method to upgrade the control panel from 8.3.2 to 9.3.2?
I had some extra fields e.g. in CDR viewer and disappeared after 9.3.2. It is 
in the file 
/var/www/html/opensips-cp/config/tools/system/cdrviewer/local.inc.php but not 
visible in the CDR viewer panel only in the detailed view for each call.

Also I don’t see this gear icon Bogdan mentioned in the blog: Each tool has its 
own Settings panel “accessible via the gear-icon in the right side of the tool 
header”.

Cheers,
Bela



___

Users mailing list

Users@lists.opensips.org<mailto: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] OpenSIPS CP upgrade to 9.3.2

2022-05-17 Thread Bogdan-Andrei Iancu

Hi Bela,

Does you CDRviewer look like this ?



See the gear box in the right upper corner.

And be sure that the 9.3.2 version is indeed displayed in the left upper 
corner.


Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  https://www.opensips-solutions.com
OpenSIPS eBootcamp 23rd May - 3rd June 2022
  https://opensips.org/training/OpenSIPS_eBootcamp_2022/

On 5/17/22 10:55 AM, Bela H wrote:


Hello,

What is the best method to upgrade the control panel from 8.3.2 to 9.3.2?

I had some extra fields e.g. in CDR viewer and disappeared after 
9.3.2. It is in the file 
/var/www/html/opensips-cp/config/tools/system/cdrviewer/local.inc.php 
but not visible in the CDR viewer panel only in the detailed view for 
each call.


Also I don’t see this gear icon Bogdan mentioned in the blog: Each 
tool has its own Settings panel “accessible via the gear-icon in the 
right side of the tool header”.


Cheers,

Bela


___
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] OpenSIPS CP upgrade to 9.3.2

2022-05-17 Thread Bela H

Hello,

What is the best method to upgrade the control panel from 8.3.2 to 9.3.2?
I had some extra fields e.g. in CDR viewer and disappeared after 9.3.2. It is 
in the file 
/var/www/html/opensips-cp/config/tools/system/cdrviewer/local.inc.php but not 
visible in the CDR viewer panel only in the detailed view for each call.

Also I don’t see this gear icon Bogdan mentioned in the blog: Each tool has its 
own Settings panel “accessible via the gear-icon in the right side of the tool 
header”.

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


Re: [OpenSIPS-Users] Opensips CP Permissions "RELOAD on SERVER" produces error

2021-07-29 Thread Kevin Wormington
I would start with double checking that the permissions module is actually 
loaded on the server.  That is the most common reason to get a reload error.

Kevin
> On Jul 20, 2021, at 11:26 AM, Jeff Wilkie  wrote:
> 
> Opensips 3.1.2
> CP 8.3.1
> Debian 10
> 
> When adding permissions, I hit "Reload on Server" but I get the following 
> error:
> 
> Sending to json:127.0.0.1:/mi : MI command failed with code -32601 
> (Method not found)
> 
> I​
> I don't get this error on any other page but this one when attempting to 
> "Reload on Server".  Is there something specifically wrong with this page and 
> how it uses the MI command structure?  Again, All other pages that use the 
> "Reload on Server" give a 200ok and work as expected.
> 
> Thanks,
> 
> Jeff
> ___
> 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] Opensips CP Permissions "RELOAD on SERVER" produces error

2021-07-29 Thread Jeff Wilkie
Opensips 3.1.2
CP 8.3.1
Debian 10

When adding permissions, I hit "Reload on Server" but I get the following error:

Sending to json:127.0.0.1:/mi : MI command failed with code -32601 (Method 
not found)

I​
I don't get this error on any other page but this one when attempting to 
"Reload on Server".  Is there something specifically wrong with this page and 
how it uses the MI command structure?  Again, All other pages that use the 
"Reload on Server" give a 200ok and work as expected.

Thanks,

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


Re: [OpenSIPS-Users] Opensips CP Permissions "RELOAD on SERVER" produces error

2021-07-22 Thread Jeff Wilkie
You are correct.  My error.  It wasn't loaded.

Thanks
Jeff


On Thu, Jul 22, 2021 at 2:57 AM Bogdan-Andrei Iancu 
wrote:

> Hi Jeff,
>
> Are you sure the OpenSIPS (your CP is connected to ) has the permissions
> module loaded ?
>
> Regards,
>
> Bogdan-Andrei Iancu
>
> OpenSIPS Founder and Developer
>   https://www.opensips-solutions.com
> OpenSIPS Bootcamp 2021 online
>   https://opensips.org/training/OpenSIPS_eBootcamp_2021/
>
> On 7/21/21 4:17 PM, Jeff Wilkie wrote:
>
> Opensips 3.1.2
> CP 8.3.1
> Debian 10
>
> When adding permissions, I hit "Reload on Server" but I get the
> following error:
>
> Sending to *json:127.0.0.1:/mi * : MI
> command failed with code -32601 (Method not found)
>
> I
> I don't get this error on any other page but this one when attempting to
> "Reload on Server".  Is there something specifically wrong with this page
> and how it uses the MI command structure?  Again, All other pages that use
> the "Reload on Server" give a 200ok and work as expected.
>
> Thanks,
>
> Jeff
>
> ___
> 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] Opensips CP Permissions "RELOAD on SERVER" produces error

2021-07-22 Thread Bogdan-Andrei Iancu

Hi Jeff,

Are you sure the OpenSIPS (your CP is connected to ) has the permissions 
module loaded ?


Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  https://www.opensips-solutions.com
OpenSIPS Bootcamp 2021 online
  https://opensips.org/training/OpenSIPS_eBootcamp_2021/

On 7/21/21 4:17 PM, Jeff Wilkie wrote:

Opensips 3.1.2
CP 8.3.1
Debian 10

When adding permissions, I hit "Reload on Server" but I get the 
following error:


Sending to*json:127.0.0.1:/mi *:MI 
command failed with code -32601 (Method not found)


I
I don't get this error on any other page but this one when 
attempting to "Reload on Server".  Is there something specifically 
wrong with this page and how it uses the MI command structure?  Again, 
All other pages that use the "Reload on Server" give a 200ok and work 
as expected.


Thanks,

Jeff

___
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] Opensips CP Permissions "RELOAD on SERVER" produces error

2021-07-21 Thread Jeff Wilkie
Opensips 3.1.2
CP 8.3.1
Debian 10

When adding permissions, I hit "Reload on Server" but I get the
following error:

Sending to *json:127.0.0.1:/mi * : MI command
failed with code -32601 (Method not found)

I
I don't get this error on any other page but this one when attempting to
"Reload on Server".  Is there something specifically wrong with this page
and how it uses the MI command structure?  Again, All other pages that use
the "Reload on Server" give a 200ok and work as expected.

Thanks,

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


Re: [OpenSIPS-Users] OpenSIPs & CP - Documentation (Dynamic Routing, DialPlans, CP)

2021-03-12 Thread Schneur Rosenberg
Why don't you get Bogdans book? It's called Building telephony systems with
OpenSIPs second edition, it's a little old but it's a good start.

On Fri, Mar 12, 2021, 08:55 Rick McGill - ₪  wrote:

> Dear OpenSIPs Community,
>
> I'm very new to OpenSIPS and have a new fresh install and have started to
> customize it.
> So if my question seems so very basic this is why.
>
> I have the following:
> Debian 1.7 (Buster)
> OpenSIPs 3.1
> OpenSIPs Control Panel
> RTPproxy
>
> I have a couple of uses setup and can call with softphone from User to user
> on OpenSIPS.
> I have an FreePBX/Asterisk SIP Trunk setup to OpenSIPS.   With outbound
> routes and all configured and working properly.
> I also have on OpenSIPS a Route/Gateway or Trunk from OpenSIPs to CommPeak
> For Outbound calls.
>
> The issue I'm having is learning or finding documentation on how exactly to
> setup Dialplan, Dynamic Routes, Permissions and such so that I can get a
> call from Ext on Asterisk routed to OpenSIPS then out to CommPeak for an
> outbound International call.
>
> Currently when I try to make this type of call OpenSIPS says for example
> 662...@sip.netrovoip.comuserloc does not exists and hangs up.
> Sip.netrovoip.com is my OpenSIPs server
> So apparently with all my efforts my Dialplan, Permissions, and Dynamic
> Routes is not working no matter what changes I keep trying in them.
>
> FYI I have not yet edited or customized the file
> /var/www/opensips-cp/config/tools/system/dialplan/local.inc.php
>
> I cannot find out what code and customization I should do for attrib and
> what I can use standard in OpenSIPS-CP
>
> $config->attrs_cb=array(
> <-->// name , description
> <-->"a" => "Descr a",
> <-->"b" => "Descr b",
> <-->"c" => "Descr c",
>
> So My question is:
> Where can I find some comprehensive detailed documentation (if it exists)
> so
> I can learn more about the following?:
> Dialplans
> Dynamic Routes
> And whatever else I need to learn to get this kind of basic Dynamic Routing
> working?
> I have gone thru the OpenSIPS-CP documentation and the OpenSIPs.org too but
> there it seems a bit basic or outdated.
>
> Also I do have my Regular Expressions Quick Reference v1.2 but no matter
> what I program in CP it does not seem to work.
> I think I'm missing some very basic but major bit of information on how to
> get this simple Asterisk -> OpenSIPS -> CommPeak outbound call basic setup
> configured / working.
>
> Again sorry if all this sound like such a basic knowledge set of questions.
>
>
> 
> ---
> Rick McGill – CEO
> r...@netrovoip.com | r...@netropolitanworks.com
> Thailand: +66-2105-4262  x1001  |   USA: +1-737-237-2030   |Mobile:
> +66-85557-3000
> Support:: +66-97047-2000  |  SKYPE & LINE ID:  NetroVOIP  |
> supp...@netrovoip.com
>   ₪  www.NetroVOIP.com  Telecommunications / Video Consulting & Solutions
> Provider
>
> 
> ---
>
>
>
> ___
> 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] OpenSIPs & CP - Documentation (Dynamic Routing, DialPlans, CP)

2021-03-11 Thread Rick McGill - ₪
Dear OpenSIPs Community,

I'm very new to OpenSIPS and have a new fresh install and have started to
customize it.
So if my question seems so very basic this is why.

I have the following:
Debian 1.7 (Buster)
OpenSIPs 3.1
OpenSIPs Control Panel
RTPproxy

I have a couple of uses setup and can call with softphone from User to user
on OpenSIPS.
I have an FreePBX/Asterisk SIP Trunk setup to OpenSIPS.   With outbound
routes and all configured and working properly.  
I also have on OpenSIPS a Route/Gateway or Trunk from OpenSIPs to CommPeak
For Outbound calls.

The issue I'm having is learning or finding documentation on how exactly to
setup Dialplan, Dynamic Routes, Permissions and such so that I can get a
call from Ext on Asterisk routed to OpenSIPS then out to CommPeak for an
outbound International call.

Currently when I try to make this type of call OpenSIPS says for example
662...@sip.netrovoip.comuserloc does not exists and hangs up.
Sip.netrovoip.com is my OpenSIPs server
So apparently with all my efforts my Dialplan, Permissions, and Dynamic
Routes is not working no matter what changes I keep trying in them.

FYI I have not yet edited or customized the file
/var/www/opensips-cp/config/tools/system/dialplan/local.inc.php

I cannot find out what code and customization I should do for attrib and
what I can use standard in OpenSIPS-CP

$config->attrs_cb=array(
<-->// name , description
<-->"a" => "Descr a",
<-->"b" => "Descr b",
<-->"c" => "Descr c",

So My question is:
Where can I find some comprehensive detailed documentation (if it exists) so
I can learn more about the following?:
Dialplans
Dynamic Routes
And whatever else I need to learn to get this kind of basic Dynamic Routing
working?
I have gone thru the OpenSIPS-CP documentation and the OpenSIPs.org too but
there it seems a bit basic or outdated.

Also I do have my Regular Expressions Quick Reference v1.2 but no matter
what I program in CP it does not seem to work.
I think I'm missing some very basic but major bit of information on how to
get this simple Asterisk -> OpenSIPS -> CommPeak outbound call basic setup
configured / working.

Again sorry if all this sound like such a basic knowledge set of questions.


---
Rick McGill – CEO
r...@netrovoip.com | r...@netropolitanworks.com 
Thailand: +66-2105-4262  x1001  |   USA: +1-737-237-2030   |Mobile:
+66-85557-3000
Support:: +66-97047-2000  |  SKYPE & LINE ID:  NetroVOIP  |
supp...@netrovoip.com
  ₪  www.NetroVOIP.com  Telecommunications / Video Consulting & Solutions
Provider

---   



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


Re: [OpenSIPS-Users] OpenSIPS-CP errors

2021-01-13 Thread bobsy via Users
Okay m4 dependency was missing.

> On 14 Jan 2021, at 1:07 pm, bobsy  wrote:
> 
> While I’m at it when I try to create a script using osipsconfig I get this :
> 
> 
>   Config generated : 
> /etc/opensips/opensips_loadbalancer_2021-1-14_13:6:
> 26.cfg = FAILED (). Press any key to continue
> 
> 
>> On 14 Jan 2021, at 12:55 pm, bobsy via Users > > wrote:
>> 
>> Hi,
>> 
>> I’m using opensips 3.1.1 from deb repo
>> And opensips-cp 8.3.1
>> With nginx and php7.3-fpm
>> Postgresql for db
>> 
>> And I’ve configured mi_http for json…
>> 
>> I’m receiving a few errors like this:
>> 
>> Failed to issue total count query, error message : Array ( [0] => 42P01 [1] 
>> => 7 [2] => ERROR: relation "cc_agents" does not exist LINE 2: from 
>> cc_agents ^ ) [select count(id) from cc_agents]
>> 
>> On the call centre page and on the dialog page
>> 
>> 
>> 2021/01/14 12:50:29 [error] 3849#3849: *289 FastCGI sent in stderr: "PHP 
>> message: PHP Warning:  Creating default object from empty value in 
>> /var/www/opensips-cp/config/tools/system/dialog/local.inc.php on line 27PHP 
>> message: PHP Notice:  Array to string conversion in 
>> /var/www/opensips-cp/web/tools/system/dialog/dialog.php on line 112" while 
>> reading response header from upstream, client: 119.18.18.117, server: 
>> opensips.vale.ski, request: "GET /tools/system/dialog/dialog.php HTTP/1.1", 
>> upstream: "fastcgi://unix:/run/php/php7.3-fpm.sock: 
>> ", host: "opensips.vale.ski", 
>> referrer: "http://opensips.vale.ski/menu.php 
>> ”
>> 
>> I get this error on that page:
>> 
>> MI command failed with code -32601 (Method not found)
>> 
>> Any insight would be greatly appreciated.
>> 
>> 
>> ___
>> 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] OpenSIPS-CP errors

2021-01-13 Thread bobsy via Users
While I’m at it when I try to create a script using osipsconfig I get this :


  Config generated : /etc/opensips/opensips_loadbalancer_2021-1-14_13:6:
26.cfg = FAILED (). Press any key to continue


> On 14 Jan 2021, at 12:55 pm, bobsy via Users  wrote:
> 
> Hi,
> 
> I’m using opensips 3.1.1 from deb repo
> And opensips-cp 8.3.1
> With nginx and php7.3-fpm
> Postgresql for db
> 
> And I’ve configured mi_http for json…
> 
> I’m receiving a few errors like this:
> 
> Failed to issue total count query, error message : Array ( [0] => 42P01 [1] 
> => 7 [2] => ERROR: relation "cc_agents" does not exist LINE 2: from cc_agents 
> ^ ) [select count(id) from cc_agents]
> 
> On the call centre page and on the dialog page
> 
> 
> 2021/01/14 12:50:29 [error] 3849#3849: *289 FastCGI sent in stderr: "PHP 
> message: PHP Warning:  Creating default object from empty value in 
> /var/www/opensips-cp/config/tools/system/dialog/local.inc.php on line 27PHP 
> message: PHP Notice:  Array to string conversion in 
> /var/www/opensips-cp/web/tools/system/dialog/dialog.php on line 112" while 
> reading response header from upstream, client: 119.18.18.117, server: 
> opensips.vale.ski, request: "GET /tools/system/dialog/dialog.php HTTP/1.1", 
> upstream: "fastcgi://unix:/run/php/php7.3-fpm.sock: 
> ", host: "opensips.vale.ski", 
> referrer: "http://opensips.vale.ski/menu.php 
> ”
> 
> I get this error on that page:
> 
> MI command failed with code -32601 (Method not found)
> 
> Any insight would be greatly appreciated.
> 
> 
> ___
> 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] OpenSIPS-CP errors

2021-01-13 Thread bobsy via Users
I also get this in OpenSIPS

 DBG:httpd:answer_to_connection: START *** cls=(nil), 
connection=0x55d766a1b220, url=/mi, method=POST, versio=HTTP/1.1, 
upload_data[48]=0x55d766a229cc, *con_cls=0x7f53f1f2d4d0
Jan 14 12:57:26 [27593] DBG:httpd:answer_to_connection: NOT a regular POST :o)
Jan 14 12:57:26 [27593] DBG:httpd:getConnectionHeader: key=[Host] 
value=[127.0.0.1:]
Jan 14 12:57:26 [27593] DBG:httpd:getConnectionHeader: Accept=*/*
Jan 14 12:57:26 [27593] DBG:httpd:getConnectionHeader: 
Content-Type=application/json
Jan 14 12:57:26 [27593] DBG:httpd:getConnectionHeader: Content-Length=48
Jan 14 12:57:26 [27593] DBG:httpd:answer_to_connection: got ContentType [3] 
with len [48]: {"jsonrpc":"2.0","id":1,"method":"dr_gw_status"}\nJan 14 
12:57:26 [27593] DBG:httpd:answer_to_connection: START *** cls=(nil), 
connection=0x55d766a1b220, url=/mi, method=POST, versio=HTTP/1.1, 
upload_data[0]=(nil), *con_cls=0x7f53f1f2d4d0
Jan 14 12:57:26 [27593] DBG:httpd:answer_to_connection: normalised_url=[]
Jan 14 12:57:26 [27593] DBG:mi_http:mi_json_answer_to_connection: START *** 
cls=(nil), connection=0x55d766a1b220, url=, method=POST, version=HTTP/1.1, 
upload_data[48]=0x7f53f1f2b299, *con_cls=0x7f53f1f2d468
Jan 14 12:57:26 [27593] DBG:mi_http:mi_http_run_mi_cmd: got command=dr_gw_status
Jan 14 12:57:26 [27593] ERROR:core:handle_mi_request: Command not found

> On 14 Jan 2021, at 12:55 pm, bobsy  wrote:
> 
> Hi,
> 
> I’m using opensips 3.1.1 from deb repo
> And opensips-cp 8.3.1
> With nginx and php7.3-fpm
> Postgresql for db
> 
> And I’ve configured mi_http for json…
> 
> I’m receiving a few errors like this:
> 
> Failed to issue total count query, error message : Array ( [0] => 42P01 [1] 
> => 7 [2] => ERROR: relation "cc_agents" does not exist LINE 2: from cc_agents 
> ^ ) [select count(id) from cc_agents]
> 
> On the call centre page and on the dialog page
> 
> 
> 2021/01/14 12:50:29 [error] 3849#3849: *289 FastCGI sent in stderr: "PHP 
> message: PHP Warning:  Creating default object from empty value in 
> /var/www/opensips-cp/config/tools/system/dialog/local.inc.php on line 27PHP 
> message: PHP Notice:  Array to string conversion in 
> /var/www/opensips-cp/web/tools/system/dialog/dialog.php on line 112" while 
> reading response header from upstream, client: 119.18.18.117, server: 
> opensips.vale.ski, request: "GET /tools/system/dialog/dialog.php HTTP/1.1", 
> upstream: "fastcgi://unix:/run/php/php7.3-fpm.sock: 
> ", host: "opensips.vale.ski", 
> referrer: "http://opensips.vale.ski/menu.php 
> ”
> 
> I get this error on that page:
> 
> MI command failed with code -32601 (Method not found)
> 
> Any insight would be greatly appreciated.
> 
> 

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


[OpenSIPS-Users] OpenSIPS-CP errors

2021-01-13 Thread bobsy via Users
Hi,

I’m using opensips 3.1.1 from deb repo
And opensips-cp 8.3.1
With nginx and php7.3-fpm
Postgresql for db

And I’ve configured mi_http for json…

I’m receiving a few errors like this:

Failed to issue total count query, error message : Array ( [0] => 42P01 [1] => 
7 [2] => ERROR: relation "cc_agents" does not exist LINE 2: from cc_agents ^ ) 
[select count(id) from cc_agents]

On the call centre page and on the dialog page


2021/01/14 12:50:29 [error] 3849#3849: *289 FastCGI sent in stderr: "PHP 
message: PHP Warning:  Creating default object from empty value in 
/var/www/opensips-cp/config/tools/system/dialog/local.inc.php on line 27PHP 
message: PHP Notice:  Array to string conversion in 
/var/www/opensips-cp/web/tools/system/dialog/dialog.php on line 112" while 
reading response header from upstream, client: 119.18.18.117, server: 
opensips.vale.ski, request: "GET /tools/system/dialog/dialog.php HTTP/1.1", 
upstream: "fastcgi://unix:/run/php/php7.3-fpm.sock:", host: 
"opensips.vale.ski", referrer: "http://opensips.vale.ski/menu.php”

I get this error on that page:

MI command failed with code -32601 (Method not found)

Any insight would be greatly appreciated.


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


Re: [OpenSIPS-Users] Opensips-cp 8.3.0 / Call to undefined function json_encode()

2020-12-06 Thread Maciej Bylica
Hello

Could somebody please point me to where I should look for the clue ?

Thanks
Maciej

pon., 30 lis 2020 o 15:51 Maciej Bylica  napisał(a):

> Hello
>
>
> I am struggling with OpenSIPS-CP 8.3.0 (.zip source) configuration on
> Centos 8.2
>
> Opensips 3.1 uses port 8000 to interop with opensips-cp, but there are no
> tcpdump packets on that port.
>
> It turned out that i am getting following errors on php level:
>
>
> [30-Nov-2020 14:13:54 UTC] PHP Warning:  Creating default object from
> empty value in
> /var/www/html/opensips-cp/config/tools/system/drouting/local.inc.php on
> line 24
>
> [30-Nov-2020 14:13:54 UTC] PHP Stack trace:
>
> [30-Nov-2020 14:13:54 UTC] PHP   1. {main}()
> /var/www/html/opensips-cp/web/tools/system/drouting/apply_changes.php:0
>
> [30-Nov-2020 14:13:54 UTC] PHP   2. require()
> /var/www/html/opensips-cp/web/tools/system/drouting/apply_changes.php:25
>
> [30-Nov-2020 14:13:54 UTC] PHP Error:  Call to undefined function
> json_encode() in /var/www/html/opensips-cp/web/common/mi_comm.php on line 31
>
> [30-Nov-2020 14:13:54 UTC] PHP Stack trace:
>
> [30-Nov-2020 14:13:54 UTC] PHP   1. {main}()
> /var/www/html/opensips-cp/web/tools/system/drouting/apply_changes.php:0
>
> [30-Nov-2020 14:13:54 UTC] PHP   2. mi_command($command = 'dr_reload',
> $params_array = NULL, $mi_url = 'json:127.0.0.1:8000/JSON', $errors =
> NULL)
> /var/www/html/opensips-cp/web/tools/system/drouting/apply_changes.php:43
>
> [30-Nov-2020 14:13:54 UTC] PHP   3. write2json($command = 'dr_reload',
> $params_array = NULL, $json_url = '127.0.0.1:8000/JSON', $errors = NULL)
> /var/www/html/opensips-cp/web/common/mi_comm.php:87
>
> [30-Nov-2020 14:13:54 UTC] PHP Fatal error:  Uncaught Error: Call to
> undefined function json_encode() in
> /var/www/html/opensips-cp/web/common/mi_comm.php:31
>
> Stack trace:
>
> #0 /var/www/html/opensips-cp/web/common/mi_comm.php(87):
> write2json('dr_reload', NULL, '127.0.0.1:8000/...', NULL)
>
> #1
> /var/www/html/opensips-cp/web/tools/system/drouting/apply_changes.php(43):
> mi_command('dr_reload', NULL, 'json:127.0.0.1:...', NULL)
>
> #2 {main}
>
>   thrown in /var/www/html/opensips-cp/web/common/mi_comm.php on line 31
>
>
> I followed installation document located at
> http://controlpanel.opensips.org/documentation.php.
>
>
> Here is my boxes.global.inc.php config:
>
> $boxes[$box_id]['mi']['conn']="json:127.0.0.1:8000/JSON";
>
> but i also tried with
>
> $boxes[$box_id]['mi']['conn']="json:127.0.0.1:8000/mi";
>
> with the same effect.
>
>
> Opensips (compiled from the sources) has got following modules up and
> running:
>
>
> HTTP
>
> loadmodule "httpd.so"
>
> modparam("httpd", "port", 8000)
>
>
> ###JSON
>
> loadmodule "json.so"
>
>
> ###MI_HTTP
>
> loadmodule "mi_http.so"
>
>
> Could you please point me where the problem might be located ?
>
>
> Thanks
>
> Maciej
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] Opensips-cp 8.3.0 / Call to undefined function json_encode()

2020-11-30 Thread Maciej Bylica
Hello


I am struggling with OpenSIPS-CP 8.3.0 (.zip source) configuration on
Centos 8.2

Opensips 3.1 uses port 8000 to interop with opensips-cp, but there are no
tcpdump packets on that port.

It turned out that i am getting following errors on php level:


[30-Nov-2020 14:13:54 UTC] PHP Warning:  Creating default object from empty
value in
/var/www/html/opensips-cp/config/tools/system/drouting/local.inc.php on
line 24

[30-Nov-2020 14:13:54 UTC] PHP Stack trace:

[30-Nov-2020 14:13:54 UTC] PHP   1. {main}()
/var/www/html/opensips-cp/web/tools/system/drouting/apply_changes.php:0

[30-Nov-2020 14:13:54 UTC] PHP   2. require()
/var/www/html/opensips-cp/web/tools/system/drouting/apply_changes.php:25

[30-Nov-2020 14:13:54 UTC] PHP Error:  Call to undefined function
json_encode() in /var/www/html/opensips-cp/web/common/mi_comm.php on line 31

[30-Nov-2020 14:13:54 UTC] PHP Stack trace:

[30-Nov-2020 14:13:54 UTC] PHP   1. {main}()
/var/www/html/opensips-cp/web/tools/system/drouting/apply_changes.php:0

[30-Nov-2020 14:13:54 UTC] PHP   2. mi_command($command = 'dr_reload',
$params_array = NULL, $mi_url = 'json:127.0.0.1:8000/JSON', $errors = NULL)
/var/www/html/opensips-cp/web/tools/system/drouting/apply_changes.php:43

[30-Nov-2020 14:13:54 UTC] PHP   3. write2json($command = 'dr_reload',
$params_array = NULL, $json_url = '127.0.0.1:8000/JSON', $errors = NULL)
/var/www/html/opensips-cp/web/common/mi_comm.php:87

[30-Nov-2020 14:13:54 UTC] PHP Fatal error:  Uncaught Error: Call to
undefined function json_encode() in
/var/www/html/opensips-cp/web/common/mi_comm.php:31

Stack trace:

#0 /var/www/html/opensips-cp/web/common/mi_comm.php(87):
write2json('dr_reload', NULL, '127.0.0.1:8000/...', NULL)

#1
/var/www/html/opensips-cp/web/tools/system/drouting/apply_changes.php(43):
mi_command('dr_reload', NULL, 'json:127.0.0.1:...', NULL)

#2 {main}

  thrown in /var/www/html/opensips-cp/web/common/mi_comm.php on line 31


I followed installation document located at
http://controlpanel.opensips.org/documentation.php.


Here is my boxes.global.inc.php config:

$boxes[$box_id]['mi']['conn']="json:127.0.0.1:8000/JSON";

but i also tried with

$boxes[$box_id]['mi']['conn']="json:127.0.0.1:8000/mi";

with the same effect.


Opensips (compiled from the sources) has got following modules up and
running:


HTTP

loadmodule "httpd.so"

modparam("httpd", "port", 8000)


###JSON

loadmodule "json.so"


###MI_HTTP

loadmodule "mi_http.so"


Could you please point me where the problem might be located ?


Thanks

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


Re: [OpenSIPS-Users] Opensips-cp 8.3.0 HTTP/1.1 400 Bad Request..

2020-11-03 Thread mrsanvicente
Hi Ovidiu,

Thanks for taking the time for explaining.  I am sure some of us can take 
advantage of
It!

Mario San Vicente
Best regards

> El 3 nov 2020, a la(s) 22:51, Ovidiu Sas  escribió:
> 
> Hello Mario,
> 
> If you have CP working fine, you don't really need mi_html.
> If you want to have it as an alternative, load the module and set a
> new root path:
> modparam("mi_html", "root", "opensips_mi")
> Then you should be able to access the embedded management interface
> via http://[OPENSIPS_HTTPD_IP]:[OPENSIPS_HTTPD_PORT]/opensips_mi
> 
> This interface has nothing to do with CP. It's an alternative to
> opensipsctl, opensips-cli or CP (for dispatching management commands
> to opensips). The module was written to provide easy access to mi
> commands using a web browser (using the embedded web server from
> opensips - no need to use a dedicated web server).
> 
> The old name of the module was mi_http and was renamed to mi_html.
> The old mi_json was renamed to mi_http.
> No more mi_json, welcome mi_html and mi_http was "rebranded":
> mi_json [v<=2.4.x] -> mi_http [v>=3.0.x]
> mi_http [v<=2.4.x] -> mi_html [v>=3.0.x]
> This created some confusion when migrating from pre 2.4.x to post
> 3.0.x opensips versions.
> Clear as mud? :)
> 
> Hope this helps,
> Ovidiu
> 
>> On Tue, Nov 3, 2020 at 4:59 PM Mario San Vicente  
>> wrote:
>> 
>> Hello Răzvan /  Ovidiu,
>> 
>> After disabling mi_html, my CP is working fine, i will be enabling more 
>> modules on it.   Thanks for your help!
>> 
>> Ovidiu,   It would be good to have both portals running,but  i am not 
>> getting to work the following comment:
>> "If you want to keep mi_html, then set a different root path: 
>> #modparam("mi_html", "root", "osips_mi")  ", any other hint?
>> 
>> Thank you!
>> 
>> 
>> 
>> 
>> 
>>> On Tue, Nov 3, 2020 at 8:22 AM Ovidiu Sas  wrote:
>>> 
>>> Hello Mario,
>>> 
>>> It seems that you have both mi_http and mi_html modules loaded.
>>> By default, both modules have the root path set to mi and one of the
>>> modules is stealing the root path from the other.
>>> In your case, when you hit http://x.x.x.x:/mi , you are hitting a
>>> standalone management interface that is not part of opensips-cp. It's
>>> an alternative way to run mi commands through a web interface.
>>> 
>>> If you want to have only opensips-cp, then umload mi_html.
>>> If you want to keep mi_html, then set a different root path:
>>> #modparam("mi_html", "root", "osips_mi")
>>> 
>>> Hope this helps,
>>> Ovidiu
>>> 
>>> On Sat, Oct 31, 2020 at 1:58 PM Mario San Vicente
>>>  wrote:
 
 Hello  Răzvan ,
 I was wrong with my diagnosis, cause i stopped receiving the http / 400 
 error.  But when trying to monitor calls i see that the portal is not 
 reflecting the real info, i tested dialogs and rtpproxy.
 I do see the json reply on a trace, but it is not updated on the portal:
 
 T 127.0.0.1:47632 -> 127.0.0.1: [AP] #137
  POST /mi HTTP/1.1..Host: 127.0.0.1:..Accept: */*..Content-Type: 
 application/json..Content-Length: 
 49{"jsonrpc":"2.0","id":1,"method":"rtpproxy_
  show"}"id..._";i#4
 #
 T 127.0.0.1: -> 127.0.0.1:47632 [A] #138
  ..._..k#)...
 #
 T 127.0.0.1: -> 127.0.0.1:47632 [AP] #139
  HTTP/1.1 200 OK..Content-Length: 136..Content-Type: 
 application/json..Date: Sat, 31 Oct 2020 17:34:22 
 GMT{"jsonrpc":"2.0","result":[{"Set":0,"Nodes
  
 ":[{"url":"udp:localhost:2123","index":0,"disabled":0,"weight":1,"recheck_ticks":0}]}],"id":1}.._..k#4
 
 T 127.0.0.1:47644 -> 127.0.0.1: [AP] #204
  POST /mi HTTP/1.1..Host: 127.0.0.1:..Accept: */*..Content-Type: 
 application/json..Content-Length: 
 78{"jsonrpc":"2.0","id":1,"method":"dlg_list"
  ,"params":{"index":0,"counter":20}}._J.
 #
 T 127.0.0.1: -> 127.0.0.1:47644 [A] #205
  @.._
 #
 T 127.0.0.1: -> 127.0.0.1:47644 [AP] #206
  HTTP/1.1 200 OK..Content-Length: 58..Content-Type: 
 application/json..Date: Sat, 31 Oct 2020 17:42:14 
 GMT{"jsonrpc":"2.0","result":{"count":0,"Dialo
  gs":[]},"id":1}._4...4.
 
 Aside notes:
 When enabling this line #modparam("mi_http", "root", "opensips_mi") , i 
 can see the mi portal.  http://x.x.x.x:/mi , which has lots of 
 aditional info,  but i have to disable it to get the json response and 
 just get an http response pointing to the mi interface:
 T 127.0.0.1: -> 127.0.0.1:47654 [AP] #256
  HTTP/1.1 200 OK..Content-Length: 1886..Content-Type: text/html..Date: 
 Sat, 31 Oct 2020 17:55:45 GMTOpenSIPS Management 
 Interface
  >>> type="text/css">body{margin:0;}body,p,div,td,th,tr,form,ol,ul,li,input,textarea,select,a{font-family:"lucida
  grande",verdana,geneva,aria
  
 

Re: [OpenSIPS-Users] Opensips-cp 8.3.0 HTTP/1.1 400 Bad Request..

2020-11-03 Thread Ovidiu Sas
Hello Mario,

If you have CP working fine, you don't really need mi_html.
If you want to have it as an alternative, load the module and set a
new root path:
modparam("mi_html", "root", "opensips_mi")
Then you should be able to access the embedded management interface
via http://[OPENSIPS_HTTPD_IP]:[OPENSIPS_HTTPD_PORT]/opensips_mi

This interface has nothing to do with CP. It's an alternative to
opensipsctl, opensips-cli or CP (for dispatching management commands
to opensips). The module was written to provide easy access to mi
commands using a web browser (using the embedded web server from
opensips - no need to use a dedicated web server).

The old name of the module was mi_http and was renamed to mi_html.
The old mi_json was renamed to mi_http.
No more mi_json, welcome mi_html and mi_http was "rebranded":
mi_json [v<=2.4.x] -> mi_http [v>=3.0.x]
mi_http [v<=2.4.x] -> mi_html [v>=3.0.x]
This created some confusion when migrating from pre 2.4.x to post
3.0.x opensips versions.
Clear as mud? :)

Hope this helps,
Ovidiu

On Tue, Nov 3, 2020 at 4:59 PM Mario San Vicente  wrote:
>
> Hello Răzvan /  Ovidiu,
>
> After disabling mi_html, my CP is working fine, i will be enabling more 
> modules on it.   Thanks for your help!
>
> Ovidiu,   It would be good to have both portals running,but  i am not getting 
> to work the following comment:
> "If you want to keep mi_html, then set a different root path: 
> #modparam("mi_html", "root", "osips_mi")  ", any other hint?
>
> Thank you!
>
>
>
>
>
> On Tue, Nov 3, 2020 at 8:22 AM Ovidiu Sas  wrote:
>>
>> Hello Mario,
>>
>> It seems that you have both mi_http and mi_html modules loaded.
>> By default, both modules have the root path set to mi and one of the
>> modules is stealing the root path from the other.
>> In your case, when you hit http://x.x.x.x:/mi , you are hitting a
>> standalone management interface that is not part of opensips-cp. It's
>> an alternative way to run mi commands through a web interface.
>>
>> If you want to have only opensips-cp, then umload mi_html.
>> If you want to keep mi_html, then set a different root path:
>> #modparam("mi_html", "root", "osips_mi")
>>
>> Hope this helps,
>> Ovidiu
>>
>> On Sat, Oct 31, 2020 at 1:58 PM Mario San Vicente
>>  wrote:
>> >
>> > Hello  Răzvan ,
>> > I was wrong with my diagnosis, cause i stopped receiving the http / 400 
>> > error.  But when trying to monitor calls i see that the portal is not 
>> > reflecting the real info, i tested dialogs and rtpproxy.
>> > I do see the json reply on a trace, but it is not updated on the portal:
>> >
>> > T 127.0.0.1:47632 -> 127.0.0.1: [AP] #137
>> >   POST /mi HTTP/1.1..Host: 127.0.0.1:..Accept: */*..Content-Type: 
>> > application/json..Content-Length: 
>> > 49{"jsonrpc":"2.0","id":1,"method":"rtpproxy_
>> >   show"}"id..._";i#4
>> > #
>> > T 127.0.0.1: -> 127.0.0.1:47632 [A] #138
>> >   ..._..k#)...
>> > #
>> > T 127.0.0.1: -> 127.0.0.1:47632 [AP] #139
>> >   HTTP/1.1 200 OK..Content-Length: 136..Content-Type: 
>> > application/json..Date: Sat, 31 Oct 2020 17:34:22 
>> > GMT{"jsonrpc":"2.0","result":[{"Set":0,"Nodes
>> >   
>> > ":[{"url":"udp:localhost:2123","index":0,"disabled":0,"weight":1,"recheck_ticks":0}]}],"id":1}.._..k#4
>> > 
>> > T 127.0.0.1:47644 -> 127.0.0.1: [AP] #204
>> >   POST /mi HTTP/1.1..Host: 127.0.0.1:..Accept: */*..Content-Type: 
>> > application/json..Content-Length: 
>> > 78{"jsonrpc":"2.0","id":1,"method":"dlg_list"
>> >   ,"params":{"index":0,"counter":20}}._J.
>> > #
>> > T 127.0.0.1: -> 127.0.0.1:47644 [A] #205
>> >   @.._
>> > #
>> > T 127.0.0.1: -> 127.0.0.1:47644 [AP] #206
>> >   HTTP/1.1 200 OK..Content-Length: 58..Content-Type: 
>> > application/json..Date: Sat, 31 Oct 2020 17:42:14 
>> > GMT{"jsonrpc":"2.0","result":{"count":0,"Dialo
>> >   gs":[]},"id":1}._4...4.
>> >
>> > Aside notes:
>> > When enabling this line #modparam("mi_http", "root", "opensips_mi") , i 
>> > can see the mi portal.  http://x.x.x.x:/mi , which has lots of 
>> > aditional info,  but i have to disable it to get the json response and 
>> > just get an http response pointing to the mi interface:
>> > T 127.0.0.1: -> 127.0.0.1:47654 [AP] #256
>> >   HTTP/1.1 200 OK..Content-Length: 1886..Content-Type: text/html..Date: 
>> > Sat, 31 Oct 2020 17:55:45 GMTOpenSIPS Management 
>> > Interface
>> >   > > type="text/css">body{margin:0;}body,p,div,td,th,tr,form,ol,ul,li,input,textarea,select,a{font-family:"lucida
>> >  grande",verdana,geneva,aria
>> >   
>> > l,helvetica,sans-serif;font-size:14px;}a:hover{text-decoration:none;}a{text-decoration:underline;}.foot{padding-top:40px;font-size:10px;color:#33;}
>> >   .foot 
>> > a{font-size:10px;color:#00;}table.center{margin-left:auto;margin-right:auto;}> >  http-equiv="Expires" content="0">> >   "Pragma" content="no-cache">> > href="https://opensips.org/favicon.png;>.> > 

Re: [OpenSIPS-Users] Opensips-cp 8.3.0 HTTP/1.1 400 Bad Request..

2020-11-03 Thread Mario San Vicente
Hello Răzvan /  Ovidiu,

After disabling mi_html, my CP is working fine, i will be enabling more
modules on it.   Thanks for your help!

Ovidiu,   It would be good to have both portals running,but  i am not
getting to work the following comment:
"If you want to keep mi_html, then set a different root
path: #modparam("mi_html", "root", "osips_mi")  ", any other hint?

Thank you!





On Tue, Nov 3, 2020 at 8:22 AM Ovidiu Sas  wrote:

> Hello Mario,
>
> It seems that you have both mi_http and mi_html modules loaded.
> By default, both modules have the root path set to mi and one of the
> modules is stealing the root path from the other.
> In your case, when you hit http://x.x.x.x:/mi , you are hitting a
> standalone management interface that is not part of opensips-cp. It's
> an alternative way to run mi commands through a web interface.
>
> If you want to have only opensips-cp, then umload mi_html.
> If you want to keep mi_html, then set a different root path:
> #modparam("mi_html", "root", "osips_mi")
>
> Hope this helps,
> Ovidiu
>
> On Sat, Oct 31, 2020 at 1:58 PM Mario San Vicente
>  wrote:
> >
> > Hello  Răzvan ,
> > I was wrong with my diagnosis, cause i stopped receiving the http / 400
> error.  But when trying to monitor calls i see that the portal is not
> reflecting the real info, i tested dialogs and rtpproxy.
> > I do see the json reply on a trace, but it is not updated on the portal:
> >
> > T 127.0.0.1:47632 -> 127.0.0.1: [AP] #137
> >   POST /mi HTTP/1.1..Host: 127.0.0.1:..Accept: */*..Content-Type:
> application/json..Content-Length:
> 49{"jsonrpc":"2.0","id":1,"method":"rtpproxy_
> >   show"}"id..._";i#4
> > #
> > T 127.0.0.1: -> 127.0.0.1:47632 [A] #138
> >   ..._..k#)...
> > #
> > T 127.0.0.1: -> 127.0.0.1:47632 [AP] #139
> >   HTTP/1.1 200 OK..Content-Length: 136..Content-Type:
> application/json..Date: Sat, 31 Oct 2020 17:34:22
> GMT{"jsonrpc":"2.0","result":[{"Set":0,"Nodes
> >
>  
> ":[{"url":"udp:localhost:2123","index":0,"disabled":0,"weight":1,"recheck_ticks":0}]}],"id":1}.._..k#4
> > 
> > T 127.0.0.1:47644 -> 127.0.0.1: [AP] #204
> >   POST /mi HTTP/1.1..Host: 127.0.0.1:..Accept: */*..Content-Type:
> application/json..Content-Length:
> 78{"jsonrpc":"2.0","id":1,"method":"dlg_list"
> >   ,"params":{"index":0,"counter":20}}._J.
> > #
> > T 127.0.0.1: -> 127.0.0.1:47644 [A] #205
> >   @.._
> > #
> > T 127.0.0.1: -> 127.0.0.1:47644 [AP] #206
> >   HTTP/1.1 200 OK..Content-Length: 58..Content-Type:
> application/json..Date: Sat, 31 Oct 2020 17:42:14
> GMT{"jsonrpc":"2.0","result":{"count":0,"Dialo
> >   gs":[]},"id":1}._4...4.
> >
> > Aside notes:
> > When enabling this line #modparam("mi_http", "root", "opensips_mi") , i
> can see the mi portal.  http://x.x.x.x:/mi , which has lots of
> aditional info,  but i have to disable it to get the json response and just
> get an http response pointing to the mi interface:
> > T 127.0.0.1: -> 127.0.0.1:47654 [AP] #256
> >   HTTP/1.1 200 OK..Content-Length: 1886..Content-Type: text/html..Date:
> Sat, 31 Oct 2020 17:55:45 GMTOpenSIPS Management
> Interface
> >type="text/css">body{margin:0;}body,p,div,td,th,tr,form,ol,ul,li,input,textarea,select,a{font-family:"lucida
> grande",verdana,geneva,aria
> >
>  
> l,helvetica,sans-serif;font-size:14px;}a:hover{text-decoration:none;}a{text-decoration:underline;}.foot{padding-top:40px;font-size:10px;color:#33;}
> >   .foot
> a{font-size:10px;color:#00;}table.center{margin-left:auto;margin-right:auto;} http-equiv="Expires" content="0"> >   "Pragma" content="no-cache">https://opensips.org/favicon.png;>. bgcolor="#ff" l
> >   ink="#00" text="#00" vlink="#00"> cellpadding="5" width="100%%" border="0"> colspan=2 valign
> >   ="top" align="left" bgcolor="#EFF7FF" width="100%%"> align="center">OpenSIPS MI HTML InterfaceOpenSIPS
> (3.1.0-dev (x86_6
> >   4/linux)) is running since Sat Oct 31 11:55:35
> 2020.. cellpadding="3" cellspacing="0"> >   >.statistics. href='/mi/core'>core. href='/mi/blacklists'>blacklists.httpd.tm. href='/mi/usrloc'>usrloc. href='/mi/dialog'>dialog.nathelper. href='/mi/rtpproxy'>rtpproxy. href='/mi/db_text'>db_text.drouti
> >   ng class="foot" style="margin:20px auto"> style='margin-left:5px;'>OpenSIPS web siteCopyright 
> 2011-2015 http://www.voipembedded.com/;>VoIP Embedded, Inc..
> All rights res
> >   erved!.._X.t.4
> >
> > Thank in advace.
> >
> >
> > On Fri, Oct 30, 2020 at 8:45 PM Mario San Vicente <
> mrsanvice...@gmail.com> wrote:
> >>
> >> Hello  Răzvan ,
> >>
> >> Thanks alot, that made the trick.
> >>
> >> I will check if something is not matching with the monit page cause
> that is not working ,  but that's another story.
> >>
> >> Best regards.
> >> Mario
> >>
> >>
> >>
> >>
> >>
> >> On Thu, Oct 29, 2020 at 3:49 AM Răzvan Crainea 
> wrote:
> >>>
> >>> As I see in your logs, OpenSIPS CP uses the 

Re: [OpenSIPS-Users] Opensips-cp 8.3.0 HTTP/1.1 400 Bad Request..

2020-11-03 Thread Ovidiu Sas
Hello Mario,

It seems that you have both mi_http and mi_html modules loaded.
By default, both modules have the root path set to mi and one of the
modules is stealing the root path from the other.
In your case, when you hit http://x.x.x.x:/mi , you are hitting a
standalone management interface that is not part of opensips-cp. It's
an alternative way to run mi commands through a web interface.

If you want to have only opensips-cp, then umload mi_html.
If you want to keep mi_html, then set a different root path:
#modparam("mi_html", "root", "osips_mi")

Hope this helps,
Ovidiu

On Sat, Oct 31, 2020 at 1:58 PM Mario San Vicente
 wrote:
>
> Hello  Răzvan ,
> I was wrong with my diagnosis, cause i stopped receiving the http / 400 
> error.  But when trying to monitor calls i see that the portal is not 
> reflecting the real info, i tested dialogs and rtpproxy.
> I do see the json reply on a trace, but it is not updated on the portal:
>
> T 127.0.0.1:47632 -> 127.0.0.1: [AP] #137
>   POST /mi HTTP/1.1..Host: 127.0.0.1:..Accept: */*..Content-Type: 
> application/json..Content-Length: 
> 49{"jsonrpc":"2.0","id":1,"method":"rtpproxy_
>   show"}"id..._";i#4
> #
> T 127.0.0.1: -> 127.0.0.1:47632 [A] #138
>   ..._..k#)...
> #
> T 127.0.0.1: -> 127.0.0.1:47632 [AP] #139
>   HTTP/1.1 200 OK..Content-Length: 136..Content-Type: application/json..Date: 
> Sat, 31 Oct 2020 17:34:22 GMT{"jsonrpc":"2.0","result":[{"Set":0,"Nodes
>   
> ":[{"url":"udp:localhost:2123","index":0,"disabled":0,"weight":1,"recheck_ticks":0}]}],"id":1}.._..k#4
> 
> T 127.0.0.1:47644 -> 127.0.0.1: [AP] #204
>   POST /mi HTTP/1.1..Host: 127.0.0.1:..Accept: */*..Content-Type: 
> application/json..Content-Length: 
> 78{"jsonrpc":"2.0","id":1,"method":"dlg_list"
>   ,"params":{"index":0,"counter":20}}._J.
> #
> T 127.0.0.1: -> 127.0.0.1:47644 [A] #205
>   @.._
> #
> T 127.0.0.1: -> 127.0.0.1:47644 [AP] #206
>   HTTP/1.1 200 OK..Content-Length: 58..Content-Type: application/json..Date: 
> Sat, 31 Oct 2020 17:42:14 GMT{"jsonrpc":"2.0","result":{"count":0,"Dialo
>   gs":[]},"id":1}._4...4.
>
> Aside notes:
> When enabling this line #modparam("mi_http", "root", "opensips_mi") , i can 
> see the mi portal.  http://x.x.x.x:/mi , which has lots of aditional 
> info,  but i have to disable it to get the json response and just get an http 
> response pointing to the mi interface:
> T 127.0.0.1: -> 127.0.0.1:47654 [AP] #256
>   HTTP/1.1 200 OK..Content-Length: 1886..Content-Type: text/html..Date: Sat, 
> 31 Oct 2020 17:55:45 GMTOpenSIPS Management Interface
>type="text/css">body{margin:0;}body,p,div,td,th,tr,form,ol,ul,li,input,textarea,select,a{font-family:"lucida
>  grande",verdana,geneva,aria
>   
> l,helvetica,sans-serif;font-size:14px;}a:hover{text-decoration:none;}a{text-decoration:underline;}.foot{padding-top:40px;font-size:10px;color:#33;}
>   .foot 
> a{font-size:10px;color:#00;}table.center{margin-left:auto;margin-right:auto;}  http-equiv="Expires" content="0">   "Pragma" content="no-cache"> href="https://opensips.org/favicon.png;>. bgcolor="#ff" l
>   ink="#00" text="#00" vlink="#00"> cellpadding="5" width="100%%" border="0"> valign
>   ="top" align="left" bgcolor="#EFF7FF" width="100%%"> align="center">OpenSIPS MI HTML InterfaceOpenSIPS 
> (3.1.0-dev (x86_6
>   4/linux)) is running since Sat Oct 31 11:55:35 
> 2020.. cellpadding="3" cellspacing="0">   >.statistics. href='/mi/core'>core. href='/mi/blacklists'>blacklists.httpd.tm. href='/mi/usrloc'>usrloc. href='/mi/dialog'>dialog.nathelper. href='/mi/rtpproxy'>rtpproxy. href='/mi/db_text'>db_text.drouti
>   ng class="foot" style="margin:20px auto"> style='margin-left:5px;'>OpenSIPS web siteCopyright  2011-2015  href="http://www.voipembedded.com/;>VoIP Embedded, Inc.. All rights res
>   erved!.._X.t.4
>
> Thank in advace.
>
>
> On Fri, Oct 30, 2020 at 8:45 PM Mario San Vicente  
> wrote:
>>
>> Hello  Răzvan ,
>>
>> Thanks alot, that made the trick.
>>
>> I will check if something is not matching with the monit page cause that is 
>> not working ,  but that's another story.
>>
>> Best regards.
>> Mario
>>
>>
>>
>>
>>
>> On Thu, Oct 29, 2020 at 3:49 AM Răzvan Crainea  wrote:
>>>
>>> As I see in your logs, OpenSIPS CP uses the `json` URL path for querying
>>> MI, whereas the default root path is `mi`[1]. Either change the `root`
>>> to `json`, or modify your OpenSIPS CP boxes config to `mi`.
>>>
>>> [1] https://opensips.org/docs/modules/3.1.x/mi_http.html#param_root
>>>
>>> Best regards,
>>>
>>> Răzvan Crainea
>>> OpenSIPS Core Developer
>>> http://www.opensips-solutions.com
>>>
>>> On 10/28/20 11:23 PM, Mario San Vicente wrote:
>>> >Thanks for the answer Johan,
>>> >
>>> > But i see that; the *mi_json* module has been renamed to
>>> > *mi_http* module.  and so: failed to load module mi_json.so
>>> > 

Re: [OpenSIPS-Users] Opensips-cp 8.3.0 HTTP/1.1 400 Bad Request..

2020-11-03 Thread Răzvan Crainea
I am not sure why you're saying it is not reflecting the real info - I 
can see the MI returning data for rtpproxy, are you sure that's not 
correct? And you're probably not having any ongoing calls, that's why 
dlg_list returns 0.
Running MI HTTP is a completely different story, what you're showing us 
is probably the output of the `which` command, enclosed in HTTP tags; 
you should try to run the `which` command as well through the CP, to 
have a comparison ground.

But I believe your setup is OK now.

Best regards,

Răzvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com

On 10/31/20 7:57 PM, Mario San Vicente wrote:

Hello Răzvan ,
I was wrong with my diagnosis, cause i stopped receiving the http / 400 
error.  But when trying to monitor calls i see that the portal is not 
reflecting the real info, i tested dialogs and rtpproxy.

I do see the json reply on a trace, but it is not updated on the portal:

T 127.0.0.1:47632  -> 127.0.0.1: 
 [AP] #137
   POST /mi HTTP/1.1..Host: 127.0.0.1:..Accept: */*..Content-Type: 
application/json..Content-Length: 
49{"jsonrpc":"2.0","id":1,"method":"rtpproxy_

   show"}"id..._";i#4
#
T 127.0.0.1:  -> 127.0.0.1:47632 
 [A] #138

   ..._..k#)...
#
T 127.0.0.1:  -> 127.0.0.1:47632 
 [AP] #139
   HTTP/1.1 200 OK..Content-Length: 136..Content-Type: 
application/json..Date: Sat, 31 Oct 2020 17:34:22 
GMT{"jsonrpc":"2.0","result":[{"Set":0,"Nodes
   
":[{"url":"udp:localhost:2123","index":0,"disabled":0,"weight":1,"recheck_ticks":0}]}],"id":1}.._..k#4


T 127.0.0.1:47644  -> 127.0.0.1: 
 [AP] #204
   POST /mi HTTP/1.1..Host: 127.0.0.1:..Accept: */*..Content-Type: 
application/json..Content-Length: 
78{"jsonrpc":"2.0","id":1,"method":"dlg_list"

   ,"params":{"index":0,"counter":20}}._J.
#
T 127.0.0.1:  -> 127.0.0.1:47644 
 [A] #205

   @.._
#
T 127.0.0.1:  -> 127.0.0.1:47644 
 [AP] #206
   HTTP/1.1 200 OK..Content-Length: 58..Content-Type: 
application/json..Date: Sat, 31 Oct 2020 17:42:14 
GMT{"jsonrpc":"2.0","result":{"count":0,"Dialo

   gs":[]},"id":1}._4...4.

Aside notes:
When enabling this line #modparam("mi_http", "root", "opensips_mi") , i 
can see the mi portal. http://x.x.x.x:/mi , which has lots of 
aditional info,  but i have to disable it to get the json response and 
just get an http response pointing to the mi interface:
T 127.0.0.1:  -> 127.0.0.1:47654 
 [AP] #256
   HTTP/1.1 200 OK..Content-Length: 1886..Content-Type: text/html..Date: 
Sat, 31 Oct 2020 17:55:45 GMTOpenSIPS Management 
Interface
   type="text/css">body{margin:0;}body,p,div,td,th,tr,form,ol,ul,li,input,textarea,select,a{font-family:"lucida 
grande",verdana,geneva,aria
   
l,helvetica,sans-serif;font-size:14px;}a:hover{text-decoration:none;}a{text-decoration:underline;}.foot{padding-top:40px;font-size:10px;color:#33;}
   .foot 
a{font-size:10px;color:#00;}table.center{margin-left:auto;margin-right:auto;}http-equiv="Expires" content="0">   "Pragma" content="no-cache">href="https://opensips.org/favicon.png;>.bgcolor="#ff" l
   ink="#00" text="#00" vlink="#00">cellpadding="5" width="100%%" border="0">colspan=2 valign
   ="top" align="left" bgcolor="#EFF7FF" width="100%%">align="center">OpenSIPS MI HTML InterfaceOpenSIPS 
(3.1.0-dev (x86_6
   4/linux)) is running since Sat Oct 31 11:55:35 
2020..cellpadding="3" cellspacing="0">   >.statistics.href='/mi/core'>core.href='/mi/blacklists'>blacklists.httpd.tm.href='/mi/usrloc'>usrloc.href='/mi/dialog'>dialog.nathelper.href='/mi/rtpproxy'>rtpproxy.href='/mi/db_text'>db_text.drouti
   ngclass="foot" style="margin:20px auto">style='margin-left:5px;'>http://opensips.org>">OpenSIPS web 
siteCopyright  2011-2015 href="http://www.voipembedded.com/;>VoIP Embedded, Inc.. All rights res

   erved!.._X.t.4

Thank in advace.


On Fri, Oct 30, 2020 at 8:45 PM Mario San Vicente 
mailto:mrsanvice...@gmail.com>> wrote:


Hello Răzvan ,

Thanks alot, that made the trick.

I will check if something is not matching with the monit page cause
that is not working ,  but that's another story.

Best regards.
Mario




On Thu, Oct 29, 2020 at 3:49 AM Răzvan Crainea mailto:raz...@opensips.org>> wrote:

As I see in your logs, OpenSIPS CP uses the `json` URL path for
querying
MI, whereas the default root path is `mi`[1]. Either change the
`root`
to `json`, or modify your OpenSIPS CP boxes config to `mi`.

[1] 

Re: [OpenSIPS-Users] Opensips-cp 8.3.0 HTTP/1.1 400 Bad Request..

Hello  Răzvan ,
I was wrong with my diagnosis, cause i stopped receiving the http / 400
error.  But when trying to monitor calls i see that the portal is not
reflecting the real info, i tested dialogs and rtpproxy.
I do see the json reply on a trace, but it is not updated on the portal:

T 127.0.0.1:47632 -> 127.0.0.1: [AP] #137
  POST /mi HTTP/1.1..Host: 127.0.0.1:..Accept: */*..Content-Type:
application/json..Content-Length:
49{"jsonrpc":"2.0","id":1,"method":"rtpproxy_
  show"}"id..._";i#4
#
T 127.0.0.1: -> 127.0.0.1:47632 [A] #138
  ..._..k#)...
#
T 127.0.0.1: -> 127.0.0.1:47632 [AP] #139
  HTTP/1.1 200 OK..Content-Length: 136..Content-Type:
application/json..Date: Sat, 31 Oct 2020 17:34:22
GMT{"jsonrpc":"2.0","result":[{"Set":0,"Nodes

":[{"url":"udp:localhost:2123","index":0,"disabled":0,"weight":1,"recheck_ticks":0}]}],"id":1}.._..k#4

T 127.0.0.1:47644 -> 127.0.0.1: [AP] #204
  POST /mi HTTP/1.1..Host: 127.0.0.1:..Accept: */*..Content-Type:
application/json..Content-Length:
78{"jsonrpc":"2.0","id":1,"method":"dlg_list"
  ,"params":{"index":0,"counter":20}}._J.
#
T 127.0.0.1: -> 127.0.0.1:47644 [A] #205
  @.._
#
T 127.0.0.1: -> 127.0.0.1:47644 [AP] #206
  HTTP/1.1 200 OK..Content-Length: 58..Content-Type:
application/json..Date: Sat, 31 Oct 2020 17:42:14
GMT{"jsonrpc":"2.0","result":{"count":0,"Dialo
  gs":[]},"id":1}._4...4.

Aside notes:
When enabling this line #modparam("mi_http", "root", "opensips_mi") , i can
see the mi portal.  http://x.x.x.x:/mi , which has lots of
aditional info,  but i have to disable it to get the json response and just
get an http response pointing to the mi interface:
T 127.0.0.1: -> 127.0.0.1:47654 [AP] #256
  HTTP/1.1 200 OK..Content-Length: 1886..Content-Type: text/html..Date:
Sat, 31 Oct 2020 17:55:45 GMTOpenSIPS Management
Interface
  body{margin:0;}body,p,div,td,th,tr,form,ol,ul,li,input,textarea,select,a{font-family:"lucida
grande",verdana,geneva,aria

l,helvetica,sans-serif;font-size:14px;}a:hover{text-decoration:none;}a{text-decoration:underline;}.foot{padding-top:40px;font-size:10px;color:#33;}
  .foot
a{font-size:10px;color:#00;}table.center{margin-left:auto;margin-right:auto;}https://opensips.org/favicon.png;>.OpenSIPS MI HTML InterfaceOpenSIPS
(3.1.0-dev (x86_6
  4/linux)) is running since Sat Oct 31 11:55:35
2020...statistics.core.blacklists.httpd.tm.usrloc.dialog.nathelper.rtpproxy.db_text.drouti
  ngOpenSIPS web siteCopyright  2011-2015
http://www.voipembedded.com/;>VoIP Embedded, Inc.. All rights
res
  erved!.._X.t.4

Thank in advace.


On Fri, Oct 30, 2020 at 8:45 PM Mario San Vicente 
wrote:

> Hello  Răzvan ,
>
> Thanks alot, that made the trick.
>
> I will check if something is not matching with the monit page cause that
> is not working ,  but that's another story.
>
> Best regards.
> Mario
>
>
>
>
>
> On Thu, Oct 29, 2020 at 3:49 AM Răzvan Crainea 
> wrote:
>
>> As I see in your logs, OpenSIPS CP uses the `json` URL path for querying
>> MI, whereas the default root path is `mi`[1]. Either change the `root`
>> to `json`, or modify your OpenSIPS CP boxes config to `mi`.
>>
>> [1] https://opensips.org/docs/modules/3.1.x/mi_http.html#param_root
>>
>> Best regards,
>>
>> Răzvan Crainea
>> OpenSIPS Core Developer
>> http://www.opensips-solutions.com
>>
>> On 10/28/20 11:23 PM, Mario San Vicente wrote:
>> >Thanks for the answer Johan,
>> >
>> > But i see that; the *mi_json* module has been renamed to
>> > *mi_http* module.  and so: failed to load module mi_json.so
>> > https://www.opensips.org/Documentation/Migration-2-4-0-to-3-0-0
>> >
>> > I am using opensips 3.1
>> > I have this modules:
>> >
>> > loadmodule "httpd.so"
>> > modparam("httpd", "port", )
>> >  MI_HTTP module
>> > loadmodule "json.so"
>> > #loadmodule "mi_json.so"
>> > loadmodule "mi_http.so"
>> >
>> > Any other clue?
>> >
>> > Thank you
>> >
>> >
>> > ___
>> > 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
>>
>
>
> --
> Mario San Vicente
> Cheers!
>


-- 
Mario San Vicente
Cheers!
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Opensips-cp 8.3.0 HTTP/1.1 400 Bad Request..

Hello  Răzvan ,

Thanks alot, that made the trick.

I will check if something is not matching with the monit page cause that is
not working ,  but that's another story.

Best regards.
Mario





On Thu, Oct 29, 2020 at 3:49 AM Răzvan Crainea  wrote:

> As I see in your logs, OpenSIPS CP uses the `json` URL path for querying
> MI, whereas the default root path is `mi`[1]. Either change the `root`
> to `json`, or modify your OpenSIPS CP boxes config to `mi`.
>
> [1] https://opensips.org/docs/modules/3.1.x/mi_http.html#param_root
>
> Best regards,
>
> Răzvan Crainea
> OpenSIPS Core Developer
> http://www.opensips-solutions.com
>
> On 10/28/20 11:23 PM, Mario San Vicente wrote:
> >Thanks for the answer Johan,
> >
> > But i see that; the *mi_json* module has been renamed to
> > *mi_http* module.  and so: failed to load module mi_json.so
> > https://www.opensips.org/Documentation/Migration-2-4-0-to-3-0-0
> >
> > I am using opensips 3.1
> > I have this modules:
> >
> > loadmodule "httpd.so"
> > modparam("httpd", "port", )
> >  MI_HTTP module
> > loadmodule "json.so"
> > #loadmodule "mi_json.so"
> > loadmodule "mi_http.so"
> >
> > Any other clue?
> >
> > Thank you
> >
> >
> > ___
> > 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
>


-- 
Mario San Vicente
Cheers!
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Opensips-cp 8.3.0 HTTP/1.1 400 Bad Request..

As I see in your logs, OpenSIPS CP uses the `json` URL path for querying 
MI, whereas the default root path is `mi`[1]. Either change the `root` 
to `json`, or modify your OpenSIPS CP boxes config to `mi`.


[1] https://opensips.org/docs/modules/3.1.x/mi_http.html#param_root

Best regards,

Răzvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com

On 10/28/20 11:23 PM, Mario San Vicente wrote:

   Thanks for the answer Johan,

But i see that; the *mi_json* module has been renamed to 
*mi_http* module.  and so: failed to load module mi_json.so

https://www.opensips.org/Documentation/Migration-2-4-0-to-3-0-0

I am using opensips 3.1
I have this modules:

loadmodule "httpd.so"
modparam("httpd", "port", )
 MI_HTTP module
loadmodule "json.so"
#loadmodule "mi_json.so"
loadmodule "mi_http.so"

Any other clue?

Thank you


___
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] Opensips-cp 8.3.0 HTTP/1.1 400 Bad Request..

  Thanks for the answer Johan,

But i see that; the *mi_json* module has been renamed to *mi_http* module.
and so:  failed to load module mi_json.so
 https://www.opensips.org/Documentation/Migration-2-4-0-to-3-0-0

I am using opensips 3.1

I have this modules:

loadmodule "httpd.so"
modparam("httpd", "port", )
 MI_HTTP module
loadmodule "json.so"
#loadmodule "mi_json.so"
loadmodule "mi_http.so"

Any other clue?

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


Re: [OpenSIPS-Users] Opensips-cp 8.3.0 HTTP/1.1 400 Bad Request..

You need to use mi_json

Outlook voor iOS<https://aka.ms/o0ukef> downloaden

Van: Users  namens Mario San Vicente 

Verzonden: Wednesday, October 28, 2020 8:06:09 PM
Aan: OpenSIPS users mailling list 
Onderwerp: [OpenSIPS-Users] Opensips-cp 8.3.0 HTTP/1.1 400 Bad Request..

Hello Everyone,

Here i have a quick question.

I installed opensips-cp 8.3.0 in a Centos installation from sources version: 
opensips 3.1.

I seems to me that  the configuration is fine, mysql DB, and users.

But Opensips-cp can't speak MI to opensips.

I get the following at trace level:

T 127.0.0.1:34550<http://127.0.0.1:34550> -> 
127.0.0.1:<http://127.0.0.1:> [AP] #144
  POST /json HTTP/1.1..Host: 127.0.0.1:..Accept: */*..Content-Type: 
application/json..Content-Length: 
78{"jsonrpc":"2.0","id":1,"method":"dlg_lis
  t","params":{"index":0,"counter":20}}w.._
#
T 127.0.0.1:<http://127.0.0.1:> -> 
127.0.0.1:34550<http://127.0.0.1:34550> [A] #145
  8...w.._XZ..
#
T 127.0.0.1:<http://127.0.0.1:> -> 
127.0.0.1:34550<http://127.0.0.1:34550> [AP] #146
  HTTP/1.1 400 Bad Request..Content-Length: 46..Content-Type: text/html..Date: 
Wed, 28 Oct 2020 18:59:03 GMTUnable to parse URL!w.._C...
#

And at php level iget:

 [:error] [pid 17689] [client x.x.x.x:55303] PHP Warning:  Creating default 
object from empty value in 
/var/www/html/opensips-cp/config/tools/system/dialog/local.inc.php on line 27, 
referer: http://x.x.x.x/cp/tools/system/dialog/dialog.php?action=refresh
 [:error] [pid 17689] [client x.x.x.x:55303] PHP Notice:  Use of undefined 
constant CURLINFO_RESPONSE_CODE - assumed 'CURLINFO_RESPONSE_CODE' in 
/var/www/html/opensips-cp/web/common/mi_comm.php on line 50, referer: 
http://x.x.x.x/cp/tools/system/dialog/dialog.php?action=refresh
[:error] [pid 17689] [client x.x.x.x:55303] PHP Warning:  curl_getinfo() 
expects parameter 2 to be long, string given in 
/var/www/html/opensips-cp/web/common/mi_comm.php on line 50, referer: 
http://x.x.x.x/cp/tools/system/dialog/dialog.php?action=refresh
[:error] [pid 17689] [client x.x.x.x:55303] PHP Warning:  array_key_exists() 
expects parameter 2 to be array, null given in 
/var/www/html/opensips-cp/web/common/mi_comm.php on line 61, referer: 
http://x.x.x.x/cp/tools/system/dialog/dialog.php?action=refresh

 php -v
PHP 7.3.24 (cli)


Anyone have any idea why it fails??

Thank you very much
--
Mario SV
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] Opensips-cp 8.3.0 HTTP/1.1 400 Bad Request..

Hello Everyone,

Here i have a quick question.

I installed opensips-cp 8.3.0 in a Centos installation from
sources version: opensips 3.1.

I seems to me that  the configuration is fine, mysql DB, and users.

But Opensips-cp can't speak MI to opensips.

I get the following at trace level:

T 127.0.0.1:34550 -> 127.0.0.1: [AP] #144
  POST /json HTTP/1.1..Host: 127.0.0.1:..Accept: */*..Content-Type:
application/json..Content-Length:
78{"jsonrpc":"2.0","id":1,"method":"dlg_lis
  t","params":{"index":0,"counter":20}}w.._
#
T 127.0.0.1: -> 127.0.0.1:34550 [A] #145
  8...w.._XZ..
#
T 127.0.0.1: -> 127.0.0.1:34550 [AP] #146
  HTTP/1.1 400 Bad Request..Content-Length: 46..Content-Type:
text/html..Date: Wed, 28 Oct 2020 18:59:03 GMTUnable to
parse URL!w.._C...
#

And at php level iget:

 [:error] [pid 17689] [client x.x.x.x:55303] PHP Warning:  Creating default
object from empty value in
/var/www/html/opensips-cp/config/tools/system/dialog/local.inc.php on line
27, referer: http://x.x.x.x/cp/tools/system/dialog/dialog.php?action=refresh
 [:error] [pid 17689] [client x.x.x.x:55303] PHP Notice:  Use of undefined
constant CURLINFO_RESPONSE_CODE - assumed 'CURLINFO_RESPONSE_CODE' in
/var/www/html/opensips-cp/web/common/mi_comm.php on line 50, referer:
http://x.x.x.x/cp/tools/system/dialog/dialog.php?action=refresh
[:error] [pid 17689] [client x.x.x.x:55303] PHP Warning:  curl_getinfo()
expects parameter 2 to be long, string given in
/var/www/html/opensips-cp/web/common/mi_comm.php on line 50, referer:
http://x.x.x.x/cp/tools/system/dialog/dialog.php?action=refresh
[:error] [pid 17689] [client x.x.x.x:55303] PHP Warning:
 array_key_exists() expects parameter 2 to be array, null given in
/var/www/html/opensips-cp/web/common/mi_comm.php on line 61, referer:
http://x.x.x.x/cp/tools/system/dialog/dialog.php?action=refresh

 php -v
PHP 7.3.24 (cli)


Anyone have any idea why it fails??

Thank you very much
-- 
Mario SV
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] opensips-cp for 3.1

thanks Razvan,
btw, I will be starting on push notifications also.



Op ma 27 jul. 2020 om 09:32 schreef Răzvan Crainea :

> Hi, Johan!
>
> We haven't got a chance to tune OpenSIPS CP for 3.1, although we need to
> do this ASAP.
> Nevertheless, there were no major changes between 3.0 and 3.1, therefore
> you should be able to use 3.1.
>
> Best regards,
>
> Răzvan Crainea
> OpenSIPS Core Developer
> http://www.opensips-solutions.com
>
> On 7/24/20 4:53 PM, johan wrote:
> >
> > Hi,
> >
> >
> > is it okay to use opensips-cp 3.0 for opensips 3.1 ?
> >
> >
> > wkr,
> >
> >
> > ___
> > 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
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] opensips-cp for 3.1


Hi, Johan!

We haven't got a chance to tune OpenSIPS CP for 3.1, although we need to 
do this ASAP.
Nevertheless, there were no major changes between 3.0 and 3.1, therefore 
you should be able to use 3.1.


Best regards,

Răzvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com

On 7/24/20 4:53 PM, johan wrote:


    Hi,


is it okay to use opensips-cp 3.0 for opensips 3.1 ?


wkr,


___
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] opensips-cp for 3.1

Thanks sharad

Outlook voor iOS<https://aka.ms/o0ukef> downloaden

Van: Users  namens Sharad Kumar via Users 

Verzonden: Saturday, July 25, 2020 6:21:13 PM
Aan: users@lists.opensips.org 
Onderwerp: Re: [OpenSIPS-Users] opensips-cp for 3.1

Hi Johan,


Absolutely, You can use opensips-cp 3.0 for opensips 3.1





___
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] opensips-cp for 3.1

Hi Johan,


Absolutely, You can use opensips-cp 3.0 for opensips 3.1





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


[OpenSIPS-Users] opensips-cp for 3.1



   Hi,


is it okay to use opensips-cp 3.0 for opensips 3.1 ?


wkr,


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


[OpenSIPS-Users] opensips-cp 30

Hello, 

 

Is there already more news on the new opensips-cp for 3.0 ?

 

BR, 

 



Johan De Clercq, Managing Director
Democon bvba - Ooigemstraat 41 - 8780 Oostrozebeke

Tel +3256980990 - GSM +32478720104

 

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


Re: [OpenSIPS-Users] opensips-cp 30


Hey Johan,

I'm currently working in re-aligning the MI interface in CP with 
OpenSIPS 3.0 - I estimate 1-2 weeks to get it done.


Best regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  https://www.opensips-solutions.com
OpenSIPS Summit 2019
  https://www.opensips.org/events/Summit-2019Amsterdam/

On 06/19/2019 05:48 PM, johan de clercq wrote:


When can the control panel be expected for opensips 30 ?

BR,

cid:F3100D46-F00D-4610-87ED-3E91DA790A82

Johan De Clercq, Managing Director
Democon bvba - Ooigemstraat 41 - 8780 Oostrozebeke

Tel +3256980990– GSM +32478720104



___
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] opensips-cp 30

When can the control panel be expected for opensips 30 ?

 

BR, 

 



Johan De Clercq, Managing Director
Democon bvba - Ooigemstraat 41 - 8780 Oostrozebeke

Tel +3256980990 - GSM +32478720104

 

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


Re: [OpenSIPS-Users] opensips-cp 8.2.4 MI page and drop-down Servers


Hello Albary,

You if you have a single OpenSIPS box configured into boxes file, the 
drop-down in the MI tool does not work by default ?


Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  https://www.opensips-solutions.com
OpenSIPS Summit 2019
  https://www.opensips.org/events/Summit-2019Amsterdam/

On 04/22/2019 04:51 PM, Albary Franco Pimpao Junior wrote:

Hi people,

Recently I did a git clone of cp for opensips 2.4.x and setup for just 
one server with MI conn via json. In order to be successfull in the 
connection my collegue Frederico helped me and did a workaround in ... 
mi/lib/functions.inc.php. In function show_boxes it was included 
before foreach statement:


if ( empty( $_SESSION['mi_current_box'] ) )
   echo '- select -';

Maybe others have already passed into the same problem. I don't know 
if there's a better way to do it.


Thanks and Best Regards

Albary - Celepar


___
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] opensips-cp 8.2.4 MI page and drop-down Servers


Hi people,Recently I did a git clone of cp for opensips 2.4.x and setup for just one server with MI conn via json. In order to be successfull in the connection my collegue Frederico helped me and did a workaround in ... mi/lib/functions.inc.php. In function show_boxes it was included before foreach statement:if ( empty( $_SESSION['mi_current_box'] ) )   echo '- select -';Maybe others have already passed into the same problem. I don't know if there's a better way to do it.Thanks and Best RegardsAlbary - Celepar




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


Re: [OpenSIPS-Users] OPENSIPS-CP 6.2


Hi Jeff,

Thanks for the report. I pushed the fix on GIT head and 6.2 branch.

Best regards,

Bogdan-Andrei Iancu
  OpenSIPS Founder and Developer
  http://www.opensips-solutions.com

OpenSIPS Summit May 2017 Amsterdam
  http://www.opensips.org/events/Summit-2017Amsterdam.html

On 03/01/2017 01:06 AM, Jeff Wilkie wrote:

Found small error in drouting code for CP

opensips-cp/web/tools/system/drouting/template/carriers.main.php


has a reference to src="../../../images/share/inactive.gif 
and src="../../../images/share/active.gif but neither of these are 
present.  Both of these file extensions should be .png



Thanks


Jeff Wilkie



___
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] OPENSIPS-CP 6.2

Found small error in drouting code for CP

opensips-cp/web/tools/system/drouting/template/carriers.main.php


has a reference to src="../../../images/share/inactive.gif
and src="../../../images/share/active.gif but neither of these are
present.  Both of these file extensions should be .png


Thanks


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


Re: [OpenSIPS-Users] Opensips-cp with Postgres MDB2 Error: unknown error


Hi, Rick!

What kind of MDB packages are you using?

Best regards,

Răzvan Crainea
OpenSIPS Solutions
www.opensips-solutions.com

On 02/20/2017 07:35 PM, Turner, Rick wrote:


Hi, I’m using OpenSIPS Control Panel 6.2 with a postgres database and 
running into some issues I cannot figure out. Hopefully someone can help.


When accessing the Users/Alias Management, Users/User Management or 
trying a search from the System/CDR Viewer screen, I get the error:


Failed to issue query, error message : MDB2 Error: unknown error

I can add users using the ‘Add New’ button and I see them when I 
manually look in the subscribers table. It just seems to be the 
selects that don’t work.


My httpd error log just shows some variables that were empty but 
nothing helpful for this.


Got any hints on what is the best way to start troubleshooting this issue?

Thanks.

This message (and any attachments) is intended solely for the 
addressee and may contain confidential and privileged information. If 
you have received this message in error, please send it back to us, 
and immediately and permanently delete it. Do not use, copy or 
disclose the information contained in this message or in any 
attachment. For information about how we process data and monitor 
communications please see our Privacy Statement, and for terms of use 
please see our Terms of Use both located at 
https://www.westuc.com/en-gb/terms-conditions-policies. “West UC” or 
“West” is a subsidiary of West Corporation and the trading name of 
West UC Limited, a company registered in England & Wales with 
registered number 2775270 and whose registered office is at Unit 1 & 2 
Sawmills End, Barnwood, Gloucester, GL4 3DL, UK. This email is sent on 
behalf of West UC Limited unless you have been notified otherwise.



___
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] Opensips-cp with Postgres MDB2 Error: unknown error


Hi, I'm using OpenSIPS Control Panel 6.2 with a postgres database and running 
into some issues I cannot figure out. Hopefully someone can help.

When accessing the Users/Alias Management, Users/User Management or trying a 
search from the System/CDR Viewer screen, I get the error:

Failed to issue query, error message : MDB2 Error: unknown error

I can add users using the 'Add New' button and I see them when I manually look 
in the subscribers table. It just seems to be the selects that don't work.

My httpd error log just shows some variables that were empty but nothing 
helpful for this.

Got any hints on what is the best way to start troubleshooting this issue?

Thanks.
This message (and any attachments) is intended solely for the addressee and may 
contain confidential and privileged information. If you have received this 
message in error, please send it back to us, and immediately and permanently 
delete it. Do not use, copy or disclose the information contained in this 
message or in any attachment. For information about how we process data and 
monitor communications please see our Privacy Statement, and for terms of use 
please see our Terms of Use both located at 
https://www.westuc.com/en-gb/terms-conditions-policies. "West UC" or "West" is 
a subsidiary of West Corporation and the trading name of West UC Limited, a 
company registered in England & Wales with registered number 2775270 and whose 
registered office is at Unit 1 & 2 Sawmills End, Barnwood, Gloucester, GL4 3DL, 
UK. This email is sent on behalf of West UC Limited unless you have been 
notified otherwise.
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] opensips-cp missing


hello Razvan,

I installed opensips manually using the video "2012-05-17 18.02 OpenSIPS 
Kick Start" because I am not familiar with linux and opensips.


I will try your example.

Because there were bounces from compuserve.com I changed my email to 
solnet.ch and subscribed with this new email address but I made an error 
by still using my old email address.


On 1/3/2017 9:35 AM, Răzvan Crainea wrote:

Hi, Jaap!

How did you initially install opensips CP? Because most likely it is 
was a manual install, and you will need to restore the apache config 
file. You can use this example[1].


PS: please subscribe to the mailing list, otherwise you won't get 
further replies.


[1] 
https://github.com/OpenSIPS/opensips-cp/blob/abafe7503dd8ad089b834cfcb7058deeda30375e/INSTALL#L30


Best regards,
Răzvan Crainea
OpenSIPS Solutions
www.opensips-solutions.com
On 01/02/2017 10:28 PM, Jaap van der Starre wrote:


After upgrade from wheezy to jessie opensips-cp is missing

while my grandstream HT503 is still registered to opensips, I cannot 
use the control panel anymore obviously.



  Not Found

The requested URL /opensips-cp was not found on this server.


Apache/2.4.10 (Debian) Server at 192.168.2.12 Port 80

My opensips installation is 1.10.
Because it is not supported anymore I should at least migrate to 1.11 
now.

This will only change the database and Script migration.
Would it bring back opensips-cp in Apache?

jaap


___
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] opensips-cp missing


Hi, Jaap!

How did you initially install opensips CP? Because most likely it is was 
a manual install, and you will need to restore the apache config file. 
You can use this example[1].


PS: please subscribe to the mailing list, otherwise you won't get 
further replies.


[1] 
https://github.com/OpenSIPS/opensips-cp/blob/abafe7503dd8ad089b834cfcb7058deeda30375e/INSTALL#L30


Best regards,

Răzvan Crainea
OpenSIPS Solutions
www.opensips-solutions.com

On 01/02/2017 10:28 PM, Jaap van der Starre wrote:


After upgrade from wheezy to jessie opensips-cp is missing

while my grandstream HT503 is still registered to opensips, I cannot 
use the control panel anymore obviously.



  Not Found

The requested URL /opensips-cp was not found on this server.


Apache/2.4.10 (Debian) Server at 192.168.2.12 Port 80

My opensips installation is 1.10.
Because it is not supported anymore I should at least migrate to 1.11 now.
This will only change the database and Script migration.
Would it bring back opensips-cp in Apache?

jaap


___
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] opensips-cp missing


After upgrade from wheezy to jessie opensips-cp is missing

while my grandstream HT503 is still registered to opensips, I cannot use 
the control panel anymore obviously.



 Not Found

The requested URL /opensips-cp was not found on this server.


Apache/2.4.10 (Debian) Server at 192.168.2.12 Port 80

My opensips installation is 1.10.
Because it is not supported anymore I should at least migrate to 1.11 now.
This will only change the database and Script migration.
Would it bring back opensips-cp in Apache?

jaap

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


Re: [OpenSIPS-Users] Opensips CP DROUTING GATEWAY enable/disable issue

>From the CP gateway web GUI,

>From DROUTING-Gateway interface:


Error while disabling gateway 2
(the GWID is 2 for the gateway I'm attempting to disable)

>From the MI Commands:
Initiating the following command: *dr_gw_status 2 0*
404 GW ID not found

But I am able to enable the gateway from both interfaces if they are
disabledthat's what's weird and why I started to look into the php to
see if there were errors but it appears to be deeper than that.  The one
thing I do notice is that to enable the gateways if they are disabled (from
the GUI drouting/gateways) after I've selected enable and hit okay, I then
have to hit "apply changes to server" for it to take place.

Testing like this:

# opensipsctl fifo dr_gw_status 2

Enabled:: yes

# opensipsctl fifo dr_gw_status 2 0

# opensipsctl fifo dr_gw_status 2

Enabled:: no

Then go to the GUI.  The red indicator shows GW2 was disabled.

I click on the red status, it asks me to enable, which I do.  After which,
the GUI shows no update of being enabled nor does ctl when I check its
status.

# opensipsctl fifo dr_gw_status 2

Enabled:: no

I then hit "apply changes to server" and update the page which then turns
the indicator green.  CTL now shows enabled.

# opensipsctl fifo dr_gw_status 2

Enabled:: yes

The same process does not work for disabling it though, only enabling.


Jeff Wilkie
Chief Technology Officer
US IP Communications
919.297.1057


*"This e-mail communication and any attachments may contain confidential
and privileged information and is for use by the designated addressee(s)
named above only. Any files transmitted with it are confidential and
intended solely for the use of the individual to whom it is addressed. Any
views or opinions presented are solely those of the author and do not
necessarily represent those of USIPCOM, LLC. If you are not the intended
addressee, you are hereby notified that you have received this
communication in error and that any use or reproduction of this email or
its contents is strictly prohibited and may be unlawful. If you have
received this communication in error, please notify us immediately by
replying to this message and deleting it from your computer. Thank you". *

On Fri, Jun 10, 2016 at 6:34 AM, Bogdan-Andrei Iancu 
wrote:

> Hi Jeff,
>
> So, from CP, using the FIFO backend, the enabling works, but the disabling
> doesn't ?
>
> Regards,
>
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developerhttp://www.opensips-solutions.com
>
> On 09.06.2016 22:30, Jeff Wilkie wrote:
>
> Bogdan,
>
> Based on what you have provided, I decided to change the boxes.global.inc.php
> file as follows:
>
> $box_id=0;
>
>
> // mi host:port pair || fifo_file
>
> *$boxes[$box_id]['mi']['conn']="127.0.0.1:8080 ";*
>
> //boxes[$box_id]['mi']['conn']="/tmp/opensips_proxy_fifo";
>
> It now is able to disable and enable the gateways. I'm not sure if
> anything else is broken as a result but I will go through the testing.  Is
> there a reason why it would not work using the fifo file instead?
>
>
> Jeff Wilkie
> Chief Technology Officer
> US IP Communications
> 919.297.1057
>
>
> *"This e-mail communication and any attachments may contain confidential
> and privileged information and is for use by the designated addressee(s)
> named above only. Any files transmitted with it are confidential and
> intended solely for the use of the individual to whom it is addressed. Any
> views or opinions presented are solely those of the author and do not
> necessarily represent those of USIPCOM, LLC. If you are not the intended
> addressee, you are hereby notified that you have received this
> communication in error and that any use or reproduction of this email or
> its contents is strictly prohibited and may be unlawful. If you have
> received this communication in error, please notify us immediately by
> replying to this message and deleting it from your computer. Thank you". *
>
> On Thu, Jun 9, 2016 at 11:14 AM, Bogdan-Andrei Iancu <
> bog...@opensips.org> wrote:
>
>> Jeff,
>>
>> To have the CP connecting to OpenSIPS you can use any of the MI backends
>> - FIFO, XMLRPC, UDP...any will do the trick. The downside of FIFO is that
>> the CP and OpenSIPS must be on the same server.
>>
>> Regards,
>>
>> Bogdan-Andrei Iancu
>> OpenSIPS Founder and Developerhttp://www.opensips-solutions.com
>>
>> On 09.06.2016 17:38, Jeff Wilkie wrote:
>>
>> Is XMLRPC required to make this function work?  Currently, we are only
>> using the fifo method as the boxes.global.inc.php only referencing this
>> method.  The documentation for CP says to use one or the other but does not
>> mention that some functions will not work if not using XMLRPC.
>>
>> Thanks
>> Jeff
>>
>> Jeff Wilkie
>> Chief Technology Officer
>> US IP Communications
>> 919.297.1057
>>
>>
>> *"This e-mail communication and any attachments may contain confidential
>> and privileged information and is for use by the designated 

Re: [OpenSIPS-Users] Opensips CP DROUTING GATEWAY enable/disable issue

I have a  more detailed message awaiting approval, but the answer is yes to
the question.  Although I do have to hit "Apply changes to server" before
it takes place.

Thanks

Jeff Wilkie

On Fri, Jun 10, 2016 at 6:34 AM, Bogdan-Andrei Iancu 
wrote:

> Hi Jeff,
>
> So, from CP, using the FIFO backend, the enabling works, but the disabling
> doesn't ?
>
> Regards,
>
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developerhttp://www.opensips-solutions.com
>
> On 09.06.2016 22:30, Jeff Wilkie wrote:
>
> Bogdan,
>
> Based on what you have provided, I decided to change the boxes.global.inc.php
> file as follows:
>
> $box_id=0;
>
>
> // mi host:port pair || fifo_file
>
> *$boxes[$box_id]['mi']['conn']="127.0.0.1:8080 ";*
>
> //boxes[$box_id]['mi']['conn']="/tmp/opensips_proxy_fifo";
>
> It now is able to disable and enable the gateways. I'm not sure if
> anything else is broken as a result but I will go through the testing.  Is
> there a reason why it would not work using the fifo file instead?
>
>
> Jeff Wilkie
> Chief Technology Officer
> US IP Communications
> 919.297.1057
>
>
> *"This e-mail communication and any attachments may contain confidential
> and privileged information and is for use by the designated addressee(s)
> named above only. Any files transmitted with it are confidential and
> intended solely for the use of the individual to whom it is addressed. Any
> views or opinions presented are solely those of the author and do not
> necessarily represent those of USIPCOM, LLC. If you are not the intended
> addressee, you are hereby notified that you have received this
> communication in error and that any use or reproduction of this email or
> its contents is strictly prohibited and may be unlawful. If you have
> received this communication in error, please notify us immediately by
> replying to this message and deleting it from your computer. Thank you". *
>
> On Thu, Jun 9, 2016 at 11:14 AM, Bogdan-Andrei Iancu <
> bog...@opensips.org> wrote:
>
>> Jeff,
>>
>> To have the CP connecting to OpenSIPS you can use any of the MI backends
>> - FIFO, XMLRPC, UDP...any will do the trick. The downside of FIFO is that
>> the CP and OpenSIPS must be on the same server.
>>
>> Regards,
>>
>> Bogdan-Andrei Iancu
>> OpenSIPS Founder and Developerhttp://www.opensips-solutions.com
>>
>> On 09.06.2016 17:38, Jeff Wilkie wrote:
>>
>> Is XMLRPC required to make this function work?  Currently, we are only
>> using the fifo method as the boxes.global.inc.php only referencing this
>> method.  The documentation for CP says to use one or the other but does not
>> mention that some functions will not work if not using XMLRPC.
>>
>> Thanks
>> Jeff
>>
>> Jeff Wilkie
>> Chief Technology Officer
>> US IP Communications
>> 919.297.1057
>>
>>
>> *"This e-mail communication and any attachments may contain confidential
>> and privileged information and is for use by the designated addressee(s)
>> named above only. Any files transmitted with it are confidential and
>> intended solely for the use of the individual to whom it is addressed. Any
>> views or opinions presented are solely those of the author and do not
>> necessarily represent those of USIPCOM, LLC. If you are not the intended
>> addressee, you are hereby notified that you have received this
>> communication in error and that any use or reproduction of this email or
>> its contents is strictly prohibited and may be unlawful. If you have
>> received this communication in error, please notify us immediately by
>> replying to this message and deleting it from your computer. Thank you". *
>>
>> On Tue, Jun 7, 2016 at 6:52 AM, Bogdan-Andrei Iancu <
>> bog...@opensips.org> wrote:
>>
>>> Hi Jeff,
>>>
>>> So, FIFO works ok for you, but CP (using xmlrpc fails). Can you make a
>>> capture of the XMLRPC traffic between CP and OpenSIPS and post it somewhere
>>> ?
>>>
>>> Regards,
>>>
>>> Bogdan-Andrei Iancu
>>> OpenSIPS Founder and Developerhttp://www.opensips-solutions.com
>>>
>>> On 31.05.2016 17:27, Jeff Wilkie wrote:
>>>
>>> OpenSIPS Control Panel version 5.0
>>>
>>> Jeff Wilkie
>>> Chief Technology Officer
>>> US IP Communications
>>> 919.297.1057
>>>
>>>
>>> *"This e-mail communication and any attachments may contain confidential
>>> and privileged information and is for use by the designated addressee(s)
>>> named above only. Any files transmitted with it are confidential and
>>> intended solely for the use of the individual to whom it is addressed. Any
>>> views or opinions presented are solely those of the author and do not
>>> necessarily represent those of USIPCOM, LLC. If you are not the intended
>>> addressee, you are hereby notified that you have received this
>>> communication in error and that any use or reproduction of this email or
>>> its contents is strictly prohibited and may be unlawful. If you have
>>> received this communication in error, please notify us immediately by
>>> 

Re: [OpenSIPS-Users] Opensips CP DROUTING GATEWAY enable/disable issue


Hi Jeff,

So, from CP, using the FIFO backend, the enabling works, but the 
disabling doesn't ?


Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 09.06.2016 22:30, Jeff Wilkie wrote:

Bogdan,

Based on what you have provided, I decided to change the 
boxes.global.inc.php file as follows:


$box_id=0;


// mi host:port pair || fifo_file

*$boxes[$box_id]['mi']['conn']="127.0.0.1:8080 ";*

//boxes[$box_id]['mi']['conn']="/tmp/opensips_proxy_fifo";


It now is able to disable and enable the gateways. I'm not sure if 
anything else is broken as a result but I will go through the 
testing.  Is there a reason why it would not work using the fifo file 
instead?



Jeff Wilkie
Chief Technology Officer
US IP Communications
919.297.1057


/"This e-mail communication and any attachments may contain 
confidential and privileged information and is for use by the 
designated addressee(s) named above only. Any files transmitted with 
it are confidential and intended solely for the use of the individual 
to whom it is addressed. Any views or opinions presented are solely 
those of the author and do not necessarily represent those of USIPCOM, 
LLC. If you are not the intended addressee, you are hereby notified 
that you have received this communication in error and that any use or 
reproduction of this email or its contents is strictly prohibited and 
may be unlawful. If you have received this communication in error, 
please notify us immediately by replying to this message and deleting 
it from your computer. Thank you". /


On Thu, Jun 9, 2016 at 11:14 AM, Bogdan-Andrei Iancu 
> wrote:


Jeff,

To have the CP connecting to OpenSIPS you can use any of the MI
backends - FIFO, XMLRPC, UDP...any will do the trick. The downside
of FIFO is that the CP and OpenSIPS must be on the same server.

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 09.06.2016 17:38, Jeff Wilkie wrote:

Is XMLRPC required to make this function work?  Currently, we are
only using the fifo method as the boxes.global.inc.php only
referencing this method.  The documentation for CP says to use
one or the other but does not mention that some functions will
not work if not using XMLRPC.

Thanks
Jeff

Jeff Wilkie
Chief Technology Officer
US IP Communications
919.297.1057 


/"This e-mail communication and any attachments may contain
confidential and privileged information and is for use by the
designated addressee(s) named above only. Any files transmitted
with it are confidential and intended solely for the use of the
individual to whom it is addressed. Any views or opinions
presented are solely those of the author and do not necessarily
represent those of USIPCOM, LLC. If you are not the intended
addressee, you are hereby notified that you have received this
communication in error and that any use or reproduction of this
email or its contents is strictly prohibited and may be unlawful.
If you have received this communication in error, please notify
us immediately by replying to this message and deleting it from
your computer. Thank you". /

On Tue, Jun 7, 2016 at 6:52 AM, Bogdan-Andrei Iancu
> wrote:

Hi Jeff,

So, FIFO works ok for you, but CP (using xmlrpc fails). Can
you make a capture of the XMLRPC traffic between CP and
OpenSIPS and post it somewhere ?

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 31.05.2016 17:27, Jeff Wilkie wrote:


OpenSIPS Control Panel version 5.0


Jeff Wilkie
Chief Technology Officer
US IP Communications
919.297.1057 


/"This e-mail communication and any attachments may contain
confidential and privileged information and is for use by
the designated addressee(s) named above only. Any files
transmitted with it are confidential and intended solely for
the use of the individual to whom it is addressed. Any views
or opinions presented are solely those of the author and do
not necessarily represent those of USIPCOM, LLC. If you are
not the intended addressee, you are hereby notified that you
have received this communication in error and that any use
or reproduction of this email or its contents is strictly
prohibited and may be unlawful. If you have received this
communication in error, please notify us immediately by
replying to this message and deleting it from your computer.
Thank you". /

On Tue, May 31, 2016 at 3:28 AM, Bogdan-Andrei Iancu


Re: [OpenSIPS-Users] Opensips CP DROUTING GATEWAY enable/disable issue

Bogdan,

Based on what you have provided, I decided to change the boxes.global.inc.php
file as follows:

$box_id=0;


// mi host:port pair || fifo_file

*$boxes[$box_id]['mi']['conn']="127.0.0.1:8080 ";*

//boxes[$box_id]['mi']['conn']="/tmp/opensips_proxy_fifo";

It now is able to disable and enable the gateways. I'm not sure if anything
else is broken as a result but I will go through the testing.  Is there a
reason why it would not work using the fifo file instead?


Jeff Wilkie
Chief Technology Officer
US IP Communications
919.297.1057


*"This e-mail communication and any attachments may contain confidential
and privileged information and is for use by the designated addressee(s)
named above only. Any files transmitted with it are confidential and
intended solely for the use of the individual to whom it is addressed. Any
views or opinions presented are solely those of the author and do not
necessarily represent those of USIPCOM, LLC. If you are not the intended
addressee, you are hereby notified that you have received this
communication in error and that any use or reproduction of this email or
its contents is strictly prohibited and may be unlawful. If you have
received this communication in error, please notify us immediately by
replying to this message and deleting it from your computer. Thank you". *

On Thu, Jun 9, 2016 at 11:14 AM, Bogdan-Andrei Iancu 
wrote:

> Jeff,
>
> To have the CP connecting to OpenSIPS you can use any of the MI backends -
> FIFO, XMLRPC, UDP...any will do the trick. The downside of FIFO is that the
> CP and OpenSIPS must be on the same server.
>
> Regards,
>
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developerhttp://www.opensips-solutions.com
>
> On 09.06.2016 17:38, Jeff Wilkie wrote:
>
> Is XMLRPC required to make this function work?  Currently, we are only
> using the fifo method as the boxes.global.inc.php only referencing this
> method.  The documentation for CP says to use one or the other but does not
> mention that some functions will not work if not using XMLRPC.
>
> Thanks
> Jeff
>
> Jeff Wilkie
> Chief Technology Officer
> US IP Communications
> 919.297.1057
>
>
> *"This e-mail communication and any attachments may contain confidential
> and privileged information and is for use by the designated addressee(s)
> named above only. Any files transmitted with it are confidential and
> intended solely for the use of the individual to whom it is addressed. Any
> views or opinions presented are solely those of the author and do not
> necessarily represent those of USIPCOM, LLC. If you are not the intended
> addressee, you are hereby notified that you have received this
> communication in error and that any use or reproduction of this email or
> its contents is strictly prohibited and may be unlawful. If you have
> received this communication in error, please notify us immediately by
> replying to this message and deleting it from your computer. Thank you". *
>
> On Tue, Jun 7, 2016 at 6:52 AM, Bogdan-Andrei Iancu <
> bog...@opensips.org> wrote:
>
>> Hi Jeff,
>>
>> So, FIFO works ok for you, but CP (using xmlrpc fails). Can you make a
>> capture of the XMLRPC traffic between CP and OpenSIPS and post it somewhere
>> ?
>>
>> Regards,
>>
>> Bogdan-Andrei Iancu
>> OpenSIPS Founder and Developerhttp://www.opensips-solutions.com
>>
>> On 31.05.2016 17:27, Jeff Wilkie wrote:
>>
>> OpenSIPS Control Panel version 5.0
>>
>> Jeff Wilkie
>> Chief Technology Officer
>> US IP Communications
>> 919.297.1057
>>
>>
>> *"This e-mail communication and any attachments may contain confidential
>> and privileged information and is for use by the designated addressee(s)
>> named above only. Any files transmitted with it are confidential and
>> intended solely for the use of the individual to whom it is addressed. Any
>> views or opinions presented are solely those of the author and do not
>> necessarily represent those of USIPCOM, LLC. If you are not the intended
>> addressee, you are hereby notified that you have received this
>> communication in error and that any use or reproduction of this email or
>> its contents is strictly prohibited and may be unlawful. If you have
>> received this communication in error, please notify us immediately by
>> replying to this message and deleting it from your computer. Thank you". *
>>
>> On Tue, May 31, 2016 at 3:28 AM, Bogdan-Andrei Iancu <
>> bog...@opensips.org> wrote:
>>
>>> Hi Jeff,
>>>
>>> What OpenSIPS Control Panel version are you using ?
>>>
>>> Regards,
>>>
>>> Bogdan-Andrei Iancu
>>> OpenSIPS Founder and Developerhttp://www.opensips-solutions.com
>>>
>>> On 21.05.2016 00:15, Jeff Wilkie wrote:
>>>
>>> OPENSIPS 1.10.x
>>> I have the following set
>>>
>>> opensips.cfg
>>>
>>>  FIFO Management Interface
>>>
>>> loadmodule "mi_fifo.so"
>>>
>>> modparam("mi_fifo", "fifo_name", "/tmp/opensips_proxy_fifo")
>>>
>>> modparam("mi_fifo", "fifo_mode", 0666)
>>>

Re: [OpenSIPS-Users] Opensips CP DROUTING GATEWAY enable/disable issue

Yes. CP and opensips are on the same server.  Only the disable doesn't
work. I can enable them using CP.

Thanks

Jeff Wilkie
USIP Communications
On Jun 9, 2016 11:14 AM, "Bogdan-Andrei Iancu"  wrote:

> Jeff,
>
> To have the CP connecting to OpenSIPS you can use any of the MI backends -
> FIFO, XMLRPC, UDP...any will do the trick. The downside of FIFO is that the
> CP and OpenSIPS must be on the same server.
>
> Regards,
>
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developerhttp://www.opensips-solutions.com
>
> On 09.06.2016 17:38, Jeff Wilkie wrote:
>
> Is XMLRPC required to make this function work?  Currently, we are only
> using the fifo method as the boxes.global.inc.php only referencing this
> method.  The documentation for CP says to use one or the other but does not
> mention that some functions will not work if not using XMLRPC.
>
> Thanks
> Jeff
>
> Jeff Wilkie
> Chief Technology Officer
> US IP Communications
> 919.297.1057
>
>
> *"This e-mail communication and any attachments may contain confidential
> and privileged information and is for use by the designated addressee(s)
> named above only. Any files transmitted with it are confidential and
> intended solely for the use of the individual to whom it is addressed. Any
> views or opinions presented are solely those of the author and do not
> necessarily represent those of USIPCOM, LLC. If you are not the intended
> addressee, you are hereby notified that you have received this
> communication in error and that any use or reproduction of this email or
> its contents is strictly prohibited and may be unlawful. If you have
> received this communication in error, please notify us immediately by
> replying to this message and deleting it from your computer. Thank you". *
>
> On Tue, Jun 7, 2016 at 6:52 AM, Bogdan-Andrei Iancu 
> wrote:
>
>> Hi Jeff,
>>
>> So, FIFO works ok for you, but CP (using xmlrpc fails). Can you make a
>> capture of the XMLRPC traffic between CP and OpenSIPS and post it somewhere
>> ?
>>
>> Regards,
>>
>> Bogdan-Andrei Iancu
>> OpenSIPS Founder and Developerhttp://www.opensips-solutions.com
>>
>> On 31.05.2016 17:27, Jeff Wilkie wrote:
>>
>> OpenSIPS Control Panel version 5.0
>>
>> Jeff Wilkie
>> Chief Technology Officer
>> US IP Communications
>> 919.297.1057
>>
>>
>> *"This e-mail communication and any attachments may contain confidential
>> and privileged information and is for use by the designated addressee(s)
>> named above only. Any files transmitted with it are confidential and
>> intended solely for the use of the individual to whom it is addressed. Any
>> views or opinions presented are solely those of the author and do not
>> necessarily represent those of USIPCOM, LLC. If you are not the intended
>> addressee, you are hereby notified that you have received this
>> communication in error and that any use or reproduction of this email or
>> its contents is strictly prohibited and may be unlawful. If you have
>> received this communication in error, please notify us immediately by
>> replying to this message and deleting it from your computer. Thank you". *
>>
>> On Tue, May 31, 2016 at 3:28 AM, Bogdan-Andrei Iancu > > wrote:
>>
>>> Hi Jeff,
>>>
>>> What OpenSIPS Control Panel version are you using ?
>>>
>>> Regards,
>>>
>>> Bogdan-Andrei Iancu
>>> OpenSIPS Founder and Developerhttp://www.opensips-solutions.com
>>>
>>> On 21.05.2016 00:15, Jeff Wilkie wrote:
>>>
>>> OPENSIPS 1.10.x
>>> I have the following set
>>>
>>> opensips.cfg
>>>
>>>  FIFO Management Interface
>>>
>>> loadmodule "mi_fifo.so"
>>>
>>> modparam("mi_fifo", "fifo_name", "/tmp/opensips_proxy_fifo")
>>>
>>> modparam("mi_fifo", "fifo_mode", 0666)
>>>
>>> opensipsctlrc
>>>
>>> ## path to FIFO file
>>>
>>> OSIPS_FIFO="/tmp/opensips_proxy_fifo"
>>>
>>>
>>> Attempting to disable gateways via the CP gives the following errors:
>>>
>>>
>>> From DROUTING-Gateway interface:
>>>
>>>
>>> Error while disabling gateway 2
>>> (the GWID is 2 for the gateway I'm attempting to disable)
>>>
>>> From the MI Commands:
>>> Initiating the following command: *dr_gw_status 2 0*
>>> 404 GW ID not found
>>>
>>> From the DROUTING-Gateway interface I am able to enable the interface if
>>> it is disabled
>>> I'm able to also enable the Gateway from the MI Commands section.
>>>
>>> I'm also able to enable and disable the Gateway using opensipsctl fifo
>>> commands
>>>
>>> opensipsctl fifo dr_gw_status 2
>>>
>>> Enabled:: yes
>>>
>>> opensipsctl fifo dr_gw_status 2 0
>>>
>>> opensipsctl fifo dr_gw_status 2
>>>
>>> Enabled:: no
>>>
>>> opensipsctl fifo dr_gw_status 2 1
>>>
>>> opensipsctl fifo dr_gw_status 2
>>>
>>> Enabled:: yes
>>>
>>> Not sure where the problem is but I feel its somewhere in the syntax of
>>> how its delivered.  I'm sure it's something easy I've overlooked.  Any help
>>> on this?
>>>
>>> Thanks
>>> Jeff
>>>
>>>
>>> ___
>>> Users mailing 
>>> 

Re: [OpenSIPS-Users] Opensips CP DROUTING GATEWAY enable/disable issue


Jeff,

To have the CP connecting to OpenSIPS you can use any of the MI backends 
- FIFO, XMLRPC, UDP...any will do the trick. The downside of FIFO is 
that the CP and OpenSIPS must be on the same server.


Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 09.06.2016 17:38, Jeff Wilkie wrote:
Is XMLRPC required to make this function work?  Currently, we are only 
using the fifo method as the boxes.global.inc.php only referencing 
this method.  The documentation for CP says to use one or the other 
but does not mention that some functions will not work if not using 
XMLRPC.


Thanks
Jeff

Jeff Wilkie
Chief Technology Officer
US IP Communications
919.297.1057


/"This e-mail communication and any attachments may contain 
confidential and privileged information and is for use by the 
designated addressee(s) named above only. Any files transmitted with 
it are confidential and intended solely for the use of the individual 
to whom it is addressed. Any views or opinions presented are solely 
those of the author and do not necessarily represent those of USIPCOM, 
LLC. If you are not the intended addressee, you are hereby notified 
that you have received this communication in error and that any use or 
reproduction of this email or its contents is strictly prohibited and 
may be unlawful. If you have received this communication in error, 
please notify us immediately by replying to this message and deleting 
it from your computer. Thank you". /


On Tue, Jun 7, 2016 at 6:52 AM, Bogdan-Andrei Iancu 
> wrote:


Hi Jeff,

So, FIFO works ok for you, but CP (using xmlrpc fails). Can you
make a capture of the XMLRPC traffic between CP and OpenSIPS and
post it somewhere ?

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 31.05.2016 17:27, Jeff Wilkie wrote:


OpenSIPS Control Panel version 5.0


Jeff Wilkie
Chief Technology Officer
US IP Communications
919.297.1057 


/"This e-mail communication and any attachments may contain
confidential and privileged information and is for use by the
designated addressee(s) named above only. Any files transmitted
with it are confidential and intended solely for the use of the
individual to whom it is addressed. Any views or opinions
presented are solely those of the author and do not necessarily
represent those of USIPCOM, LLC. If you are not the intended
addressee, you are hereby notified that you have received this
communication in error and that any use or reproduction of this
email or its contents is strictly prohibited and may be unlawful.
If you have received this communication in error, please notify
us immediately by replying to this message and deleting it from
your computer. Thank you". /

On Tue, May 31, 2016 at 3:28 AM, Bogdan-Andrei Iancu
> wrote:

Hi Jeff,

What OpenSIPS Control Panel version are you using ?

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 21.05.2016 00:15, Jeff Wilkie wrote:

OPENSIPS 1.10.x
I have the following set

opensips.cfg

 FIFO Management Interface

loadmodule "mi_fifo.so"

modparam("mi_fifo", "fifo_name", "/tmp/opensips_proxy_fifo")

modparam("mi_fifo", "fifo_mode", 0666)


opensipsctlrc

## path to FIFO file

OSIPS_FIFO="/tmp/opensips_proxy_fifo"


Attempting to disable gateways via the CP gives the
following errors:


From DROUTING-Gateway interface:


Error while disabling gateway 2
(the GWID is 2 for the gateway I'm attempting to disable)

From the MI Commands:
Initiating the following command: *dr_gw_status 2 0*
404 GW ID not found

From the DROUTING-Gateway interface I am able to enable the
interface if it is disabled
I'm able to also enable the Gateway from the MI Commands
section.

I'm also able to enable and disable the Gateway using
opensipsctl fifo commands

opensipsctl fifo dr_gw_status 2

Enabled:: yes

opensipsctl fifo dr_gw_status 2 0

opensipsctl fifo dr_gw_status 2

Enabled:: no

opensipsctl fifo dr_gw_status 2 1

opensipsctl fifo dr_gw_status 2

Enabled:: yes


Not sure where the problem is but I feel its somewhere in
the syntax of how its delivered.  I'm sure it's something
easy I've overlooked.  Any help on this?

Thanks
Jeff


___
Users mailing list
Users@lists.opensips.org 

Re: [OpenSIPS-Users] Opensips CP DROUTING GATEWAY enable/disable issue

Is XMLRPC required to make this function work?  Currently, we are only
using the fifo method as the boxes.global.inc.php only referencing this
method.  The documentation for CP says to use one or the other but does not
mention that some functions will not work if not using XMLRPC.

Thanks
Jeff

Jeff Wilkie
Chief Technology Officer
US IP Communications
919.297.1057


*"This e-mail communication and any attachments may contain confidential
and privileged information and is for use by the designated addressee(s)
named above only. Any files transmitted with it are confidential and
intended solely for the use of the individual to whom it is addressed. Any
views or opinions presented are solely those of the author and do not
necessarily represent those of USIPCOM, LLC. If you are not the intended
addressee, you are hereby notified that you have received this
communication in error and that any use or reproduction of this email or
its contents is strictly prohibited and may be unlawful. If you have
received this communication in error, please notify us immediately by
replying to this message and deleting it from your computer. Thank you". *

On Tue, Jun 7, 2016 at 6:52 AM, Bogdan-Andrei Iancu 
wrote:

> Hi Jeff,
>
> So, FIFO works ok for you, but CP (using xmlrpc fails). Can you make a
> capture of the XMLRPC traffic between CP and OpenSIPS and post it somewhere
> ?
>
> Regards,
>
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developerhttp://www.opensips-solutions.com
>
> On 31.05.2016 17:27, Jeff Wilkie wrote:
>
> OpenSIPS Control Panel version 5.0
>
> Jeff Wilkie
> Chief Technology Officer
> US IP Communications
> 919.297.1057
>
>
> *"This e-mail communication and any attachments may contain confidential
> and privileged information and is for use by the designated addressee(s)
> named above only. Any files transmitted with it are confidential and
> intended solely for the use of the individual to whom it is addressed. Any
> views or opinions presented are solely those of the author and do not
> necessarily represent those of USIPCOM, LLC. If you are not the intended
> addressee, you are hereby notified that you have received this
> communication in error and that any use or reproduction of this email or
> its contents is strictly prohibited and may be unlawful. If you have
> received this communication in error, please notify us immediately by
> replying to this message and deleting it from your computer. Thank you". *
>
> On Tue, May 31, 2016 at 3:28 AM, Bogdan-Andrei Iancu <
> bog...@opensips.org> wrote:
>
>> Hi Jeff,
>>
>> What OpenSIPS Control Panel version are you using ?
>>
>> Regards,
>>
>> Bogdan-Andrei Iancu
>> OpenSIPS Founder and Developerhttp://www.opensips-solutions.com
>>
>> On 21.05.2016 00:15, Jeff Wilkie wrote:
>>
>> OPENSIPS 1.10.x
>> I have the following set
>>
>> opensips.cfg
>>
>>  FIFO Management Interface
>>
>> loadmodule "mi_fifo.so"
>>
>> modparam("mi_fifo", "fifo_name", "/tmp/opensips_proxy_fifo")
>>
>> modparam("mi_fifo", "fifo_mode", 0666)
>>
>> opensipsctlrc
>>
>> ## path to FIFO file
>>
>> OSIPS_FIFO="/tmp/opensips_proxy_fifo"
>>
>>
>> Attempting to disable gateways via the CP gives the following errors:
>>
>>
>> From DROUTING-Gateway interface:
>>
>>
>> Error while disabling gateway 2
>> (the GWID is 2 for the gateway I'm attempting to disable)
>>
>> From the MI Commands:
>> Initiating the following command: *dr_gw_status 2 0*
>> 404 GW ID not found
>>
>> From the DROUTING-Gateway interface I am able to enable the interface if
>> it is disabled
>> I'm able to also enable the Gateway from the MI Commands section.
>>
>> I'm also able to enable and disable the Gateway using opensipsctl fifo
>> commands
>>
>> opensipsctl fifo dr_gw_status 2
>>
>> Enabled:: yes
>>
>> opensipsctl fifo dr_gw_status 2 0
>>
>> opensipsctl fifo dr_gw_status 2
>>
>> Enabled:: no
>>
>> opensipsctl fifo dr_gw_status 2 1
>>
>> opensipsctl fifo dr_gw_status 2
>>
>> Enabled:: yes
>>
>> Not sure where the problem is but I feel its somewhere in the syntax of
>> how its delivered.  I'm sure it's something easy I've overlooked.  Any help
>> on this?
>>
>> Thanks
>> Jeff
>>
>>
>> ___
>> 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] Opensips CP DROUTING GATEWAY enable/disable issue


Hi Jeff,

So, FIFO works ok for you, but CP (using xmlrpc fails). Can you make a 
capture of the XMLRPC traffic between CP and OpenSIPS and post it 
somewhere ?


Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 31.05.2016 17:27, Jeff Wilkie wrote:


OpenSIPS Control Panel version 5.0


Jeff Wilkie
Chief Technology Officer
US IP Communications
919.297.1057


/"This e-mail communication and any attachments may contain 
confidential and privileged information and is for use by the 
designated addressee(s) named above only. Any files transmitted with 
it are confidential and intended solely for the use of the individual 
to whom it is addressed. Any views or opinions presented are solely 
those of the author and do not necessarily represent those of USIPCOM, 
LLC. If you are not the intended addressee, you are hereby notified 
that you have received this communication in error and that any use or 
reproduction of this email or its contents is strictly prohibited and 
may be unlawful. If you have received this communication in error, 
please notify us immediately by replying to this message and deleting 
it from your computer. Thank you". /


On Tue, May 31, 2016 at 3:28 AM, Bogdan-Andrei Iancu 
> wrote:


Hi Jeff,

What OpenSIPS Control Panel version are you using ?

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 21.05.2016 00:15, Jeff Wilkie wrote:

OPENSIPS 1.10.x
I have the following set

opensips.cfg

 FIFO Management Interface

loadmodule "mi_fifo.so"

modparam("mi_fifo", "fifo_name", "/tmp/opensips_proxy_fifo")

modparam("mi_fifo", "fifo_mode", 0666)


opensipsctlrc

## path to FIFO file

OSIPS_FIFO="/tmp/opensips_proxy_fifo"


Attempting to disable gateways via the CP gives the following errors:


From DROUTING-Gateway interface:


Error while disabling gateway 2
(the GWID is 2 for the gateway I'm attempting to disable)

From the MI Commands:
Initiating the following command: *dr_gw_status 2 0*
404 GW ID not found

From the DROUTING-Gateway interface I am able to enable the
interface if it is disabled
I'm able to also enable the Gateway from the MI Commands section.

I'm also able to enable and disable the Gateway using opensipsctl
fifo commands

opensipsctl fifo dr_gw_status 2

Enabled:: yes

opensipsctl fifo dr_gw_status 2 0

opensipsctl fifo dr_gw_status 2

Enabled:: no

opensipsctl fifo dr_gw_status 2 1

opensipsctl fifo dr_gw_status 2

Enabled:: yes


Not sure where the problem is but I feel its somewhere in the
syntax of how its delivered.  I'm sure it's something easy I've
overlooked.  Any help on this?

Thanks
Jeff


___
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] Opensips CP DROUTING GATEWAY enable/disable issue

OpenSIPS Control Panel version 5.0

Jeff Wilkie
Chief Technology Officer
US IP Communications
919.297.1057


*"This e-mail communication and any attachments may contain confidential
and privileged information and is for use by the designated addressee(s)
named above only. Any files transmitted with it are confidential and
intended solely for the use of the individual to whom it is addressed. Any
views or opinions presented are solely those of the author and do not
necessarily represent those of USIPCOM, LLC. If you are not the intended
addressee, you are hereby notified that you have received this
communication in error and that any use or reproduction of this email or
its contents is strictly prohibited and may be unlawful. If you have
received this communication in error, please notify us immediately by
replying to this message and deleting it from your computer. Thank you". *

On Tue, May 31, 2016 at 3:28 AM, Bogdan-Andrei Iancu 
wrote:

> Hi Jeff,
>
> What OpenSIPS Control Panel version are you using ?
>
> Regards,
>
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developerhttp://www.opensips-solutions.com
>
> On 21.05.2016 00:15, Jeff Wilkie wrote:
>
> OPENSIPS 1.10.x
> I have the following set
>
> opensips.cfg
>
>  FIFO Management Interface
>
> loadmodule "mi_fifo.so"
>
> modparam("mi_fifo", "fifo_name", "/tmp/opensips_proxy_fifo")
>
> modparam("mi_fifo", "fifo_mode", 0666)
>
> opensipsctlrc
>
> ## path to FIFO file
>
> OSIPS_FIFO="/tmp/opensips_proxy_fifo"
>
>
> Attempting to disable gateways via the CP gives the following errors:
>
>
> From DROUTING-Gateway interface:
>
>
> Error while disabling gateway 2
> (the GWID is 2 for the gateway I'm attempting to disable)
>
> From the MI Commands:
> Initiating the following command: *dr_gw_status 2 0*
> 404 GW ID not found
>
> From the DROUTING-Gateway interface I am able to enable the interface if
> it is disabled
> I'm able to also enable the Gateway from the MI Commands section.
>
> I'm also able to enable and disable the Gateway using opensipsctl fifo
> commands
>
> opensipsctl fifo dr_gw_status 2
>
> Enabled:: yes
>
> opensipsctl fifo dr_gw_status 2 0
>
> opensipsctl fifo dr_gw_status 2
>
> Enabled:: no
>
> opensipsctl fifo dr_gw_status 2 1
>
> opensipsctl fifo dr_gw_status 2
>
> Enabled:: yes
>
> Not sure where the problem is but I feel its somewhere in the syntax of
> how its delivered.  I'm sure it's something easy I've overlooked.  Any help
> on this?
>
> Thanks
> Jeff
>
>
> ___
> 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] Opensips CP DROUTING GATEWAY enable/disable issue


Hi Jeff,

What OpenSIPS Control Panel version are you using ?

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 21.05.2016 00:15, Jeff Wilkie wrote:

OPENSIPS 1.10.x
I have the following set

opensips.cfg

 FIFO Management Interface

loadmodule "mi_fifo.so"

modparam("mi_fifo", "fifo_name", "/tmp/opensips_proxy_fifo")

modparam("mi_fifo", "fifo_mode", 0666)


opensipsctlrc

## path to FIFO file

OSIPS_FIFO="/tmp/opensips_proxy_fifo"


Attempting to disable gateways via the CP gives the following errors:


From DROUTING-Gateway interface:


Error while disabling gateway 2
(the GWID is 2 for the gateway I'm attempting to disable)

From the MI Commands:
Initiating the following command: *dr_gw_status 2 0*
404 GW ID not found

From the DROUTING-Gateway interface I am able to enable the interface 
if it is disabled

I'm able to also enable the Gateway from the MI Commands section.

I'm also able to enable and disable the Gateway using opensipsctl fifo 
commands


opensipsctl fifo dr_gw_status 2

Enabled:: yes

opensipsctl fifo dr_gw_status 2 0

opensipsctl fifo dr_gw_status 2

Enabled:: no

opensipsctl fifo dr_gw_status 2 1

opensipsctl fifo dr_gw_status 2

Enabled:: yes


Not sure where the problem is but I feel its somewhere in the syntax 
of how its delivered.  I'm sure it's something easy I've overlooked.  
Any help on this?


Thanks
Jeff


___
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] Opensips CP DROUTING GATEWAY enable/disable issue

OPENSIPS 1.10.x
I have the following set

opensips.cfg

 FIFO Management Interface

loadmodule "mi_fifo.so"

modparam("mi_fifo", "fifo_name", "/tmp/opensips_proxy_fifo")

modparam("mi_fifo", "fifo_mode", 0666)

opensipsctlrc

## path to FIFO file

OSIPS_FIFO="/tmp/opensips_proxy_fifo"


Attempting to disable gateways via the CP gives the following errors:


>From DROUTING-Gateway interface:


Error while disabling gateway 2
(the GWID is 2 for the gateway I'm attempting to disable)

>From the MI Commands:
Initiating the following command: *dr_gw_status 2 0*
404 GW ID not found

>From the DROUTING-Gateway interface I am able to enable the interface if it
is disabled
I'm able to also enable the Gateway from the MI Commands section.

I'm also able to enable and disable the Gateway using opensipsctl fifo
commands

opensipsctl fifo dr_gw_status 2

Enabled:: yes

opensipsctl fifo dr_gw_status 2 0

opensipsctl fifo dr_gw_status 2

Enabled:: no

opensipsctl fifo dr_gw_status 2 1

opensipsctl fifo dr_gw_status 2

Enabled:: yes

Not sure where the problem is but I feel its somewhere in the syntax of how
its delivered.  I'm sure it's something easy I've overlooked.  Any help on
this?

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


Re: [OpenSIPS-Users] OpenSips-CP Not Working


Hi,

be sure you have the MDB2 php pear installed on your system (see the 
Install Guide from the Documentation section at 
http://opensips-cp.sourceforge.net/)


Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 19.09.2015 13:01, Muhammad Usman Shahid wrote:

I checked the logs and they have the following information

[Sat Sep 19 14:53:13.915427 2015] [:error] [pid 1928] [client 
127.0.0.1:47528 ] PHP Warning:  Creating 
default object from empty value in 
/var/www/opensips-cp/config/db.inc.php on line 25, referer: 
http://127.0.0.1/opensips-cp/web/


[Sat Sep 19 14:53:13.999544 2015] [:error] [pid 1928] [client 
127.0.0.1:47528 ] PHP Fatal error:  Call to 
undefined method MDB2_Error::setFetchMode() in 
/var/www/opensips-cp/web/db_connect.php on line 31, referer: 
http://127.0.0.1/opensips-cp/web/


Line 25 of db.inc.php is:

* $config->db_driver = "mysql";*

Line 31 of db_connect.php is:

*$link->setFetchMode(MDB2_FETCHMODE_ASSOC);*

I still don't understand what the problem is. Please help in solving this.

Regards


On Thu, Sep 17, 2015 at 12:06 AM, Giovanni Maruzzelli 
> wrote:


Check the web server logs

sent from my mobile,
Giovanni Maruzzelli
cell: +39 347 266 56 18

On Sep 16, 2015 9:03 PM, "Muhammad Usman Shahid"
> wrote:

The following error occurs in Javascript console when I try to
login to Opensips-cp

POST http://192.168.1.15/opensips-cp/web/login.php 500
(Internal Server Error)

Please help

On Wed, Sep 16, 2015 at 10:38 PM, Muhammad Usman Shahid
> wrote:

Hello,

I am trying to run opensips-cp but after I input username
and password my browser opens "login.php" but nothing shows.

I am using the following tutorial.


http://www.opensips.org/Documentation/Tutorials-OpenSIPSFreeSwitchIntegration

Please help.

-- 
Muhammad Usman Shahid.





-- 
Muhammad Usman Shahid.


___
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




--
Muhammad Usman Shahid.


___
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] OpenSips-CP Not Working

I checked the logs and they have the following information

[Sat Sep 19 14:53:13.915427 2015] [:error] [pid 1928] [client
127.0.0.1:47528] PHP Warning:  Creating default object from empty value in
/var/www/opensips-cp/config/db.inc.php on line 25, referer:
http://127.0.0.1/opensips-cp/web/

[Sat Sep 19 14:53:13.999544 2015] [:error] [pid 1928] [client
127.0.0.1:47528] PHP Fatal error:  Call to undefined method
MDB2_Error::setFetchMode() in /var/www/opensips-cp/web/db_connect.php on
line 31, referer: http://127.0.0.1/opensips-cp/web/

Line 25 of db.inc.php is:

* $config->db_driver = "mysql";*

Line 31 of db_connect.php is:

*$link->setFetchMode(MDB2_FETCHMODE_ASSOC);*

I still don't understand what the problem is. Please help in solving this.

Regards


On Thu, Sep 17, 2015 at 12:06 AM, Giovanni Maruzzelli 
wrote:

> Check the web server logs
>
> sent from my mobile,
> Giovanni Maruzzelli
> cell: +39 347 266 56 18
> On Sep 16, 2015 9:03 PM, "Muhammad Usman Shahid" <
> usmanshahidmuham...@gmail.com> wrote:
>
>> The following error occurs in Javascript console when I try to login to
>> Opensips-cp
>>
>> POST http://192.168.1.15/opensips-cp/web/login.php 500 (Internal Server
>> Error)
>>
>> Please help
>>
>> On Wed, Sep 16, 2015 at 10:38 PM, Muhammad Usman Shahid <
>> usmanshahidmuham...@gmail.com> wrote:
>>
>>> Hello,
>>>
>>> I am trying to run opensips-cp but after I input username and password
>>> my browser opens "login.php" but nothing shows.
>>>
>>> I am using the following tutorial.
>>>
>>>
>>> http://www.opensips.org/Documentation/Tutorials-OpenSIPSFreeSwitchIntegration
>>>
>>> Please help.
>>>
>>> --
>>> Muhammad Usman Shahid.
>>>
>>
>>
>>
>> --
>> Muhammad Usman Shahid.
>>
>> ___
>> 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
>
>


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


Re: [OpenSIPS-Users] OpenSips-CP Not Working

Check the web server logs

sent from my mobile,
Giovanni Maruzzelli
cell: +39 347 266 56 18
On Sep 16, 2015 9:03 PM, "Muhammad Usman Shahid" <
usmanshahidmuham...@gmail.com> wrote:

> The following error occurs in Javascript console when I try to login to
> Opensips-cp
>
> POST http://192.168.1.15/opensips-cp/web/login.php 500 (Internal Server
> Error)
>
> Please help
>
> On Wed, Sep 16, 2015 at 10:38 PM, Muhammad Usman Shahid <
> usmanshahidmuham...@gmail.com> wrote:
>
>> Hello,
>>
>> I am trying to run opensips-cp but after I input username and password my
>> browser opens "login.php" but nothing shows.
>>
>> I am using the following tutorial.
>>
>>
>> http://www.opensips.org/Documentation/Tutorials-OpenSIPSFreeSwitchIntegration
>>
>> Please help.
>>
>> --
>> Muhammad Usman Shahid.
>>
>
>
>
> --
> Muhammad Usman Shahid.
>
> ___
> 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] OpenSips-CP Not Working

The following error occurs in Javascript console when I try to login to
Opensips-cp

POST http://192.168.1.15/opensips-cp/web/login.php 500 (Internal Server
Error)

Please help

On Wed, Sep 16, 2015 at 10:38 PM, Muhammad Usman Shahid <
usmanshahidmuham...@gmail.com> wrote:

> Hello,
>
> I am trying to run opensips-cp but after I input username and password my
> browser opens "login.php" but nothing shows.
>
> I am using the following tutorial.
>
>
> http://www.opensips.org/Documentation/Tutorials-OpenSIPSFreeSwitchIntegration
>
> Please help.
>
> --
> Muhammad Usman Shahid.
>



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


[OpenSIPS-Users] OpenSips-CP Not Working

Hello,

I am trying to run opensips-cp but after I input username and password my
browser opens "login.php" but nothing shows.

I am using the following tutorial.

http://www.opensips.org/Documentation/Tutorials-OpenSIPSFreeSwitchIntegration

Please help.

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


[OpenSIPS-Users] opensips-cp problem

Hi all,Well I am a new to opensips and I have installed opensips for the third 
times so far,
until now I can go to the opensips-cp in the web and putting admin and admin 
password 
then blank page came out meaning it will not take me to the main.php and 
menu.php etc...

I am using opensips-2.1.0 and debain whzeey. opensips-cp 6.1


I had this problem for a month which I cant fix it. 
Any help will be appriciated ..
Thanks and Regards
Ahmed Alneami  
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] opensips-cp problem

Hi Ahmed,

Have you set

short_open_tag = On ;  

In your php.ini file?

Also tailing your http error and access  logs might give you some
insight to your problem.


Regards
Trevor Steyn


On 27/07/2015 16:15, alneami_ah...@yahoo.co.uk wrote:
 Hi all,
 Well I am a new to opensips and I have installed opensips for the
 third times so far,

 until now I can go to the opensips-cp in the web and putting admin and
 admin password
 then blank page came out
 meaning it will not take me to the main.php and menu.php etc...

 I am using opensips-2.1.0 and debain whzeey. opensips-cp 6.1


 I had this problem for a month which I cant fix it.
 Any help will be appriciated ..

 Thanks and Regards

 Ahmed Alneami 


 ___
 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] OpenSIPS-CP + SQLite. Possible?

Hi Alex.

Thank you very much.

As soon as I get it running well, I will let you know, in this list.

Regards.


RODRIGO PIMENTA CARVALHO
Inatel Competence Center
Software
Ph: +55 35 3471 9200 RAMAL 979(Brasil)

De: users-boun...@lists.opensips.org users-boun...@lists.opensips.org em nome 
de Alex Ionescu a...@opensips.org
Enviado: terça-feira, 21 de julho de 2015 05:44
Para: users@lists.opensips.org
Assunto: Re: [OpenSIPS-Users] OpenSIPS-CP + SQLite. Possible?

Hi,

Actually it should be very possible. OpenSIPS-CP uses Pear MDB2 database 
abstraction layer.
So all you need to do is installing Pear MDB2 SQLite driver. 
(https://pear.php.net/package/MDB2_Driver_sqlite) and adjust the 
(config/db.inc.php) accordingly ($config-db_driver = sqllite;)


The guys from Pear say that MDB2 currently supported database backends are:

fbsql  - FrontBase
ibase  - InterBase / Firebird (requires PHP 5)
mssql  - Microsoft SQL Server (NOT for Sybase. Compile PHP --with-mssql)
mysql  - MySQL
mysqli - MySQL (supports new authentication protocol) (requires PHP 5)
oci8   - Oracle 7/8/9/10
pgsql  - PostgreSQL
querysim - QuerySim
sqlite - SQLite 2


I haven't tested this but if you do it just let us know how it went.

Hope this helps you.

Best regards,
Alex


On 20.07.2015 23:10, Rodrigo Pimenta Carvalho wrote:

Hi.

Just to confirm:


Nowadays it is not possible to use OpenSIPS Control Panel and SQLite, is it?


Regards.


RODRIGO PIMENTA CARVALHO
Inatel Competence Center
Software
Ph: +55 35 3471 9200 RAMAL 979(Brasil)



___
Users mailing list
Users@lists.opensips.orgmailto: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] OpenSIPS-CP + SQLite. Possible?


Hi,

Actually it should be very possible. OpenSIPS-CP uses Pear MDB2 database 
abstraction layer.
So all you need to do is installing Pear MDB2 SQLite driver. 
(https://pear.php.net/package/MDB2_Driver_sqlite) and adjust the 
(config/db.inc.php) accordingly ($config-db_driver = sqllite;)


The guys from Pear say that MDB2 currently supported database backends are:

fbsql  - FrontBase
ibase  - InterBase / Firebird (requires PHP 5)
mssql  - Microsoft SQL Server (NOT for Sybase. Compile PHP --with-mssql)
mysql  - MySQL
mysqli - MySQL (supports new authentication protocol) (requires PHP 5)
oci8   - Oracle 7/8/9/10
pgsql  - PostgreSQL
querysim - QuerySim
sqlite - SQLite 2


I haven't tested this but if you do it just let us know how it went.

Hope this helps you.

Best regards,
Alex


On 20.07.2015 23:10, Rodrigo Pimenta Carvalho wrote:


Hi.

Just to confirm:


Nowadays it is not possible to use OpenSIPS Control Panel and SQLite, 
is it?



Regards.


RODRIGO PIMENTA CARVALHO
Inatel Competence Center
Software
Ph: +55 35 3471 9200 RAMAL 979(Brasil)


___
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] OpenSIPS-CP + SQLite. Possible?

Hi.

Just to confirm:


Nowadays it is not possible to use OpenSIPS Control Panel and SQLite, is it?


Regards.


RODRIGO PIMENTA CARVALHO
Inatel Competence Center
Software
Ph: +55 35 3471 9200 RAMAL 979(Brasil)
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] opensips-cp dispatcher issue

I found issue, you have to add destination with port otherwise it won't
give you status

sip:10.10.10.10:5060

One more issue, in opensips-cp it is showing status Active and Inactive
 but it is not showing Probing status

On Tue, Apr 21, 2015 at 6:56 PM, Podrigal, Aron ar...@guaranteedplus.com
wrote:

 status can be either Enabled, Disabled, Probing so what you see in the web
 interface is I guess that it is not disabled.  Correct me if I'm wrong.

 On Tue, Apr 21, 2015 at 6:44 PM, Satish Patel satish@gmail.com
 wrote:

 In command line it is showing

 root@dispatcher1:/var/www# opensipsctl dispatcher dump
 SET:: 1
 URI:: sip:173.XXX.XXX.181 state=Probing


 But on Opensips-cp web interface it is showing

 DB state: Active

 Look like it is not syncing with opensips properly.

 what would be the issue?




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




 --
 Aron Podrigal
 -
 //Be happy :-)

 ___
 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] opensips-cp dispatcher issue

status can be either Enabled, Disabled, Probing so what you see in the web
interface is I guess that it is not disabled.  Correct me if I'm wrong.

On Tue, Apr 21, 2015 at 6:44 PM, Satish Patel satish@gmail.com wrote:

 In command line it is showing

 root@dispatcher1:/var/www# opensipsctl dispatcher dump
 SET:: 1
 URI:: sip:173.XXX.XXX.181 state=Probing


 But on Opensips-cp web interface it is showing

 DB state: Active

 Look like it is not syncing with opensips properly.

 what would be the issue?




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




-- 
Aron Podrigal
-
//Be happy :-)
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] opensips-cp dispatcher issue

In command line it is showing

root@dispatcher1:/var/www# opensipsctl dispatcher dump
SET:: 1
URI:: sip:173.XXX.XXX.181 state=Probing


But on Opensips-cp web interface it is showing

DB state: Active

Look like it is not syncing with opensips properly.

what would be the issue?
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


  1   2   3   >