summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/Makefile4
-rw-r--r--main/manager.c6
2 files changed, 7 insertions, 3 deletions
diff --git a/main/Makefile b/main/Makefile
index 2b7321d4f..4d1b2c41b 100644
--- a/main/Makefile
+++ b/main/Makefile
@@ -205,7 +205,7 @@ ASTSSL_LDLIBS=-L. -lasteriskssl
ifeq ($(findstring darwin,$(OSARCH)),) # not Darwin
ASTSSL_LIB:=libasteriskssl.so
-$(ASTSSL_LIB).$(ASTSSL_SO_VERSION): _ASTLDFLAGS+=-Wl,-soname=$(ASTSSL_LIB)
+$(ASTSSL_LIB).$(ASTSSL_SO_VERSION): _ASTLDFLAGS+=-Wl,-soname=$(ASTSSL_LIB).$(ASTSSL_SO_VERSION)
$(ASTSSL_LIB).$(ASTSSL_SO_VERSION): _ASTCFLAGS+=-fPIC -DAST_MODULE=\"asteriskssl\" -DAST_NOT_MODULE
$(ASTSSL_LIB).$(ASTSSL_SO_VERSION): LIBS+=$(ASTSSL_LIBS)
ifeq ($(GNU_LD),1)
@@ -285,7 +285,7 @@ ifeq ($(GNU_LD),1)
$(CMD_PREFIX) echo -e "local:\n*;\n};" >> libasteriskpj.exports
endif
-$(ASTPJ_LIB).$(ASTPJ_SO_VERSION): _ASTLDFLAGS+=-Wl,-soname=$(ASTPJ_LIB) $(PJ_LDFLAGS)
+$(ASTPJ_LIB).$(ASTPJ_SO_VERSION): _ASTLDFLAGS+=-Wl,-soname=$(ASTPJ_LIB).$(ASTPJ_SO_VERSION) $(PJ_LDFLAGS)
$(ASTPJ_LIB).$(ASTPJ_SO_VERSION): _ASTCFLAGS+=-fPIC -DAST_MODULE=\"asteriskpj\" -DAST_NOT_MODULE $(PJ_CFLAGS)
$(ASTPJ_LIB).$(ASTPJ_SO_VERSION): LIBS+=$(PJPROJECT_LDLIBS) -lssl -lcrypto -luuid -lm -lpthread $(RT_LIB)
ifeq ($(GNU_LD),1)
diff --git a/main/manager.c b/main/manager.c
index 32322b8c5..9a7f4c80f 100644
--- a/main/manager.c
+++ b/main/manager.c
@@ -5895,7 +5895,11 @@ static int match_filter(struct mansession *s, char *eventdata)
{
int result = 0;
- ast_debug(3, "Examining AMI event:\n%s\n", eventdata);
+ if (manager_debug) {
+ ast_verbose("<-- Examining AMI event: -->\n%s\n", eventdata);
+ } else {
+ ast_debug(3, "Examining AMI event:\n%s\n", eventdata);
+ }
if (!ao2_container_count(s->session->whitefilters) && !ao2_container_count(s->session->blackfilters)) {
return 1; /* no filtering means match all */
} else if (ao2_container_count(s->session->whitefilters) && !ao2_container_count(s->session->blackfilters)) {