<div dir="auto">Hi Alain,<div dir="auto"><br></div><div dir="auto">IMHO it should be possible on the rtpengine side to set one instance with the rtpengine-ctl perl script into maintenance mode you need. </div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">Cheers </div><div dir="auto">Karsten </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Alain Bieuzent <<a href="mailto:alain.bieuzent@free.fr">alain.bieuzent@free.fr</a>> schrieb am Mo., 31. Aug. 2020, 15:45:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="FR" link="#0563C1" vlink="#954F72"><div class="m_-2395060657487058090WordSection1"><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">Hi,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">I’m using opensips V3.0.3 with a pool of two rtpengine.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">For maintenance reason, i need sometimes to stop an rtpengine server.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">When I run the command to disable one of my rtpengine “opensips-cli -x mi rtpengine_enable udp: <a href="http://10.207.201.25:2223" target="_blank" rel="noreferrer">10.207.201.25:2223</a> 0”, if there is current traffic on it, the new delete commands sent by opensips are sent to the other rtpengine (10.207.201.24) ex :<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"><a href="http://10.207.201.39:49799" target="_blank" rel="noreferrer">10.207.201.39:49799</a> -> <a href="http://10.207.201.25:2223" target="_blank" rel="noreferrer">10.207.201.25:2223</a><u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"> 18035_4 d3:sdp259:v=0..o=root 1293627189 1293627189 IN IP4 185.101.180.169..s=Maniterm Media Server..c=IN IP4 185.101.180.169..t=0 0..m=audio 12792 RTP/AVP 8 101..a=rtpmap:8 PCMA/8000..a=rtpmap:101 telephone-event/8000..a=fmtp:101 0-16..a=ptime<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"> :20..a=maxptime:150..a=sendrecv..3:ICE6:remove7:replacel18:session-connection6:origine18:transport-protocol7:RTP/AVP7:call-id53:07a145324315511e2e91b80c085bf23e@185.101.180.169:506013:received-froml3:IP415:185.101.180.169e8:from-tag10:as5d6bc41<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"> 17:command5:offer <u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">#<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">U <a href="http://10.207.201.25:2223" target="_blank" rel="noreferrer">10.207.201.25:2223</a> -> <a href="http://10.207.201.39:49799" target="_blank" rel="noreferrer">10.207.201.39:49799</a><u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"> 18035_4 d3:sdp271:v=0..o=root 1293627189 1293627189 IN IP4 185.101.180.91..s=Maniterm Media Server..c=IN IP4 185.101.180.91..t=0 0..m=audio 37426 RTP/AVP 8 101..a=maxptime:150..a=rtpmap:8 PCMA/8000..a=rtpmap:101 telephone-event/8000..a=fmtp:101<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"> 0-16..a=sendrecv..a=rtcp:37427..a=ptime:20..6:result2:oke <u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">#<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">U <a href="http://10.207.201.39:49799" target="_blank" rel="noreferrer">10.207.201.39:49799</a> -> <a href="http://10.207.201.25:2223" target="_blank" rel="noreferrer">10.207.201.25:2223</a><u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"> 18035_5 d3:sdp282:v=0..o=root 325023848 325023848 IN IP4 185.9.251.208..s=Asterisk PBX 11.11.0~dfsg-2+alphalink-1..c=IN IP4 185.9.251.208..t=0 0..m=audio 21778 RTP/AVP 8 101..a=rtpmap:8 PCMA/8000..a=rtpmap:101 telephone-event/8000..a=fmtp:101 0<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"> -16..a=silenceSupp:off - - - -..a=ptime:20..a=sendrecv..3:ICE6:remove7:replacel18:session-connection6:origine18:transport-protocol7:RTP/AVP7:call-id53:07a145324315511e2e91b80c085bf23e@185.101.180.169:506013:received-froml3:IP413:185.9.251.192e8<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"> :from-tag10:as3fdd699a6:to-tag10:as5d6bc4117:command5:offer <u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">#<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">U <a href="http://10.207.201.25:2223" target="_blank" rel="noreferrer">10.207.201.25:2223</a> -> <a href="http://10.207.201.39:49799" target="_blank" rel="noreferrer">10.207.201.39:49799</a><u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"> 18035_5 d3:sdp298:v=0..o=root 325023848 325023848 IN IP4 185.101.180.91..s=Asterisk PBX 11.11.0~dfsg-2+alphalink-1..c=IN IP4 185.101.180.91..t=0 0..m=audio 37446 RTP/AVP 8 101..a=silenceSupp:off - - - -..a=rtpmap:8 PCMA/8000..a=rtpmap:101 telep<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"> hone-event/8000..a=fmtp:101 0-16..a=sendrecv..a=rtcp:37447..a=ptime:20..6:result2:oke <u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">#<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">U <a href="http://10.207.201.39:55934" target="_blank" rel="noreferrer">10.207.201.39:55934</a> -> <a href="http://10.207.201.25:2223" target="_blank" rel="noreferrer">10.207.201.25:2223</a><u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"> 18038_5 d3:sdp282:v=0..o=root 325023848 325023848 IN IP4 185.9.251.208..s=Asterisk PBX 11.11.0~dfsg-2+alphalink-1..c=IN IP4 185.9.251.208..t=0 0..m=audio 21778 RTP/AVP 8 101..a=rtpmap:8 PCMA/8000..a=rtpmap:101 telephone-event/8000..a=fmtp:101 0<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"> -16..a=silenceSupp:off - - - -..a=ptime:20..a=sendrecv..3:ICE6:remove7:replacel18:session-connection6:origine18:transport-protocol7:RTP/AVP7:call-id53:07a145324315511e2e91b80c085bf23e@185.101.180.169:506013:received-froml3:IP413:185.9.251.192e8<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"> :from-tag10:as3fdd699a6:to-tag10:as5d6bc4117:command5:offer <u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">#<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">U <a href="http://10.207.201.25:2223" target="_blank" rel="noreferrer">10.207.201.25:2223</a> -> <a href="http://10.207.201.39:55934" target="_blank" rel="noreferrer">10.207.201.39:55934</a><u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"> 18038_5 d3:sdp298:v=0..o=root 325023848 325023848 IN IP4 185.101.180.91..s=Asterisk PBX 11.11.0~dfsg-2+alphalink-1..c=IN IP4 185.101.180.91..t=0 0..m=audio 37446 RTP/AVP 8 101..a=silenceSupp:off - - - -..a=rtpmap:8 PCMA/8000..a=rtpmap:101 telep<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"> hone-event/8000..a=fmtp:101 0-16..a=sendrecv..a=rtcp:37447..a=ptime:20..6:result2:oke <u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"><u></u> <u></u></span></p><p class="MsoNormal" style="text-indent:35.4pt"><span lang="EN-US" style="font-size:11.0pt">running command opensips-cli -x mi rtpengine_enable udp: <a href="http://10.207.201.25:2223" target="_blank" rel="noreferrer">10.207.201.25:2223</a><u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">#<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">U <a href="http://10.207.201.39:44347" target="_blank" rel="noreferrer">10.207.201.39:44347</a> -> <a href="http://10.207.201.24:2223" target="_blank" rel="noreferrer">10.207.201.24:2223</a><u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"> 18037_7 d7:call-id53:07a145324315511e2e91b80c085bf23e@185.101.180.169:506013:received-froml3:IP413:185.9.251.192e8:from-tag10:as3fdd699a7:command6:delete <u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">#<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">U <a href="http://10.207.201.24:2223" target="_blank" rel="noreferrer">10.207.201.24:2223</a> -> <a href="http://10.207.201.39:44347" target="_blank" rel="noreferrer">10.207.201.39:44347</a><u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"> 18037_7 d7:warning38:Call-ID not found or tags didn't match6:result2:oke <u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"> <u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">In that case there ghost call on stopped rtpengine, because it never received the delete message. <u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">Is there a way to run a graceful disable (continue to send delete or new offer for current traffic, but not accepting new call) ?<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">thanks <u></u><u></u></span></p></div></div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank" rel="noreferrer">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div>