[prev in list] [next in list] [prev in thread] [next in thread] 

List:       serusers
Subject:    Re: [SR-Users] Ideas to reject a call due to RTPEngine failure when handling the 200Ok
From:       Patrick Wakano <pwakano () gmail ! com>
Date:       2020-01-23 22:35:23
Message-ID: CAPu3kNXfNA-wLqOYa4jdp40XTkN-K5YnGmXc8SfEN6LxN8GiTg () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


I know that, and if that happens for the initial INIVITE I can properly
fail the call with a 50X.
However when I am already dealing with the 200Ok, the options are very
limited and it is not clear to me what is the correct approach....

On Fri, 24 Jan 2020 at 09:16, Alex Balashov <abalashov@evaristesys.com>
wrote:

> If the RTPEngine fails to answer the offer or answer command, the SDP
> will be left unmodified.
>
> But of course, that will not result in a proper media path.
>
> On Fri, Jan 24, 2020 at 09:01:25AM +1100, Patrick Wakano wrote:
>
> > Hello list,
> > Hope you all doing well!
> >
> > I have a setup of Kamailio + RTPEngine (so no B2BUA), and I've come to a
> > situation which I can't really figure out the best decision.....
> > The case is a late SDP negotiation that the 200Ok with the SDP offer
> fails
> > to engage the RTPEngine (for example no RTPEngine available). Also, the
> > same problem can happen with a normal SDP negotiation, in case the INVITE
> > goes through normally but then when engaging the SDP answer for the
> 200Ok,
> > the RTPengine answer request fails for any reason...
> > In these cases, I can't generate a proper SDP for the 200OOk so the call
> > will connect normally, but the media path will be broken...
> > So for such cases, I am thinking it is reasonable to fail the call.
> > However, failing a call during the 200Ok stage is tricky, at this point
> we
> > can't convert the 200Ok to a 50X. I tried and Kamailio doesn't allow and
> > also RFC wise this is a no no for a SIP proxy....
> > I could completely remove the SDP body and forward the 200Ok. This will
> > force a failed SDP negotiation and leave it for the endpoints the task to
> > terminate the call. Is that acceptable? Has anyone faced such situation?
> > Any idea is much appreciated!
> >
> > Kind regards,
> > Patrick Wakano
>
> > _______________________________________________
> > Kamailio (SER) - Users Mailing List
> > sr-users@lists.kamailio.org
> > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
>
> --
> Alex Balashov | Principal | Evariste Systems LLC
>
> Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free)
> Web: http://www.evaristesys.com/, http://www.csrpswitch.com/
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>

[Attachment #5 (text/html)]

<div dir="ltr"><div>I know that, and if that happens for the initial INIVITE I can \
properly fail the call with a 50X.</div><div>However when I am already dealing with \
the 200Ok, the options are very limited and it is not clear to me what is the correct \
approach.... </div></div><br><div class="gmail_quote"><div dir="ltr" \
class="gmail_attr">On Fri, 24 Jan 2020 at 09:16, Alex Balashov &lt;<a \
href="mailto:abalashov@evaristesys.com">abalashov@evaristesys.com</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">If the RTPEngine fails \
to answer the offer or answer command, the SDP<br> will be left unmodified. <br>
<br>
But of course, that will not result in a proper media path.<br>
<br>
On Fri, Jan 24, 2020 at 09:01:25AM +1100, Patrick Wakano wrote:<br>
<br>
&gt; Hello list,<br>
&gt; Hope you all doing well!<br>
&gt; <br>
&gt; I have a setup of Kamailio + RTPEngine (so no B2BUA), and I&#39;ve come to a<br>
&gt; situation which I can&#39;t really figure out the best decision.....<br>
&gt; The case is a late SDP negotiation that the 200Ok with the SDP offer fails<br>
&gt; to engage the RTPEngine (for example no RTPEngine available). Also, the<br>
&gt; same problem can happen with a normal SDP negotiation, in case the INVITE<br>
&gt; goes through normally but then when engaging the SDP answer for the 200Ok,<br>
&gt; the RTPengine answer request fails for any reason...<br>
&gt; In these cases, I can&#39;t generate a proper SDP for the 200OOk so the call<br>
&gt; will connect normally, but the media path will be broken...<br>
&gt; So for such cases, I am thinking it is reasonable to fail the call.<br>
&gt; However, failing a call during the 200Ok stage is tricky, at this point we<br>
&gt; can&#39;t convert the 200Ok to a 50X. I tried and Kamailio doesn&#39;t allow \
and<br> &gt; also RFC wise this is a no no for a SIP proxy....<br>
&gt; I could completely remove the SDP body and forward the 200Ok. This will<br>
&gt; force a failed SDP negotiation and leave it for the endpoints the task to<br>
&gt; terminate the call. Is that acceptable? Has anyone faced such situation?<br>
&gt; Any idea is much appreciated!<br>
&gt; <br>
&gt; Kind regards,<br>
&gt; Patrick Wakano<br>
<br>
&gt; _______________________________________________<br>
&gt; Kamailio (SER) - Users Mailing List<br>
&gt; <a href="mailto:sr-users@lists.kamailio.org" \
target="_blank">sr-users@lists.kamailio.org</a><br> &gt; <a \
href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" \
target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br> \
<br> <br>
-- <br>
Alex Balashov | Principal | Evariste Systems LLC<br>
<br>
Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) <br>
Web: <a href="http://www.evaristesys.com/" rel="noreferrer" \
target="_blank">http://www.evaristesys.com/</a>, <a href="http://www.csrpswitch.com/" \
rel="noreferrer" target="_blank">http://www.csrpswitch.com/</a><br> <br>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" \
target="_blank">sr-users@lists.kamailio.org</a><br> <a \
href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" \
target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br> \
</blockquote></div>


[Attachment #6 (text/plain)]

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic