summaryrefslogtreecommitdiff
path: root/channels/misdn/isdn_msg_parser.c
diff options
context:
space:
mode:
authorChristian Richter <christian.richter@beronet.com>2006-04-26 14:51:32 +0000
committerChristian Richter <christian.richter@beronet.com>2006-04-26 14:51:32 +0000
commit2bde492ea938b878c5e19414f542daacffb6f3c9 (patch)
tree6d8f1095e85fd285c4b4c56249bd32dd71c67acc /channels/misdn/isdn_msg_parser.c
parentc2d851de2b841179086adaadcf8cd1b0cc657b59 (diff)
Facility decoding doesn't work proper yet
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22549 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/misdn/isdn_msg_parser.c')
-rw-r--r--channels/misdn/isdn_msg_parser.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/channels/misdn/isdn_msg_parser.c b/channels/misdn/isdn_msg_parser.c
index 9bba56c70..9cd7f2656 100644
--- a/channels/misdn/isdn_msg_parser.c
+++ b/channels/misdn/isdn_msg_parser.c
@@ -882,9 +882,12 @@ void parse_facility (struct isdn_msg msgs[], msg_t *msg, struct misdn_bchannel *
printf("Parsing FACILITY Msg\n");
#endif
+#ifdef FACILITY_DECODE
{
fac_dec(facility->FACILITY, qi, &bc->fac_type, &bc->fac, bc);
}
+#endif
+
}
msg_t *build_facility (struct isdn_msg msgs[], struct misdn_bchannel *bc, int nt)