<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;">
<div style="color: rgb(0, 0, 0);">
<div id="divRplyFwdMsg" dir="ltr">
<div> </div>
</div>
<div>
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<p><span id="ms-rterangepaste-start"></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 id="ms-rterangepaste-end"></span><br>
<p></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>
</div>
</div>
</div>
</div>
</body>
</html>