Update of /usr/cvsroot/asterisk-addons/asterisk-ooh323c/ooh323c/src
In directory mongoose.digium.com:/tmp/cvs-serv21895/ooh323c/src

Modified Files:
        ooq931.c 
Log Message:
Added fix to ignore optional Notify message

Index: ooq931.c
===================================================================
RCS file: /usr/cvsroot/asterisk-addons/asterisk-ooh323c/ooh323c/src/ooq931.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- ooq931.c    2 Sep 2005 14:27:10 -0000       1.14
+++ ooq931.c    6 Sep 2005 17:25:40 -0000       1.15
@@ -224,7 +224,11 @@
          return rv;
    }
    
-   rv = ooDecodeUUIE(msg);
+   /*cisco router sends Q931Notify without UU ie, 
+     we just ignore notify message as of now as handling is optional for
+     end point*/
+   if(msg->messageType != Q931NotifyMsg)
+      rv = ooDecodeUUIE(msg);
    return rv;
 }
 

_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs

Reply via email to