diff options
author | mattf <mattf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-06-06 22:19:19 +0000 |
---|---|---|
committer | mattf <mattf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-06-06 22:19:19 +0000 |
commit | bbe6ff5d1520eef879448add98218bbab1a1f392 (patch) | |
tree | 03d43340d557b09f51d244485ca41e4899496626 | |
parent | 0569e548d9f811f7fb6fa865decb3cc3dff0abe3 (diff) |
Add q.921 state information. (#7260)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32740 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | channels/chan_zap.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c index d071ab673..75671ed9f 100644 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -9375,7 +9375,9 @@ 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_APDU | 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 | + PRI_DEBUG_Q921_STATE); } ast_cli(fd, "Enabled debugging on span %d\n", span); return RESULT_SUCCESS; @@ -9423,7 +9425,9 @@ 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_APDU | 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_Q931_STATE | + PRI_DEBUG_Q921_RAW | PRI_DEBUG_Q921_DUMP | PRI_DEBUG_Q921_STATE); } ast_cli(fd, "Enabled EXTENSIVE debugging on span %d\n", span); return RESULT_SUCCESS; |