<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi.</p>
<p><br>
</p>
<p>Thank you very much!</p>
<p><br>
</p>
<p>Your explanation was sufficient and now I understood what is happening.</p>
<p>There is no changes caused by OpenSIPS. Is the UAC that decides to put that "inactive" there.</p>
<p><br>
</p>
<p>Best regards.<br>
</p>
<p><br>
</p>
<div id="Signature">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div class="BodyFragment"><font size="2">
<div class="PlainText">RODRIGO PIMENTA CARVALHO<br>
Inatel Competence Center<br>
Software<br>
Ph: +55 35 3471 9200 RAMAL 979<br>
</div>
</font></div>
</div>
</div>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>De:</b> users-bounces@lists.opensips.org <users-bounces@lists.opensips.org> em nome de Benjamin Cropley <benjamin.cropley@gmail.com><br>
<b>Enviado:</b> quarta-feira, 7 de setembro de 2016 09:01<br>
<b>Para:</b> OpenSIPS users mailling list<br>
<b>Assunto:</b> Re: [OpenSIPS-Users] What does mean "a=inactive"?</font>
<div> </div>
</div>
<div>
<div dir="ltr">I would start by looking at a trace. Is it A changing the SDP attribute? or is OpenSIPS doing it?
<div>
<div><br>
</div>
<div>Inactive obviously means "Keep the session live, but dont send me any audio, and I won't send you any audio".</div>
</div>
<div><br>
</div>
<div>I've seen that happen once, when both end points couldnt establish a codec.. due to processing error or something like that, but instead of sending an appropriate error, it just connects the call and send that.</div>
<div><br>
</div>
<div>Hope that helps,</div>
<div>Ben Cropley</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Sep 1, 2016 at 1:12 PM, Rodrigo Pimenta Carvalho
<span dir="ltr"><<a href="mailto:pimenta@inatel.br" target="_blank">pimenta@inatel.br</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div dir="ltr">
<div style="font-size:12pt; color:#000000; background-color:#ffffff; font-family:Calibri,Arial,Helvetica,sans-serif">
<div style="color:rgb(0,0,0)">
<div dir="ltr">
<div> </div>
</div>
<div>
<div style="font-size:12pt; color:#000000; background-color:#ffffff; font-family:Calibri,Arial,Helvetica,sans-serif">
<p><span></span></p>
<div>Dear OpenSIPS users;<br>
<br>
I'm not sure if the following question is about OpenSIPS, or SIP, or SDP, but...<br>
<br>
I have 2 softphones (Microsip) with SIP UAC: in phone A and in phone B. There is a SIP Proxy (OpenSIPS) between they too.<br>
<br>
<br>
When A calls B, I can see the SIP messages (via wireshark) and in some moment A sends a SIP UPDATE do B.<br>
<br>
The SIP UPDATE has SDP with lines like this:<br>
<br>
<br>
v=0<br>
o=- 3681643549 3681643550 IN IP4 XXX.YYY.240.204<br>
s=pjmedia<br>
b=AS:84<br>
t=0 0<br>
a=X-nat:1<br>
m=audio 64568 RTP/AVP 110 8 101<br>
c=IN IP4 XXX.YYY.240.204<br>
b=TIAS:64000<br>
a=rtpmap:110 speex/8000<br>
a=rtpmap:8 PCMA/8000<br>
a=rtpmap:101 telephone-event/8000<br>
a=fmtp:101 0-16<br>
a=ice-ufrag:139d7049<br>
a=ice-pwd:692c4a80<br>
a=rtcp:64571 IN IP4 XXX.YYY.240.204<br>
a=candidate:Sc0a81485 1 UDP 1862270975 XXX.YYY.240.204 64568 typ srflx raddr 192.168.20.133 rport 64568<br>
a=candidate:Sc0a81485 2 UDP 1862270974 XXX.YYY.240.204 64571 typ srflx raddr 192.168.20.133 rport 64571<br>
a=remote-candidates:1 XXX.YYY.240.71 64993 2 XXX.YYY.240.71 64996<br>
<b><span style="color:rgb(0,111,201)">a=sendrecv</span></b><br>
<br>
However, if I replace the SIP Proxy with another one containing the same software (Same OpenSIPS, database, network, etc. Just hardware is different) and run the same call (A calls B), that "<u>a=sendrecv</u>" in SIP UPDATE changes to "<u>a=inactive</u>". If
the peers are still the same, how could a media attribute changes?<br>
<br>
<br>
I have no idea what could cause this difference related to media attribute! Could OpenSIPS take care of this case?<br>
<br>
Could someone here give me some examples of what could cause an "a=inactive", so that I will have a point to start my analyze of the problem?<br>
<br>
I will also take a look in the SIP RFC to get some hint.<br>
<br>
Any hint will be very very helpful!<br>
<br>
Best regards.</div>
<span class="HOEnZb"><font color="#888888"><span></span><br>
<p></p>
<p><br>
</p>
<div>
<div name="divtagdefaultwrapper">
<div><font size="2">
<div>RODRIGO PIMENTA CARVALHO<br>
Inatel Competence Center<br>
Software<br>
Ph: <a href="tel:%2B55%2035%203471%209200" value="+553534719200" target="_blank">
+55 35 3471 9200</a> RAMAL 979<br>
</div>
</font></div>
</div>
</div>
</font></span></div>
</div>
</div>
</div>
</div>
<br>
______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="gmail_signature">
<div dir="ltr">All the best,
<div>Ben Cropley</div>
<div>07539 366 905</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>