<div><font face="verdana,sans-serif">I've seen something interesting here, </font></div>
<div><font face="verdana,sans-serif"></font> </div>
<div><font face="verdana,sans-serif">When the zoiper softphone send the REGISTER with expires=0 (normal behavior as i'm restarting the phone), Opensips answers with the following: (take a look at the trace)</font></div>
<div><font face="verdana,sans-serif"></font> </div>
<div><font face="verdana,sans-serif">#<br>U 2011/02/09 12:22:19.307852 <a href="http://172.30.140.47:5060">172.30.140.47:5060</a> -> <a href="http://172.30.140.57:5060">172.30.140.57:5060</a><br>REGISTER sip:172.30.140.57;transport=UDP SIP/2.0<br>
Via: SIP/2.0/UDP 172.30.140.47:5060;branch=z9hG4bK-d8754z-15075d40ba64fa00-1---d8754z-<br>Max-Forwards: 70<br>Contact: <sip:1001@172.30.140.47:5060;rinstance=bd724156614686a6;transport=UDP>;<strong>expires=0<br></strong>To: "1001"<<a href="mailto:sip%3A1001@172.30.140.57">sip:1001@172.30.140.57</a>;transport=UDP><br>
From: "1001"<<a href="mailto:sip%3A1001@172.30.140.57">sip:1001@172.30.140.57</a>;transport=UDP>;tag=8e1f5910<br>Call-ID: NTAwOGYyNDVhNzY4NjNhMjY0NTZlNTcwN2VjN2RhYWM.<br>CSeq: 4 REGISTER<br>Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE<br>
User-Agent: Zoiper rev.5324<br>Authorization: Digest username="1001",realm="172.30.140.57",nonce="4d5279090000001c0a15fa778702ef3d4d1139dfda7a275e",uri="sip:172.30.140.57;transport=UDP",response="859420dd3fefcccbf4d2727ff4db611d",algorithm=MD5<br>
Allow-Events: presence<br>Content-Length: 0</font></div>
<div><font face="verdana,sans-serif"><br>#<br>U 2011/02/09 12:22:19.308281 <a href="http://172.30.140.57:5060">172.30.140.57:5060</a> -> <a href="http://172.30.140.47:5060">172.30.140.47:5060</a><br>SIP/2.0 200 OK<br>
Via: SIP/2.0/UDP 172.30.140.47:5060;branch=z9hG4bK-d8754z-15075d40ba64fa00-1---d8754z-<br>To: "1001"<<a href="mailto:sip%3A1001@172.30.140.57">sip:1001@172.30.140.57</a>;transport=UDP>;tag=c1aca2eceea8b9ed63a816bcd8cf10b1.e871<br>
From: "1001"<<a href="mailto:sip%3A1001@172.30.140.57">sip:1001@172.30.140.57</a>;transport=UDP>;tag=8e1f5910<br>Call-ID: NTAwOGYyNDVhNzY4NjNhMjY0NTZlNTcwN2VjN2RhYWM.<br>CSeq: 4 REGISTER<br>Contact: <sip:1001@172.30.140.47:5060;rinstance=a03689bfb7cef683;transport=UDP>;<strong>expires=2149<br>
</strong>Server: OpenSIPS (1.6.3-notls (i386/linux))<br>Content-Length: 0</font></div>
<div><font face="verdana,sans-serif"></font> </div>
<div><font face="verdana,sans-serif">As you can see, Opensips answers with a expires of 2149; that's why opensips keep this registration untill the expiration time reachs 0, any ideas why opensips answer with this value?</font></div>
<div><font face="Verdana"></font> </div>
<div><font face="Verdana">Thanks!</font></div>
<div><font face="verdana,sans-serif"></font> </div>
<div><font face="verdana,sans-serif"> </font></div>
<div><br><br></div>
<div class="gmail_quote">2011/2/9 Toyima Dias <span dir="ltr"><<a href="mailto:toyimads@gmail.com">toyimads@gmail.com</a>></span><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div><font face="verdana,sans-serif">Hello, </font></div>
<div><font face="verdana,sans-serif"></font> </div>
<div><font face="verdana,sans-serif">I've a doubt about a little problem in my opensips server, right now i just have 2 softphones registered with my opensips server, every time i restart the phones opensips creates the following:</font></div>
<div><font face="verdana,sans-serif"></font> </div>
<div><font face="verdana,sans-serif">OpenSIPS:/usr/src/opensips-1.6.3-tls#opensipsctl ul show<br>Domain:: location table=512 records=2<br> AOR:: 1000<br> Contact:: sip:1000@172.30.140.47:26612;rinstance=4975490f64787658 Q=<br>
Expires:: 3565<br> Callid:: OWE3Y2NmYTI3MWNjNzRjOTkxNDU0YTQ1ZTMxM2RhNTU.<br> Cseq:: 2<br> User-agent:: X-Lite release 1011s stamp 41150<br>
State:: CS_SYNC<br> Flags:: 0<br> Cflag:: 0<br> Socket:: udp:<a href="http://172.30.140.57:5060/" target="_blank">172.30.140.57:5060</a><br>
Methods:: 5951<br> AOR:: 1001<br> Contact:: sip:1001@172.30.140.47:5060;rinstance=a03689bfb7cef683;transport=UDP Q=<br> Expires:: 2641<br> Callid:: NGQ4ZjBmMDhiMGIyNDc5MTA5NmExMDE1YzFhZjFlMjg.<br>
Cseq:: 2<br> User-agent:: Zoiper rev.5324<br> State:: CS_SYNC<br> Flags:: 0<br> Cflag:: 0<br> Socket:: udp:<a href="http://172.30.140.57:5060/" target="_blank">172.30.140.57:5060</a><br>
Methods:: 5951<br> Contact:: sip:1001@172.30.140.47:5060;rinstance=333586886a503975;transport=UDP Q=<br> Expires:: 3597<br> Callid:: NTI0Y2VlYWJjNzI3NDEyMjkzYTNkZTYzMTdhMGEwYmY.<br>
Cseq:: 2<br> User-agent:: Zoiper rev.5324<br> State:: CS_SYNC<br> Flags:: 0<br> Cflag:: 0<br> Socket:: udp:<a href="http://172.30.140.57:5060/" target="_blank">172.30.140.57:5060</a><br>
Methods:: 5951<br></font></div>
<div><font face="verdana,sans-serif">As you can see, user 1001 has created 2 registrations (don't now why, it should sent an expires=0 when the softphone was restarted...it might be a problem of the zoiper softphone?); the problem is when 1000 calls 1001, Opensips send INVITE to both registrations of 1001 (the same equipment), and this phone send a 482 Merged Request...i've been checking the section 8.2.2.2 at RFC 3261 but i'm quite confuse...what should i check?</font></div>
<div><br></div></blockquote></div><br>