[OpenSIPS-Users] Fwd: opensips-3.0 console commands .

Ben Newlin Ben.Newlin at genesys.com
Thu May 16 07:31:16 EDT 2019


Sasmita,

I haven’t tried 3.0 yet, but I’ve seen a few references on this mailing list that opensipsctl is deprecated in 3.0 in favor of a new tool called opensips-cli (?).

Ben Newlin

From: Users <users-bounces at lists.opensips.org> on behalf of Sasmita Panda <spanda at 3clogic.com>
Reply-To: OpenSIPS users mailling list <users at lists.opensips.org>
Date: Thursday, May 16, 2019 at 3:23 AM
To: OpenSIPS users mailling list <users at lists.opensips.org>
Subject: [OpenSIPS-Users] Fwd: opensips-3.0 console commands .


In opensips 2 .4 , 1.11 ,  when I am running console commands its giving output . like .

 /home/ec2-user/sbin/opensipsctl dr show
dr gateways
Warning: Using a password on the command line interface can be insecure.
+----+------+------+---------------------+-------+------------+-------+------------+-------+--------+-------------+
| id | gwid | type | address             | strip | pri_prefix | attrs | probe_mode | state | socket | description |
+----+------+------+---------------------+-------+------------+-------+------------+-------+--------+-------------+
|  1 | gw2  |    3 | 162.243.203.27:5080<http://162.243.203.27:5080> |     0 |            |       |          0 |     0 | NULL   | gateway2    |
+----+------+------+---------------------+-------+------------+-------+------------+-------+--------+-------------+
dr groups
Warning: Using a password on the command line interface can be insecure.
dr carriers
Warning: Using a password on the command line interface can be insecure.
dr rules
Warning: Using a password on the command line interface can be insecure.


But in case of 3.0 , while running the same command it saying " unknow command dr " .  I have changed the  opensipsctl ,  opensipsctl.base  these two files  to support drouting and dialplan . Still facing the same issue .
Bellow is the file what  I have changed .  Please do help me what else I need to do . Without this I  can't use this version in production .


Thanks & Regards
Sasmita Panda
Senior Network Testing and Software Engineer
3CLogic , ph:07827611765


On Tue, May 14, 2019 at 3:49 PM Sasmita Panda <spanda at 3clogic.com<mailto:spanda at 3clogic.com>> wrote:
Hi All ,


I am trying to upgrade my opensips code from 2.4 to 3.0 . I am not getting the console commands for modifying dynamic routing and dialplan table  .

Is this not added intentionally or this is in future plan .


Thanks & Regards
Sasmita Panda
Senior Network Testing and Software Engineer
3CLogic , ph:07827611765
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20190516/dfe7d117/attachment-0001.html>


More information about the Users mailing list