OpenSIPS / opensips

OpenSIPS is a GPL implementation of a multi-functionality SIP Server that targets to deliver a high-level technical solution (performance, security and quality) to be used in professional SIP server platforms.
https://opensips.org
Other
1.26k stars 576 forks source link

[FEATURE] Rtpengine keepalive function #3440

Open volga629-1 opened 1 month ago

volga629-1 commented 1 month ago

Hello Everyone, I have small request to add rtpengine function to test if rtpengine node is alive from script level. Might be as improvement will be possible to use $avp(setid) or mod params.

New function

Options

  1. rtpengine control socket ip
  2. result avp
  3. amount probes to send ( default 2)
option 1 
$avp(rtp_ip) = "10.10.10.1";
rtpengine_probe("$avp(rtp_ip)","$avp(probe)",2);
if($avp(probe)>=0) {
      xlog("[RTP_PROBE] Rtpengine probe failed with return values $$avp(probe) | $avp(probe)\n");
}
github-actions[bot] commented 2 weeks ago

Any updates here? No progress has been made in the last 15 days, marking as stale. Will close this issue if no further updates are made in the next 30 days.

volga629-1 commented 2 weeks ago

In progress

github-actions[bot] commented 2 days ago

Any updates here? No progress has been made in the last 15 days, marking as stale. Will close this issue if no further updates are made in the next 30 days.