Hi Bogdan-Andrei, I tried to use the get_static_lock and release_static_lock to set up the critical session. However, I still get an incorrect result (please refer to the attached log). It is likely that I misuse the locking mechanism and thus I also provide the corresponding code.
Please help me solve this issue. Many thanks in advance. PS. search "RTP proxies (1, 2) with ongoing calls: (25, <null>)" for the errors. Best regards, Chen-Che NewCode <http://opensips-open-sip-server.1449251.n2.nabble.com/file/n7584966/NewCode> rtpproxy_session_record_log <http://opensips-open-sip-server.1449251.n2.nabble.com/file/n7584966/rtpproxy_session_record_log> -- View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/An-error-exists-in-recording-the-number-of-ongoing-sessions-at-RTP-Proxies-tp7584841p7584966.html Sent from the OpenSIPS - Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users