[asterisk-commits] tilghman: branch 1.4 r69796 - /branches/1.4/channels/chan_sip.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Jun 18 14:48:17 CDT 2007
Author: tilghman
Date: Mon Jun 18 14:48:17 2007
New Revision: 69796
URL: http://svn.digium.com/view/asterisk?view=rev&rev=69796
Log:
Issue 10005 - Segfault with missing arguments, plus fix a missing define for SIP INFO channels
Modified:
branches/1.4/channels/chan_sip.c
Modified: branches/1.4/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_sip.c?view=diff&rev=69796&r1=69795&r2=69796
==============================================================================
--- branches/1.4/channels/chan_sip.c (original)
+++ branches/1.4/channels/chan_sip.c Mon Jun 18 14:48:17 2007
@@ -1579,6 +1579,7 @@
.send_digit_end = sip_senddigit_end,
.bridge = ast_rtp_bridge,
.send_text = sip_sendtext,
+ .func_channel_read = acf_channel_read,
};
/**--- some list management macros. **/
@@ -14274,6 +14275,12 @@
if (strcasecmp(args.param, "rtpqos"))
return 0;
+
+ /* Default arguments of audio,all */
+ if (ast_strlen_zero(args.type))
+ args.type = "audio";
+ if (ast_strlen_zero(args.field))
+ args.field = "all";
memset(buf, 0, buflen);
memset(&qos, 0, sizeof(qos));
More information about the asterisk-commits
mailing list