[asterisk-commits] twilson: branch group/srtp_reboot r266831 - /team/group/srtp_reboot/channels/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Jun 1 17:13:06 CDT 2010
Author: twilson
Date: Tue Jun 1 17:13:05 2010
New Revision: 266831
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=266831
Log:
Use IAX_CALLENCRYPTED macro to determine encryption status
Modified:
team/group/srtp_reboot/channels/chan_iax2.c
Modified: team/group/srtp_reboot/channels/chan_iax2.c
URL: http://svnview.digium.com/svn/asterisk/team/group/srtp_reboot/channels/chan_iax2.c?view=diff&rev=266831&r1=266830&r2=266831
==============================================================================
--- team/group/srtp_reboot/channels/chan_iax2.c (original)
+++ team/group/srtp_reboot/channels/chan_iax2.c Tue Jun 1 17:13:05 2010
@@ -13638,7 +13638,7 @@
} else if (!strcasecmp(args, "peername")) {
ast_copy_string(buf, pvt->username, buflen);
} else if (!strcasecmp(args, "secure_signaling") || !strcasecmp(args, "secure_media")) {
- snprintf(buf, buflen, "%s", pvt->encmethods ? "1" : "");
+ snprintf(buf, buflen, "%s", IAX_CALLENCRYPTED(pvt) ? "1" : "");
} else {
res = -1;
}
More information about the asterisk-commits
mailing list