From 7c66b22563b142cc0a04b9523a965e237fb84640 Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Mon, 13 Feb 2006 23:06:02 +0000 Subject: [PATCH] suppress annoying message about unsupported components in facility messages git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.2@306 2fbb986a-6c06-0410-b554-c9c1f0a7f128 --- pri_facility.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pri_facility.c b/pri_facility.c index b230688..998e3a2 100644 --- a/pri_facility.c +++ b/pri_facility.c @@ -1136,13 +1136,17 @@ extern int rose_invoke_decode(struct pri *pri, q931_call *call, unsigned char *d do { /* Invoke ID stuff */ GET_COMPONENT(comp, i, vdata, len); +#if 0 CHECK_COMPONENT(comp, INVOKE_IDENTIFIER, "Don't know what to do if first ROSE component is of type 0x%x\n"); +#endif invokeid = comp; NEXT_COMPONENT(comp, i); /* Operation Tag */ GET_COMPONENT(comp, i, vdata, len); +#if 0 CHECK_COMPONENT(comp, ASN1_INTEGER, "Don't know what to do if second ROSE component is of type 0x%x\n"); +#endif operationid = comp; ASN1_GET_INTEGER(comp, operation_tag); NEXT_COMPONENT(comp, i);