diff options
author | Matthew Fredrickson <creslin@digium.com> | 2006-02-07 18:00:42 +0000 |
---|---|---|
committer | Matthew Fredrickson <creslin@digium.com> | 2006-02-07 18:00:42 +0000 |
commit | 556ec7c940ee7894dcb3e952036249231303b1c3 (patch) | |
tree | 34f71d12b518c32965ab0c83e720dd2e30968364 | |
parent | b42dd639eedf8b41fa3aef9a21adf3893599711d (diff) |
Make sure we output the APDU debug on pri debug commands
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9194 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r-- | channels/chan_zap.c | 4 |
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; |