[asterisk-commits] file: branch 1.4 r72331 - /branches/1.4/channels/chan_gtalk.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jun 27 17:58:03 CDT 2007


Author: file
Date: Wed Jun 27 17:58:02 2007
New Revision: 72331

URL: http://svn.digium.com/view/asterisk?view=rev&rev=72331
Log:
Make payload IDs for iLBC/Speex match to our list. Since these are dynamic payloads the other side shouldn't care. (issue #9426 reported by irroot)

Modified:
    branches/1.4/channels/chan_gtalk.c

Modified: branches/1.4/channels/chan_gtalk.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_gtalk.c?view=diff&rev=72331&r1=72330&r2=72331
==============================================================================
--- branches/1.4/channels/chan_gtalk.c (original)
+++ branches/1.4/channels/chan_gtalk.c Wed Jun 27 17:58:02 2007
@@ -355,7 +355,7 @@
 			ast_log(LOG_WARNING,"Failed to allocate iks node");
 			return -1;
 		}
-		iks_insert_attrib(payload_ilbc, "id", "102");
+		iks_insert_attrib(payload_ilbc, "id", "97");
 		iks_insert_attrib(payload_ilbc, "name", "iLBC");
 		iks_insert_attrib(payload_ilbc, "clockrate","8000");
 		iks_insert_attrib(payload_ilbc, "bitrate","13300");
@@ -379,7 +379,7 @@
 			ast_log(LOG_WARNING,"Failed to allocate iks node");
 			return -1;
 		}
-		iks_insert_attrib(payload_speex, "id", "98");
+		iks_insert_attrib(payload_speex, "id", "110");
 		iks_insert_attrib(payload_speex, "name", "speex");
 		iks_insert_attrib(payload_speex, "clockrate","8000");
 		iks_insert_attrib(payload_speex, "bitrate","11000");




More information about the asterisk-commits mailing list