[asterisk-commits] oej: branch oej/pinefrog-1.4 r248223 - /team/oej/pinefrog-1.4/channels/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Sun Feb 21 06:48:22 CST 2010
Author: oej
Date: Sun Feb 21 06:40:48 2010
New Revision: 248223
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=248223
Log:
Disable realtime storage for normal 1.4 users without updated realtime system (a la Appleraisin)
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=248223&r1=248222&r2=248223
==============================================================================
--- team/oej/pinefrog-1.4/channels/chan_sip.c (original)
+++ team/oej/pinefrog-1.4/channels/chan_sip.c Sun Feb 21 06:40:48 2010
@@ -13517,7 +13517,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