[asterisk-commits] oej: branch oej/pinefrog-1.4 r335063 - /team/oej/pinefrog-1.4/channels/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Sep 9 07:18:44 CDT 2011
Author: oej
Date: Fri Sep 9 07:18:40 2011
New Revision: 335063
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=335063
Log:
Small fixes from testing
Modified:
team/oej/pinefrog-1.4/channels/chan_sip.c
Modified: team/oej/pinefrog-1.4/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/team/oej/pinefrog-1.4/channels/chan_sip.c?view=diff&rev=335063&r1=335062&r2=335063
==============================================================================
--- team/oej/pinefrog-1.4/channels/chan_sip.c (original)
+++ team/oej/pinefrog-1.4/channels/chan_sip.c Fri Sep 9 07:18:40 2011
@@ -14221,7 +14221,7 @@
the quality report structure in the PVT and let the function that kills the pvt store the stuff in the
monitor thread instead.
*/
- if (reporttype == 1 && qosrealtime) {
+ if (reporttype == 1 {
if (type == SDP_AUDIO) { /* Audio */
p->audioqual = ast_calloc(sizeof(struct ast_rtp_quality), 1);
(* p->audioqual) = *qual;
@@ -16880,6 +16880,10 @@
} else if (strcasecmp(args.type, "VIDEO") == 0) {
all = ast_rtp_get_quality(p->vrtp);
qos = ast_rtp_get_qualdata(p->vrtp);
+ } else {
+ ast_log(LOG_WARNING, "Unrecognized stream '%s in call to %s'\n", args.typecname, funcname);
+ return -1;
+
}
if (strcasecmp(args.field, "local_ssrc") == 0)
More information about the asterisk-commits
mailing list