[asterisk-commits] russell: branch 1.4 r59209 - /branches/1.4/channels/chan_sip.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon Mar 26 10:53:08 MST 2007


Author: russell
Date: Mon Mar 26 12:53:07 2007
New Revision: 59209

URL: http://svn.digium.com/view/asterisk?view=rev&rev=59209
Log:
Rename the new dialplan functions to match the variable name

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=59209&r1=59208&r2=59209
==============================================================================
--- branches/1.4/channels/chan_sip.c (original)
+++ branches/1.4/channels/chan_sip.c Mon Mar 26 12:53:07 2007
@@ -14141,9 +14141,9 @@
 	memset(buf, 0, buflen);
 	memset(&qos, 0, sizeof(qos));
 
-	if (strcmp(funcname, "AUDIORTPQOS") == 0) {
+	if (strcmp(funcname, "RTPAUDIOQOS") == 0) {
 		all = ast_rtp_get_quality(p->rtp, &qos);
-	} else if (strcmp(funcname, "VIDEORTPQOS") == 0) {
+	} else if (strcmp(funcname, "RTPVIDEOQOS") == 0) {
 		all = ast_rtp_get_quality(p->vrtp, &qos);
 	}
 
@@ -17369,7 +17369,7 @@
 };
 
 struct ast_custom_function acf_audiortpqos = {
-	.name = "AUDIORTPQOS",
+	.name = "RTPAUDIOQOS",
 	.synopsis = "Retrieve statistics about an RTP audio stream",
 	.desc =
 "The following statistics may be retrieved:\n"
@@ -17383,13 +17383,13 @@
 "  remote_count       - Number of transmitted packets\n"
 "  rtt                - Round trip time\n"
 "  all                - All statistics (in a form suited to logging, but not for parsing)",
-	.syntax = "AUDIORTPQOS(<field>)",
+	.syntax = "RTPAUDIOQOS(<field>)",
 	.read = acf_audiortpqos_read,
 };
 
 struct ast_custom_function acf_videortpqos = {
-	.name = "VIDEORTPQOS",
-	.synopsis = "Retrieve statistics about an RTP audio stream",
+	.name = "RTPVIDEOQOS",
+	.synopsis = "Retrieve statistics about an RTP video stream",
 	.desc =
 "The following statistics may be retrieved:\n"
 "  local_ssrc         - Local SSRC (stream ID)\n"
@@ -17402,7 +17402,7 @@
 "  remote_count       - Number of transmitted packets\n"
 "  rtt                - Round trip time\n"
 "  all                - All statistics (in a form suited to logging, but not for parsing)",
-	.syntax = "AUDIORTPQOS(<field>)",
+	.syntax = "RTPVIDEOQOS(<field>)",
 	.read = acf_audiortpqos_read,
 };
 



More information about the asterisk-commits mailing list