From yboujraf@by-research.be Wed Mar 30 17:00:57 2022 From: Youssef Boujraf To: sr-users@lists.kamailio.org Subject: Re: [SR-Users] ?==?utf-8?q? RTPENGINE : Kamailio - Get status if max sessions reached Date: Wed, 30 Mar 2022 17:00:44 +0200 Message-ID: In-Reply-To: =?utf-8?q?=3CAS8PR05MB8551ED136553FB120D27ADE6BF1F9=40AS8PR05MB?= =?utf-8?q?8551=2Eeurprd05=2Eprod=2Eoutlook=2Ecom=3E?= MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1287101534==" --===============1287101534== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Dear, Yes we did it but get for he same call 4x return value (2x true & 2x false) a= nd the number of max sessions was not reached. That's why I asked my question. When following the log from kamailio, kamailio get the correct status from rt= pengine but if the max sessions is reached, the INVITE is not cancelled. Then= no audio. Best Regards, On Wednesday, March 30, 2022 15:38 CEST, Henning Westerholt = wrote: =C2=A0=C2=A0 Hello, =C2=A0 have you tried to evaluate the return value of the rtpengine_manage(..) funct= ion call in kamailio.cfg? It should return an error in this case, I think. =C2=A0 In a production setting you should monitor your rtpengine call load with some= monitoring or visualization tools. =C2=A0 Cheers, =C2=A0 Henning =C2=A0 --=20 Henning Westerholt =E2=80=93 https://skalatan.de/blog/ Kamailio services =E2=80=93 https://gilawa.com =C2=A0 From: sr-users On Behalf Of Youssef B= oujraf Sent: Wednesday, March 30, 2022 2:48 PM To: sr-users(a)lists.kamailio.org Subject: Re: [SR-Users] RTPENGINE : Kamailio - Get status if max sessions rea= ched =C2=A0 Dear, Why to develop another kamailio ? The question is kamailio is handeling the status received from rtpengine but = not sharing this status for extra control. Do I need to parse the module code to find where it is ? I ahve seen many peo= ple in this forum or dev forum to ask to get extra status and most of the tim= e an update is done. Best Regards, On Wednesday, March 30, 2022 12:05 CEST, "Youssef Boujraf" wrote: =C2=A0 =C2=A0 Dear, =C2=A0 QUESTION :=20 =C2=A0 Through kamailio, We are using rtpengine_manage and the return value is true or false but don"t= know for which reason. =C2=B7=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 How to be informed if = rtpengine reach the maximum of sessions and will not accept any rtp routing ? =C2=B7=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 We have seen if rtpeng= ine reached the max-session; The call is accept by kamailio and finally no au= dio because SDP not processed - kamailio.log =C2=A0 Mar 29 16:08:14 kamailio /usr/sbin/kamailio[21065]: ALERT: {1 2 INVITE nIdGvZ= ZNiFnt3_r0xSIKpQ..}