From: Matthew Fredrickson Date: Tue, 6 Jun 2006 22:19:19 +0000 (+0000) Subject: Add q.921 state information. (#7260) X-Git-Tag: 1.4.0-beta1~1014 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f809fde42601b0d9f01f436378acf4ac3ca80616;p=thirdparty%2Fasterisk.git Add q.921 state information. (#7260) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32740 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_zap.c b/channels/chan_zap.c index d071ab673f..75671ed9f6 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;