aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_zap.c
diff options
context:
space:
mode:
authormattf <mattf@f38db490-d61c-443f-a65b-d21fe96a405b>2006-02-07 18:00:42 +0000
committermattf <mattf@f38db490-d61c-443f-a65b-d21fe96a405b>2006-02-07 18:00:42 +0000
commitf6b03266379c07dd2d9fc9dfb2eb36f754cdd6ac (patch)
tree34f71d12b518c32965ab0c83e720dd2e30968364 /channels/chan_zap.c
parent8e35b8224f238c143b1974727bdc10397951accf (diff)
Make sure we output the APDU debug on pri debug commands
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9194 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_zap.c')
-rw-r--r--channels/chan_zap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c
index 11a810c7d..54d2a6bb6 100644
--- a/channels/chan_zap.c
+++ b/channels/chan_zap.c
@@ -9392,7 +9392,7 @@ static int handle_pri_debug(int fd, int argc, char *argv[])
}
for (x=0;x<NUM_DCHANS;x++) {
if (pris[span-1].dchans[x])
- pri_set_debug(pris[span-1].dchans[x], PRI_DEBUG_Q931_DUMP | PRI_DEBUG_Q931_STATE);
+ pri_set_debug(pris[span-1].dchans[x], PRI_DEBUG_APDU | PRI_DEBUG_Q931_DUMP | PRI_DEBUG_Q931_STATE);
}
ast_cli(fd, "Enabled debugging on span %d\n", span);
return RESULT_SUCCESS;
@@ -9440,7 +9440,7 @@ static int handle_pri_really_debug(int fd, int argc, char *argv[])
}
for (x=0;x<NUM_DCHANS;x++) {
if (pris[span-1].dchans[x])
- pri_set_debug(pris[span-1].dchans[x], (PRI_DEBUG_Q931_DUMP | PRI_DEBUG_Q921_DUMP | PRI_DEBUG_Q921_RAW | PRI_DEBUG_Q921_STATE));
+ pri_set_debug(pris[span-1].dchans[x], (PRI_DEBUG_APDU | PRI_DEBUG_Q931_DUMP | PRI_DEBUG_Q921_DUMP | PRI_DEBUG_Q921_RAW | PRI_DEBUG_Q921_STATE));
}
ast_cli(fd, "Enabled EXTENSIVE debugging on span %d\n", span);
return RESULT_SUCCESS;