The issue appears to be the following.  I set the Re-register on the phone to 600 seconds so i could test.  So I see that every 300 seconds a new Register is sent from the phone.  So even thought I set the re-register to 600 the re-register is being sent at half that.  Why the heck would it do that?<br /><br /><br /><br />On , duane.larson@gmail.com wrote:<br />&gt; I added the following<br />&gt; <br />&gt;                 if (!save(&quot;location&quot;,&quot;rp1&quot;))<br />&gt;                 {                <br />&gt;                         sl_reply_error();<br />&gt;                         exit;<br />&gt;                 }<br />&gt;                 append_to_reply(&quot;Contact: $ct;expires=$hdr(Expires)\r\n&quot;);<br />&gt;                 sl_send_reply(&quot;200&quot;,&quot;OK&quot;);  <br />&gt; <br />&gt; but that didn&#39;t help.  I am thinking it must be a Snom issue because it doesn&#39;t look like it affects Blink or Jitsi, but I don&#39;t see why it would just be Snom because the REGISTER message doesn&#39;t seem that different from the REGISTER messages from Blink or Jitsi.<br />&gt; <br />&gt; <br />&gt; <br />&gt; On , ccppprogrammer ccppprogrammer@gmail.com&gt; wrote:<br />&gt; &gt; I have the same problem with some UAC.To resolve that issue I added this to my config:<br />&gt; &gt; <br />&gt; &gt; <br />&gt; &gt;         if($ua =~ &quot;(dlink)|(MP204)&quot;)<br />&gt; &gt;         {<br />&gt; &gt;                 if (!save(&quot;location&quot;,&quot;rp1&quot;))<br />&gt; &gt; <br />&gt; &gt;                 {<br />&gt; &gt;                         sl_reply_error();<br />&gt; &gt;                         exit;<br />&gt; &gt;                 }<br />&gt; &gt;                 append_to_reply(&quot;Contact: $ct;expires=$hdr(Expires)\r\n&quot;);<br />&gt; &gt; <br />&gt; &gt;                 sl_send_reply(&quot;200&quot;,&quot;OK&quot;);<br />&gt; &gt;         }<br />&gt; &gt;         else<br />&gt; &gt;         {<br />&gt; &gt;                 if(!save(&quot;location&quot;))<br />&gt; &gt;                 {<br />&gt; &gt; <br />&gt; &gt;                         xlog(&quot;L_ERR&quot;, &quot;[02] Saving contact failed - M=$rm RURI=$ru F=$fu T=$tu IP=$si ID=$ci\n&quot;);<br />&gt; &gt;                         sl_reply_error();<br />&gt; &gt;                         exit;<br />&gt; &gt; <br />&gt; &gt;                 }<br />&gt; &gt;         }<br />&gt; &gt; <br />&gt; &gt; <br />&gt; &gt; On Tue, Nov 1, 2011 at 6:00 AM,  duane.larson@gmail.com&gt; wrote:<br />&gt; &gt; <br />&gt; &gt; I just recently started having an issue where a single device is registering multiple times so the device can be registered X amount of times.  This shouldn&#39;t be happening.  I think it is just happening with my Snom phones.  Here is a look at the Location table<br />&gt; &gt; <br />&gt; &gt; <br />&gt; &gt; Proxy02:~# opensipsctl db show location<br />&gt; &gt; +--------+------------+---------------+-------------------------------------------------------------------------------+----------+------+---------------------+------+--------------------------------------------------+------+---------------------+-------+--------+--------------------------------------------+-------------------------+---------+-------------------------------------------------+<br />&gt; &gt; <br />&gt; &gt; | id     | username   | domain        | contact                                                                       | received | path | expires             | q    | callid                                           | cseq | last_modified       | flags | cflags | user_agent                                 | socket                  | methods | sip_instance                                    |<br />&gt; &gt; <br />&gt; &gt; +--------+------------+---------------+-------------------------------------------------------------------------------+----------+------+---------------------+------+--------------------------------------------------+------+---------------------+-------+--------+--------------------------------------------+-------------------------+---------+-------------------------------------------------+<br />&gt; &gt; <br />&gt; &gt; | 231491 | 9013349021 | irock.com     | sip:9013349021@99.67.237.217:2048                                             | NULL     | NULL | 2011-10-31 22:38:28 | 1.00 | 3c26702188f3-wg9ggov3glo6                        | 3201 | 2011-10-31 21:38:28 |     0 |      0 | snom360/8.4.18                             | udp:173.XXX.XXX.107:5060 |    NULL | a166-971da65334c2&gt; |<br />&gt; &gt; <br />&gt; &gt; |   1128 | 102        | test.com      | sip:102@173.XXX.XXX.111:5060                                                   | NULL     | NULL | 1969-12-31 18:00:00 | 1.00 | dfjrewr12386fd6-343@opensips.mi                  |    1 | 1969-12-31 18:00:00 |     0 |      0 | OpenSIPS MI Server                         | NULL                    |    NULL | NULL                                            |<br />&gt; &gt; <br />&gt; &gt; | 231496 | 9013349020 | coolbeans.com | sip:vpbidjfg@99.67.237.217:64774                                              | NULL     | NULL | 2011-10-31 21:57:15 | 0.38 | 801baf3287bd4f43929c88f07c89c9ea                 |   30 | 2011-10-31 21:47:15 |     0 |      0 | Blink 0.2.7 (Windows)                      | udp:173.XXX.XXX.107:5060 |    NULL | NULL                                            |<br />&gt; &gt; <br />&gt; &gt; | 231497 | 9012732005 | coolbeans.com | sip:9012732005@99.67.237.217:5060;transport=udp;registering_acc=coolbeans_com | NULL     | NULL | 2011-10-31 21:57:52 | 0.38 | 581f45098c015864a2198943707b017c@0:0:0:0:0:0:0:0 |    4 | 2011-10-31 21:47:52 |     0 |      0 | Jitsi1.0-beta1-nightly.build.3689Windows 7 | udp:173.XXX.XXX.107:5060 |    NULL | NULL                                            |<br />&gt; &gt; <br />&gt; &gt; |   1341 | 100        | test.com      | sip:100@173.XXX.XXX.111:5062                                                   | NULL     | NULL | 1969-12-31 18:00:00 | 1.00 | dfjrewr12386fd6-343@opensips.mi                  |    1 | 1969-12-31 18:00:00 |     0 |      0 | OpenSIPS MI Server                         | NULL                    |    NULL | NULL                                            |<br />&gt; &gt; <br />&gt; &gt; | 231495 | 9013349020 | coolbeans.com | sip:9013349020@99.67.237.217:3072;line=2j0ev89a                               | NULL     | NULL | 2011-10-31 21:56:55 | 1.00 | 4770263c90d3-d2fa1qumckis                        |   26 | 2011-10-31 21:46:55 |     0 |      0 | snom870/8.3.6                              | udp:173.XXX.XXX.107:5060 |    7999 | addc-f7c173391da8&gt; |<br />&gt; &gt; <br />&gt; &gt; | 231494 | 9012732005 | coolbeans.com | sip:9012732005@99.67.237.217:49466;line=01yfa297                              | NULL     | NULL | 2011-10-31 21:53:05 | 1.00 | 2970263c2350-rhkeg5rfn9kl                        | 1248 | 2011-10-31 21:43:05 |     0 |      0 | snom821/8.4.32                             | udp:173.XXX.XXX.107:5060 |    7999 | 87a9-000413452240&gt; |<br />&gt; &gt; <br />&gt; &gt; | 231499 | 9013349020 | coolbeans.com | sip:9013349020@99.67.237.217:3072;line=2j0ev89a                               | NULL     | NULL | 2011-10-31 22:01:55 | 1.00 | 4770263c90d3-d2fa1qumckis                        |   28 | 2011-10-31 21:51:55 |     0 |      0 | snom870/8.3.6                              | udp:173.XXX.XXX.107:5060 |    7999 | addc-f7c173391da8&gt; |<br />&gt; &gt; <br />&gt; &gt; | 231498 | 9012732005 | coolbeans.com | sip:9012732005@99.67.237.217:49466;line=01yfa297                              | NULL     | NULL | 2011-10-31 21:58:05 | 1.00 | 2970263c2350-rhkeg5rfn9kl                        | 1251 | 2011-10-31 21:48:05 |     0 |      0 | snom821/8.4.32                             | udp:173.XXX.XXX.107:5060 |    7999 | 87a9-000413452240&gt; |<br />&gt; &gt; <br />&gt; &gt; | 231493 | 9013349020 | coolbeans.com | sip:9013349020@99.67.237.217:3072;line=2j0ev89a                               | NULL     | NULL | 2011-10-31 21:51:55 | 1.00 | 4770263c90d3-d2fa1qumckis                        |   24 | 2011-10-31 21:41:55 |     0 |      0 | snom870/8.3.6                              | udp:173.XXX.XXX.107:5060 |    7999 | addc-f7c173391da8&gt; |<br />&gt; &gt; <br />&gt; &gt; +--------+------------+---------------+-------------------------------------------------------------------------------+----------+------+---------------------+------+--------------------------------------------------+------+---------------------+-------+--------+--------------------------------------------+-------------------------+---------+-------------------------------------------------+<br />&gt; &gt; <br />&gt; &gt; <br />&gt; &gt; <br />&gt; &gt; <br />&gt; &gt; Here is a capture of a Snom registering<br />&gt; &gt; <br />&gt; &gt; #<br />&gt; &gt; U 2011/10/31 20:35:30.350428 99.67.237.217:49466 -&gt; 173.XXX.XXX.107:5060<br />&gt; &gt; REGISTER sip:coolbeans.com SIP/2.0.<br />&gt; &gt; <br />&gt; &gt; Via: SIP/2.0/UDP 99.67.237.217:49466;branch=z9hG4bK-kj7ofqn7s2eo;rport.<br />&gt; &gt; From: &quot;John 273-2005&quot; sip:9012732005@coolbeans.com&gt;;tag=haeihsr4cy.<br />&gt; &gt; <br />&gt; &gt; To: &quot;John 273-2005&quot; sip:9012732005@coolbeans.com&gt;.<br />&gt; &gt; Call-ID: 2970263c2350-rhkeg5rfn9kl.<br />&gt; &gt; CSeq: 1204 REGISTER.<br />&gt; &gt; Max-Forwards: 70.<br />&gt; &gt; <br />&gt; &gt; Contact: 49466;line=5dzmt6sw&gt;;reg-id=1;q=1.0;+sip.instance=&quot;uuid:8cc4eca7-3db7-410b-87a9-000413452240&gt;&quot;;audio;mobility=&quot;fixed&quot;;duplex=&quot;full&quot;;description=&quot;snom821&quot;<br />&gt; &gt; <br />&gt; &gt; ;actor=&quot;principal&quot;;events=&quot;dialog&quot;;methods=&quot;INVITE,ACK,CANCEL,BYE,REFER,OPTIONS,NOTIFY,SUBSCRIBE,PRACK,MESSAGE,INFO&quot;.<br />&gt; &gt; User-Agent: snom821/8.4.32.<br />&gt; &gt; <br />&gt; &gt; Allow-Events: dialog.<br />&gt; &gt; X-Real-IP: 192.168.1.70.<br />&gt; &gt; Supported: path, gruu.<br />&gt; &gt; Authorization: Digest username=&quot;9012732005&quot;,realm=&quot;coolbeans.com&quot;,nonce=&quot;4eaf4d00e88638b704039f4cfc50dfde5b20def7&quot;,uri=&quot;sip:coolbeans.com&quot;,qop=auth,nc=00000001,cnonce=&quot;7308dbbc&quot;,response=&quot;8aebd2aee<br />&gt; &gt; <br />&gt; &gt; 1433ce82aa3b8b775310dd2&quot;,algorithm=MD5.<br />&gt; &gt; Expires: 600.<br />&gt; &gt; Content-Length: 0.<br />&gt; &gt; .<br />&gt; &gt; <br />&gt; &gt; #<br />&gt; &gt; U 2011/10/31 20:35:30.438157 173.XXX.XXX.107:5060 -&gt; 99.67.237.217:49466<br />&gt; &gt; <br />&gt; &gt; SIP/2.0 200 OK.<br />&gt; &gt; Via: SIP/2.0/UDP 99.67.237.217:49466;received=99.67.237.217;branch=z9hG4bK-kj7ofqn7s2eo;rport=49466.<br />&gt; &gt; From: &quot;John 273-2005&quot; sip:9012732005@coolbeans.com&gt;;tag=haeihsr4cy.<br />&gt; &gt; <br />&gt; &gt; To: &quot;John 273-2005&quot; sip:9012732005@coolbeans.com&gt;;tag=90ecd6ebfaa7dfa0f1f8f06360e22e19.ca1d.<br />&gt; &gt; Call-ID: 2970263c2350-rhkeg5rfn9kl.<br />&gt; &gt; CSeq: 1204 REGISTER.<br />&gt; &gt; <br />&gt; &gt; Contact: 49466;line=5dzmt6sw&gt;;q=1;expires=600;pub-gruu=&quot;sip:9012732005@coolbeans.com;gr=urn:uuid:8cc4eca7-3db7-410b-87a9-000413452240&quot;;temp-gruu=&quot;sip:tgruu.AUMBXmIAQWA<br />&gt; &gt; <br />&gt; &gt; DQBNXYwBCZANCA15mcRM8XxxRCzJfA31TH15OJkMeaUUFWgppCRMwBBVQD2QcQzdSRx5aYgESfghHUld+AUBjBEEAWmYDQmcAUAFXZAFCZQMTAV1mAV0hWBtWCWZDFj0JG19u@173.XXX.XXX.107:5060;gr&quot;, 49466;li<br />&gt; &gt; ne=5dzmt6sw&gt;;q=1;expires=300;pub-gruu=&quot;sip:9012732005@coolbeans.com;gr=urn:uuid:8cc4eca7-3db7-410b-87a9-000413452240&quot;;temp-gruu=&quot;sip:tgruu.AUMBXmIAQWADQBNXYwBCZANCA15mcRM8XxxRCzJfA31TH15OJkMeaUUFWg<br />&gt; &gt; <br />&gt; &gt; ppCRMwBBVQD2QcQzdSRx5aYgESfghHUld+AUBjBEEAWmYDQmcAUAFXZAFCZQMTAV1mAV0hWBtWCWZDFj0JG18A@173.XXX.XXX.107:5060;gr&quot;, 5060;transport=udp;registering_acc=coolbeans_com&gt;;q=0.3<br />&gt; &gt; 8;expires=29, 5060;transport=udp;registering_acc=coolbeans_com&gt;;q=0.38;expires=570.<br />&gt; &gt; <br />&gt; &gt; Server: Aethercommunications SIP Proxy.<br />&gt; &gt; Content-Length: 0.<br />&gt; &gt; <br />&gt; &gt; <br />&gt; &gt; <br />&gt; &gt; Any clue as to what could be wrong?<br />&gt; &gt; <br />&gt; &gt; Here is a capture of a Blink client registering.  The only real difference I see is that Blink doesn&#39;t have GRUU supported in it.<br />&gt; &gt; <br />&gt; &gt; <br />&gt; &gt; U 2011/10/31 20:59:44.653225 99.67.237.217:64774 -&gt; 173.XXX.XXX.107:5060<br />&gt; &gt; REGISTER sip:coolbeans.com SIP/2.0.<br />&gt; &gt; <br />&gt; &gt; Via: SIP/2.0/UDP 99.67.237.217:64774;rport;branch=z9hG4bKPj830a4845ef764cf5bab8da258fbf6550.<br />&gt; &gt; Max-Forwards: 70.<br />&gt; &gt; From: &quot;9013349020&quot; sip:9013349020@coolbeans.com&gt;;tag=221ab2aa6cd643bd916499cef59fb7e2.<br />&gt; &gt; <br />&gt; &gt; To: &quot;9013349020&quot; sip:9013349020@coolbeans.com&gt;.<br />&gt; &gt; Contact: sip:vpbidjfg@99.67.237.217:64774&gt;.<br />&gt; &gt; <br />&gt; &gt; Call-ID: 801baf3287bd4f43929c88f07c89c9ea.<br />&gt; &gt; CSeq: 20 REGISTER.<br />&gt; &gt; Expires: 600.<br />&gt; &gt; User-Agent: Blink 0.2.7 (Windows).<br />&gt; &gt; Authorization: Digest username=&quot;9013349020&quot;, realm=&quot;coolbeans.com&quot;, nonce=&quot;4eaf52ae5e118b6c2c21d7a441fae23ad6ce08fe&quot;, uri=&quot;sip:coolbeans.com&quot;, response=&quot;a1a01a41a57a163b078c4be7cd120661&quot;, cnonce=&quot;9<br />&gt; &gt; <br />&gt; &gt; 9202526fad0443090fbd03bfdef9466&quot;, qop=auth, nc=00000001.<br />&gt; &gt; Content-Length:  0.<br />&gt; &gt; .<br />&gt; &gt; _______________________________________________<br />&gt; &gt; <br />&gt; &gt; Users mailing list<br />&gt; &gt; <br />&gt; &gt; Users@lists.opensips.org<br />&gt; &gt; <br />&gt; &gt; http://lists.opensips.org/cgi-bin/mailman/listinfo/users<br />&gt; &gt; <br />&gt; &gt; <br />&gt; &gt; <br />&gt; &gt; <br />&gt; &gt; <br />&gt; &gt;