THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#329 - SCA - Primary line appearance hangs when secondary is picked up.
User who did this - Andrew Mortensen (admorten)
----------
Are you able to test with the admorten/sca branch? I believe this issue is fixed there.
----------
More information can be found at the following URL:
https://sip-router.org/tracker/index.php?do=details&task_id=329#comment1042
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.
Andrew Mortensen has taken ownership of the following task:
FS#329 - SCA - Primary line appearance hangs when secondary is picked up.
More information can be found at the following URL:
https://sip-router.org/tracker/index.php?do=details&task_id=329
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#327 - bugs in uac_redirect module
User who did this - Federico Cabiddu (lester)
----------
I tested the patches cherry picking from master to 4.0 and everything works fine.
Thank you.
----------
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=327#comment1041
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#327 - bugs in uac_redirect module
User who did this - Daniel-Constantin Mierla (miconda)
----------
I applied the second part of the patch, the one for db_flatstore. It is on master branch for now. I followed with another patch freeing allocated memory in case of failure and for safety reasons, to keep table name null terminated, as supposedly was when no local copy was done.
Can you test to see if all goes ok with latest version?
----------
More information can be found at the following URL:
https://sip-router.org/tracker/index.php?do=details&task_id=327#comment1040
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: 4bc07b15ae9a490273b2696b2860f78ebbd18104
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=4bc07b1…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Thu Aug 1 14:35:16 2013 +0200
kamctl: shortcut command to do q query to a database based on key and value
- kamctl db smatch table key value - return the record from table that
has column key matching the value as string (quoted value)
- kamctl db nmatch table key value - return the record from table that
has column key matching the value as non-quoted
- examples:
kamctl db smatch subscriber username test
kamctl db nmatch subscriber id 123
---
utils/kamctl/kamctl | 18 ++++++++++++++++++
utils/kamctl/kamctl.sqlbase | 4 ++++
2 files changed, 22 insertions(+), 0 deletions(-)
diff --git a/utils/kamctl/kamctl b/utils/kamctl/kamctl
index 0dee374..e25c6f2 100755
--- a/utils/kamctl/kamctl
+++ b/utils/kamctl/kamctl
@@ -992,6 +992,24 @@ db_ops() {
QUERY="select * FROM $1\\G;"
$DBROCMD "$QUERY"
;;
+ smatch)
+ shift
+ if [ $# -ne 3 ] ; then
+ merr "missing parameters"
+ exit 1
+ fi
+ QUERY="SELECT * FROM $1 WHERE $2='$3'\\G;"
+ $DBROCMD "$QUERY"
+ ;;
+ nmatch)
+ shift
+ if [ $# -ne 3 ] ; then
+ merr "missing parameters"
+ exit 1
+ fi
+ QUERY="SELECT * FROM $1 WHERE $2=$3\\G;"
+ $DBROCMD "$QUERY"
+ ;;
*)
usage_db_ops
exit 1
diff --git a/utils/kamctl/kamctl.sqlbase b/utils/kamctl/kamctl.sqlbase
index f07705f..6c43149 100644
--- a/utils/kamctl/kamctl.sqlbase
+++ b/utils/kamctl/kamctl.sqlbase
@@ -61,6 +61,10 @@ cat <<EOF
\$id variable
db show <table> ..................... display table content
db showg <table> .................... display formatted table content
+ db smatch <table> <key> <value>...... display record from table that has
+ ........................... column key equal to value as string
+ db nmatch <table> <key> <value>...... display record from table that has
+ ........................... column key equal to value as non-string
EOF
}
USAGE_FUNCTIONS="$USAGE_FUNCTIONS usage_db_ops"