[OpenSIPS-Devel] [ opensips-Bugs-2919881 ] opensipsctl: line 153: usage_trusted: command not found
SourceForge.net
noreply at sourceforge.net
Wed Dec 23 08:36:56 CET 2009
Bugs item #2919881, was opened at 2009-12-23 10:36
Message generated for change (Tracker Item Submitted) made by yarq
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: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Yar Tikhiy (yarq)
Assigned to: Nobody/Anonymous (nobody)
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!
----------------------------------------------------------------------
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