[asterisk-commits] branch junky/iax2_sha1 r9872 - /team/junky/iax2_sha1/channels/

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon Feb 13 21:57:02 MST 2006


Author: junky
Date: Mon Feb 13 22:56:58 2006
New Revision: 9872

URL: http://svn.digium.com/view/asterisk?rev=9872&view=rev
Log:
just added stuff to header files

Modified:
    team/junky/iax2_sha1/channels/iax2-parser.c
    team/junky/iax2_sha1/channels/iax2-parser.h
    team/junky/iax2_sha1/channels/iax2.h

Modified: team/junky/iax2_sha1/channels/iax2-parser.c
URL: http://svn.digium.com/view/asterisk/team/junky/iax2_sha1/channels/iax2-parser.c?rev=9872&r1=9871&r2=9872&view=diff
==============================================================================
--- team/junky/iax2_sha1/channels/iax2-parser.c (original)
+++ team/junky/iax2_sha1/channels/iax2-parser.c Mon Feb 13 22:56:58 2006
@@ -218,6 +218,7 @@
 	{ IAX_IE_CHALLENGE, "CHALLENGE", dump_string },
 	{ IAX_IE_MD5_RESULT, "MD5 RESULT", dump_string },
 	{ IAX_IE_RSA_RESULT, "RSA RESULT", dump_string },
+	{ IAX_IE_SHA1_RESULT, "SHA1 RESULT", dump_bin },
 	{ IAX_IE_APPARENT_ADDR, "APPARENT ADDRESS", dump_addr },
 	{ IAX_IE_REFRESH, "REFRESH", dump_short },
 	{ IAX_IE_DPSTATUS, "DIALPLAN STATUS", dump_short },

Modified: team/junky/iax2_sha1/channels/iax2-parser.h
URL: http://svn.digium.com/view/asterisk/team/junky/iax2_sha1/channels/iax2-parser.h?rev=9872&r1=9871&r2=9872&view=diff
==============================================================================
--- team/junky/iax2_sha1/channels/iax2-parser.h (original)
+++ team/junky/iax2_sha1/channels/iax2-parser.h Mon Feb 13 22:56:58 2006
@@ -42,6 +42,7 @@
 	char *challenge;
 	char *md5_result;
 	char *rsa_result;
+	unsigned char *sha1_result;
 	struct sockaddr_in *apparent_addr;
 	unsigned short refresh;
 	unsigned short dpstatus;

Modified: team/junky/iax2_sha1/channels/iax2.h
URL: http://svn.digium.com/view/asterisk/team/junky/iax2_sha1/channels/iax2.h?rev=9872&r1=9871&r2=9872&view=diff
==============================================================================
--- team/junky/iax2_sha1/channels/iax2.h (original)
+++ team/junky/iax2_sha1/channels/iax2.h Mon Feb 13 22:56:58 2006
@@ -127,11 +127,12 @@
 #define IAX_IE_RR_DELAY				49		/* Max playout delay for received frames (in ms) u16 */
 #define IAX_IE_RR_DROPPED			50		/* Dropped frames (presumably by jitterbuf) u32 */
 #define IAX_IE_RR_OOO				51		/* Frames received Out of Order u32 */
-
+#define IAX_IE_SHA1_RESULT			52		/* SHA1 challenge result - string */
 
 #define IAX_AUTH_PLAINTEXT			(1 << 0)
 #define IAX_AUTH_MD5				(1 << 1)
 #define IAX_AUTH_RSA				(1 << 2)
+#define IAX_AUTH_SHA1				(1 << 3)
 
 #define IAX_ENCRYPT_AES128			(1 << 0)
 



More information about the asterisk-commits mailing list