aboutsummaryrefslogtreecommitdiffstats
path: root/channels/misdn/isdn_msg_parser.c
diff options
context:
space:
mode:
authorcrichter <crichter@f38db490-d61c-443f-a65b-d21fe96a405b>2006-04-26 14:51:32 +0000
committercrichter <crichter@f38db490-d61c-443f-a65b-d21fe96a405b>2006-04-26 14:51:32 +0000
commit01857b473ab7f3726e491717e6e5eb6a486a7dc4 (patch)
tree6d8f1095e85fd285c4b4c56249bd32dd71c67acc /channels/misdn/isdn_msg_parser.c
parentdf8474783925877473e7cff13c34df95a4a51f75 (diff)
Facility decoding doesn't work proper yet
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22549 f38db490-d61c-443f-a65b-d21fe96a405b
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)