[Asterisk-cvs] asterisk/channels chan_iax2.c,1.343,1.344
kpfleming
kpfleming
Wed Sep 7 19:18:20 CDT 2005
Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv32408/channels
Modified Files:
chan_iax2.c
Log Message:
don't reject REGREL requests (issue #5152)
Index: chan_iax2.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_iax2.c,v
retrieving revision 1.343
retrieving revision 1.344
diff -u -d -r1.343 -r1.344
--- chan_iax2.c 7 Sep 2005 21:01:31 -0000 1.343
+++ chan_iax2.c 7 Sep 2005 23:18:39 -0000 1.344
@@ -6326,8 +6326,9 @@
} else {
f.subclass = uncompress_subclass(fh->csub);
}
- if ((f.frametype == AST_FRAME_IAX) && ((f.subclass == IAX_COMMAND_NEW) || (f.subclass == IAX_COMMAND_REGREQ)
- || (f.subclass == IAX_COMMAND_POKE) || (f.subclass == IAX_COMMAND_FWDOWNL)))
+ if ((f.frametype == AST_FRAME_IAX) && ((f.subclass == IAX_COMMAND_NEW) || (f.subclass == IAX_COMMAND_REGREQ) ||
+ (f.subclass == IAX_COMMAND_POKE) || (f.subclass == IAX_COMMAND_FWDOWNL) ||
+ (f.subclass == IAX_COMMAND_REGREL)))
new = NEW_ALLOW;
} else {
/* Don't know anything about it yet */
More information about the svn-commits
mailing list