Hi, using Kamailio 1.5 rev 5834 with permissions module.
I do "$avp(i:10) = allow_source_address_group()" for a request whose source
address matches a row in "address" table with "grp=0". I expect that
allow_source_address_group() would return 0.
However the request is dropped in silence!! How is it possible?
It seems that allow_source_address_group() behaves as "return(0)" when the
returned value is 0. But this is not documented and IMHO it cannot be the
expected behavior, am I right?
Regards.
--
Iñaki Baz Castillo <ibc(a)aliax.net>
Module: sip-router
Branch: kamailio_3.0
Commit: af6cdd413eb170ebc29f030779e002324f34d9b4
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=af6cdd4…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Tue Feb 9 00:08:47 2010 +0100
INSTALL imported from k 1.5.0
- more appropriate in regard to additional tools
- needs some updates with the new stuff that can be done with make
(e.g., make cfg, module-list, ...)
---
INSTALL | 902 +++++++++++++++++++++++++--------------------------------------
1 files changed, 354 insertions(+), 548 deletions(-)
Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=af6…
Bugs item #2947231, was opened at 2010-02-07 01:42
Message generated for change (Comment added) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=2947231&group_…
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: veganimado (veganimado)
Assigned to: Nobody/Anonymous (nobody)
Summary: Makefile doesn't install mysql related stuff
Initial Comment:
Hi,
after compiling with
make group_include="standard mysql" all
"make install" doesn't install some mysql related file, e.g. the directory /lib/kamailio/kamctl/mysql is missing.
Best regards,
Victor
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2010-02-07 14:21
Message:
do you install from tarball or git? Here is a git step by step turorial:
http://www.kamailio.org/dokuwiki/doku.php/install:kamailio-3.0.x-from-git
kamctl mysql files are installed together with db_mysql if the flavour is
kamailio. This is default on kamailio_3.0 branch, but for devel, one has to
do:
make FLAVOUR=kamailio cfg
then:
make all; make install
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=2947231&group_…
Bugs item #2947225, was opened at 2010-02-07 01:08
Message generated for change (Comment added) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=2947225&group_…
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: veganimado (veganimado)
Assigned to: Nobody/Anonymous (nobody)
Summary: sip-router_mysql.sh using old name
Initial Comment:
Hi,
sip-router_mysql.sh names the database ser by default, while the supplied tools expect openser. Additionally, the user names and passwords do not match.
This error occurs with version 3.0
Best regards,
Victor
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2010-02-07 14:14
Message:
install file was forgotten unbranded. should be fixed soon. you have to use
kamdbctl to create the kamailio specific database.
----------------------------------------------------------------------
Comment By: veganimado (veganimado)
Date: 2010-02-07 01:34
Message:
Ah, I see, gotta use kamdbctl...
sip-router_mysql.sh even creates a database structure the server doesn't
understand... it should be removed from the .tar.gz
Additionally, the INSTALL file should be updated as it still refers to
sip-router_mysql.sh
Best regards,
Victor
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=2947225&group_…
Bugs item #2947231, was opened at 2010-02-07 02:42
Message generated for change (Tracker Item Submitted) made by veganimado
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=2947231&group_…
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: veganimado (veganimado)
Assigned to: Nobody/Anonymous (nobody)
Summary: Makefile doesn't install mysql related stuff
Initial Comment:
Hi,
after compiling with
make group_include="standard mysql" all
"make install" doesn't install some mysql related file, e.g. the directory /lib/kamailio/kamctl/mysql is missing.
Best regards,
Victor
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=2947231&group_…
Bugs item #2947225, was opened at 2010-02-07 02:08
Message generated for change (Comment added) made by veganimado
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=2947225&group_…
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: veganimado (veganimado)
Assigned to: Nobody/Anonymous (nobody)
Summary: sip-router_mysql.sh using old name
Initial Comment:
Hi,
sip-router_mysql.sh names the database ser by default, while the supplied tools expect openser. Additionally, the user names and passwords do not match.
This error occurs with version 3.0
Best regards,
Victor
----------------------------------------------------------------------
>Comment By: veganimado (veganimado)
Date: 2010-02-07 02:34
Message:
Ah, I see, gotta use kamdbctl...
sip-router_mysql.sh even creates a database structure the server doesn't
understand... it should be removed from the .tar.gz
Additionally, the INSTALL file should be updated as it still refers to
sip-router_mysql.sh
Best regards,
Victor
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=2947225&group_…