<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 &quot;Keep the session live, but dont send me any audio, and I won&#39;t send you any audio&quot;.</div></div><div><br></div><div>I&#39;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">&lt;<a href="mailto:pimenta@inatel.br" target="_blank">pimenta@inatel.br</a>&gt;</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&#39;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 &quot;<u>a=sendrecv</u>&quot; in SIP UPDATE changes to &quot;<u>a=inactive</u>&quot;. 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 &quot;a=inactive&quot;, 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" data-smartmail="gmail_signature"><div dir="ltr">All the best,<div>Ben Cropley</div><div>07539 366 905</div></div></div>
</div>