From: <jpg...@us...> - 2007-12-19 15:38:34
|
Revision: 1315 http://iaxclient.svn.sourceforge.net/iaxclient/?rev=1315&view=rev Author: jpgrayson Date: 2007-12-19 07:38:37 -0800 (Wed, 19 Dec 2007) Log Message: ----------- Apply patch from Lee Howard to remove duplicate table entry for IAX_IE_CODEC_PREFS. Modified Paths: -------------- trunk/lib/libiax2/src/iax2-parser.c Modified: trunk/lib/libiax2/src/iax2-parser.c =================================================================== --- trunk/lib/libiax2/src/iax2-parser.c 2007-12-19 15:35:27 UTC (rev 1314) +++ trunk/lib/libiax2/src/iax2-parser.c 2007-12-19 15:38:37 UTC (rev 1315) @@ -159,7 +159,6 @@ { IAX_IE_CAPABILITY, "CAPABILITY", dump_int }, { IAX_IE_FORMAT, "FORMAT", dump_int }, { IAX_IE_LANGUAGE, "LANGUAGE", dump_string }, - { IAX_IE_CODEC_PREFS, "CODEC_PREFS", dump_string }, { IAX_IE_VERSION, "VERSION", dump_short }, { IAX_IE_ADSICPE, "ADSICPE", dump_short }, { IAX_IE_DNID, "DNID", dump_string }, This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jpg...@us...> - 2007-12-20 15:27:22
|
Revision: 1322 http://iaxclient.svn.sourceforge.net/iaxclient/?rev=1322&view=rev Author: jpgrayson Date: 2007-12-20 07:27:27 -0800 (Thu, 20 Dec 2007) Log Message: ----------- Apply patch from Lee Howard / Digium's bugtracker issue 6620. This fixes some crashes in iax_showframe() Modified Paths: -------------- trunk/lib/libiax2/src/iax2-parser.c Modified: trunk/lib/libiax2/src/iax2-parser.c =================================================================== --- trunk/lib/libiax2/src/iax2-parser.c 2007-12-20 15:18:27 UTC (rev 1321) +++ trunk/lib/libiax2/src/iax2-parser.c 2007-12-20 15:27:27 UTC (rev 1322) @@ -345,7 +345,12 @@ "ANSWER ", "BUSY ", "TKOFFHK ", - "OFFHOOK" }; + "OFFHOOK ", + "CONGESTION ", + "FLASH ", + "WINK ", + "OPTION " + }; struct ast_iax2_full_hdr *fh; char retries[20]; char class2[20]; @@ -368,7 +373,7 @@ /* Don't mess with mini-frames */ return; } - if (fh->type > (int)sizeof(frames)/(int)sizeof(char *)) { + if (fh->type >= (int)(sizeof(frames)/sizeof(char *))) { snprintf(class2, (int)sizeof(class2), "(%d?)", fh->type); clas = class2; } else { @@ -385,7 +390,7 @@ subclass = iaxs[(int)fh->csub]; } } else if (fh->type == AST_FRAME_CONTROL) { - if (fh->csub > (int)sizeof(cmds)/(int)sizeof(char *)) { + if (fh->csub >= (int)(sizeof(cmds)/sizeof(char *))) { snprintf(subclass2, (int)sizeof(subclass2), "(%d?)", fh->csub); subclass = subclass2; } else { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jpg...@us...> - 2008-07-01 16:17:44
|
Revision: 1441 http://iaxclient.svn.sourceforge.net/iaxclient/?rev=1441&view=rev Author: jpgrayson Date: 2008-07-01 09:17:53 -0700 (Tue, 01 Jul 2008) Log Message: ----------- Explicitly initialize null function pointers. - Resolves compiler warnings. Modified Paths: -------------- trunk/lib/libiax2/src/iax2-parser.c Modified: trunk/lib/libiax2/src/iax2-parser.c =================================================================== --- trunk/lib/libiax2/src/iax2-parser.c 2008-07-01 16:17:12 UTC (rev 1440) +++ trunk/lib/libiax2/src/iax2-parser.c 2008-07-01 16:17:53 UTC (rev 1441) @@ -173,17 +173,17 @@ { IAX_IE_CAUSE, "CAUSE", dump_string }, { IAX_IE_IAX_UNKNOWN, "UNKNOWN IAX CMD", dump_byte }, { IAX_IE_MSGCOUNT, "MESSAGE COUNT", dump_short }, - { IAX_IE_AUTOANSWER, "AUTO ANSWER REQ" }, + { IAX_IE_AUTOANSWER, "AUTO ANSWER REQ", 0 }, { IAX_IE_TRANSFERID, "TRANSFER ID", dump_int }, { IAX_IE_RDNIS, "REFERRING DNIS", dump_string }, { IAX_IE_PROVISIONING, "PROVISIONING", dump_prov }, - { IAX_IE_AESPROVISIONING, "AES PROVISIONG" }, + { IAX_IE_AESPROVISIONING, "AES PROVISIONG", 0 }, { IAX_IE_DATETIME, "DATE TIME", dump_int }, { IAX_IE_DEVICETYPE, "DEVICE TYPE", dump_string }, { IAX_IE_SERVICEIDENT, "SERVICE IDENT", dump_string }, { IAX_IE_FIRMWAREVER, "FIRMWARE VER", dump_short }, { IAX_IE_FWBLOCKDESC, "FW BLOCK DESC", dump_int }, - { IAX_IE_FWBLOCKDATA, "FW BLOCK DATA" }, + { IAX_IE_FWBLOCKDATA, "FW BLOCK DATA", 0 }, { IAX_IE_PROVVER, "PROVISIONG VER", dump_int }, { IAX_IE_CALLINGPRES, "CALLING PRESNTN", dump_byte }, { IAX_IE_CALLINGTON, "CALLING TYPEOFNUM", dump_byte }, This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |