[asterisk-commits] oej: branch oej/pinefrog-deluxe-rtcp-test r248224 - /team/oej/pinefrog-deluxe...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sun Feb 21 06:41:42 CST 2010


Author: oej
Date: Sun Feb 21 06:41:31 2010
New Revision: 248224

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=248224
Log:
Disable realtime storage

Modified:
    team/oej/pinefrog-deluxe-rtcp-test/channels/chan_sip.c

Modified: team/oej/pinefrog-deluxe-rtcp-test/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/team/oej/pinefrog-deluxe-rtcp-test/channels/chan_sip.c?view=diff&rev=248224&r1=248223&r2=248224
==============================================================================
--- team/oej/pinefrog-deluxe-rtcp-test/channels/chan_sip.c (original)
+++ team/oej/pinefrog-deluxe-rtcp-test/channels/chan_sip.c Sun Feb 21 06:41:31 2010
@@ -13727,7 +13727,12 @@
 		}
 		sprintf(localjitter, "%f", qual.local_jitter);
 		sprintf(remotejitter, "%f", qual.remote_jitter);
-		ast_update_realtime("rtpqos", "Channel", p->owner ? p->owner->name : "", "pvtcallid", p->callid, "rtpmedia", mediatype, "localssrc", qual.local_ssrc, "remotessrc", qual.remote_ssrc, "rtt", qual.rtt, "localjitter", localjitter, "remotejitter", remotejitter, NULL);
+#ifdef REALTIME2
+		/* This only works with updated realtime system that has the "ast_store_realtime" support that's not generally available in 
+		   Asterisk 1.4. It's part of the Appleraisin-1.4 branch though. 
+		*/
+		ast_store_realtime("rtpqos", "Channel", p->owner ? p->owner->name : "", "pvtcallid", p->callid, "rtpmedia", mediatype, "localssrc", qual.local_ssrc, "remotessrc", qual.remote_ssrc, "rtt", qual.rtt, "localjitter", localjitter, "remotejitter", remotejitter, NULL);
+#endif
 	}
 }
 




More information about the asterisk-commits mailing list