THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task is now closed:
FS#132 - DBTEXT
User who did this - Daniel-Constantin Mierla (miconda)
Reason for closing: Fixed
Additional comments about closing: openser db name was replaced by kamailio
More information can be found at the following URL:
https://sip-router.org/tracker/index.php?do=details&task_id=132
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task is now closed:
FS#110 - alias_db: support user to alias conversion
User who did this - Daniel-Constantin Mierla (miconda)
Reason for closing: Not a bug
Additional comments about closing: No patch provided for very long time.
More information can be found at the following URL:
https://sip-router.org/tracker/index.php?do=details&task_id=110
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#89 - tls module 'config' param can point to directory
User who did this - Daniel-Constantin Mierla (miconda)
----------
Was this committed?
----------
More information can be found at the following URL:
https://sip-router.org/tracker/index.php?do=details&task_id=89#comment959
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
Daniel-Constantin Mierla has taken ownership of the following task:
FS#89 - tls module 'config' param can point to directory
More information can be found at the following URL:
https://sip-router.org/tracker/index.php?do=details&task_id=89
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task is now closed:
FS#55 - Extending TM timeout/408 handling
User who did this - Daniel-Constantin Mierla (miconda)
Reason for closing: Implemented
More information can be found at the following URL:
https://sip-router.org/tracker/index.php?do=details&task_id=55
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#55 - Extending TM timeout/408 handling
User who did this - Daniel-Constantin Mierla (miconda)
----------
$T(reply_type)==1 can be used to detect if the reply is generated locally, probably helping to detect the case you were looking for. Reopen if otherwise.
----------
More information can be found at the following URL:
https://sip-router.org/tracker/index.php?do=details&task_id=55#comment958
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task is now closed:
FS#49 - per module debug level
User who did this - Daniel-Constantin Mierla (miconda)
Reason for closing: Implemented
More information can be found at the following URL:
https://sip-router.org/tracker/index.php?do=details&task_id=49
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
Module: sip-router
Branch: master
Commit: ea772b354f84eccff0190234025f057879ff33ed
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=ea772b3…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Sat Jun 15 22:03:58 2013 +0200
kamctl: new commands can be defined in separate files
- write new kamctl commands either in CFGDIR/kamctl.newcmd.ext or
~/.kamctl/kamctl.newcmd.ext
- 'newcmd' has to be replaced with the name of the command
- the file must include cmd_newcmd() function which is executed with the
parameters after the command name
- example: adding new command 'sample'
- content of ~/.kamctl/kamctl.sample.ext file:
usage_sample() {
echo
mecho " -- command 'sample' - kamctl sample extension command"
echo
cat <<EOF
test ............................... print test message
help ............................... help text
EOF
}
cmd_sample() {
case $1 in
test)
echo "message from sample test command"
;;
*)
usage_sample
;;
esac
exit 1;
}
- new command 'sample' can be executed with:
kamctl sample test
---
utils/kamctl/kamctl | 21 +++++++++++++++++++++
1 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/utils/kamctl/kamctl b/utils/kamctl/kamctl
index 4583926..0dee374 100755
--- a/utils/kamctl/kamctl
+++ b/utils/kamctl/kamctl
@@ -2524,6 +2524,25 @@ tls_ca() {
fi
}
+extcmd() {
+ if [ -f $ETCDIR/kamctl.${1}.ext ]; then
+ . $ETCDIR/kamctl.${1}.ext
+ else
+ if [ -f ~/.kamctl/kamctl.${1}.ext ]; then
+ . ~/.kamctl/kamctl.${1}.ext
+ else
+ return
+ fi
+ fi
+
+ XCMD=cmd_${1}
+
+ shift
+ $XCMD "$@"
+
+ exit 1
+}
+
#
##### ================================================ #####
### main command switch
@@ -2705,6 +2724,8 @@ case $1 in
;;
*)
+ extcmd "$@"
+
usage
exit 1
;;