[OpenSIPS-Devel] [ opensips-Bugs-2919881 ] opensipsctl: line 153: usage_trusted: command not found

SourceForge.net noreply at sourceforge.net
Thu Dec 24 09:07:02 CET 2009


Bugs item #2919881, was opened at 2009-12-23 09:36
Message generated for change (Comment added) made by bogdan_iancu
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2919881&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
>Category: tools
>Group: 1.6.x
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Yar Tikhiy (yarq)
>Assigned to: Bogdan-Andrei Iancu (bogdan_iancu)
Summary: opensipsctl: line 153: usage_trusted: command not found

Initial Comment:
Due to a minor bug, opensipsctl usage screen displays "usage_trusted: command not found" instead of usage for `address'.  For example:

 -- command 'add|passwd|rm' - manage subscribers

 add <username> <password> .......... add a new subscriber (*)
 passwd <username> <passwd> ......... change user's password (*)
 rm <username> ...................... delete a user (*)
/usr/sbin/opensipsctl: line 153: usage_trusted: command not found

 -- command 'dispatcher' - manage dispatcher

The fix is trivial:

--- opensipsctl.base.orig       2009-10-16 14:34:45.000000000 +0000
+++ opensipsctl.base    2009-12-23 07:27:53.000000000 +0000
@@ -441,7 +441,7 @@
             ....................... for the given grp ip mask port
 EOF
 }
-USAGE_FUNCTIONS="$USAGE_FUNCTIONS usage_trusted"
+USAGE_FUNCTIONS="$USAGE_FUNCTIONS usage_address"
 
 usage_dispatcher() {
        echo

Thanks!

----------------------------------------------------------------------

>Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2009-12-24 10:07

Message:
Hi Yar,

Thanks again - I included your fix on SVN and latest tarballs.

Regards,
Bogdan

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2919881&group_id=232389



More information about the Devel mailing list