[Asterisk-cvs] asterisk/channels chan_iax2.c,1.337,1.338
kpfleming
kpfleming
Thu Sep 1 18:27:34 CDT 2005
Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv6648/channels
Modified Files:
chan_iax2.c
Log Message:
various devicestate fixes (issue #5081, take two)
Index: chan_iax2.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_iax2.c,v
retrieving revision 1.337
retrieving revision 1.338
diff -u -d -r1.337 -r1.338
--- chan_iax2.c 31 Aug 2005 22:13:40 -0000 1.337
+++ chan_iax2.c 1 Sep 2005 22:28:33 -0000 1.338
@@ -9114,9 +9114,8 @@
/* Peer is registered, or have default IP address
and a valid registration */
if (p->historicms == 0 || p->historicms <= p->maxms)
- res = AST_DEVICE_NOT_INUSE;
- else
- res = AST_DEVICE_UNKNOWN; /* Not reachable */
+ /* let the core figure out whether it is in use or not */
+ res = AST_DEVICE_UNKNOWN;
}
} else {
if (option_debug > 2)
More information about the svn-commits
mailing list