<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hello Duane,<br>
<br>
What version of OpenSIPS are you using ? Trunk ?<br>
This indeed seems like a bug, so please open a bug report on
Sourceforge where you are explaining the problem in detail.<br>
<br>
<br>
Regards,<br>
<pre class="moz-signature" cols="72">Vlad Paiu
OpenSIPS Developer</pre>
<br>
On 11/02/2011 05:49 AM, Duane Larson wrote:
<blockquote
cite="mid:CAFcM1ErGt39rSJpCWZkXr1s9a=bcNPURgb_qOR79qkJMcnu1yw@mail.gmail.com"
type="cite">I just remembered that the SIP client is supposed to
send a re-register at half the expire interval. So I'm not sure
why I have double location entries. I swear my phones used to not
do this.<br>
<br>
<br>
<br>
<br>
<div class="gmail_quote">
On Tue, Nov 1, 2011 at 10:11 PM, <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:duane.larson@gmail.com">duane.larson@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
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?
<div>
<div class="h5"><br>
<br>
<br>
<br>
On , <a moz-do-not-send="true"
href="mailto:duane.larson@gmail.com" target="_blank">duane.larson@gmail.com</a>
wrote:<br>
> I added the following<br>
> <br>
> if (!save("location","rp1"))<br>
> { <br>
> sl_reply_error();<br>
> exit;<br>
> }<br>
> append_to_reply("Contact:
$ct;expires=$hdr(Expires)\r\n");<br>
> sl_send_reply("200","OK"); <br>
> <br>
> but that didn't help. I am thinking it must be a Snom
issue because it doesn't look like it affects Blink or
Jitsi, but I don't see why it would just be Snom because
the REGISTER message doesn't seem that different from the
REGISTER messages from Blink or Jitsi.<br>
> <br>
> <br>
> <br>
> On , ccppprogrammer <a moz-do-not-send="true"
href="mailto:ccppprogrammer@gmail.com" target="_blank">ccppprogrammer@gmail.com</a>>
wrote:<br>
> > I have the same problem with some UAC.To resolve
that issue I added this to my config:<br>
> > <br>
> > <br>
> > if($ua =~ "(dlink)|(MP204)")<br>
> > {<br>
> > if (!save("location","rp1"))<br>
> > <br>
> > {<br>
> > sl_reply_error();<br>
> > exit;<br>
> > }<br>
> > append_to_reply("Contact:
$ct;expires=$hdr(Expires)\r\n");<br>
> > <br>
> > sl_send_reply("200","OK");<br>
> > }<br>
> > else<br>
> > {<br>
> > if(!save("location"))<br>
> > {<br>
> > <br>
> > xlog("L_ERR", "[02]
Saving contact failed - M=$rm RURI=$ru F=$fu T=$tu IP=$si
ID=$ci\n");<br>
> > sl_reply_error();<br>
> > exit;<br>
> > <br>
> > }<br>
> > }<br>
> > <br>
> > <br>
> > On Tue, Nov 1, 2011 at 6:00 AM, <a
moz-do-not-send="true"
href="mailto:duane.larson@gmail.com" target="_blank">duane.larson@gmail.com</a>>
wrote:<br>
> > <br>
> > 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't be
happening. I think it is just happening with my Snom
phones. Here is a look at the Location table<br>
> > <br>
> > <br>
> > Proxy02:~# opensipsctl db show location<br>
> >
+--------+------------+---------------+-------------------------------------------------------------------------------+----------+------+---------------------+------+--------------------------------------------------+------+---------------------+-------+--------+--------------------------------------------+-------------------------+---------+-------------------------------------------------+<br>
> > <br>
> > | id | username | domain | contact | received |
path | expires | q | callid | cseq | last_modified | flags
| cflags | user_agent | socket | methods | sip_instance |<br>
> > <br>
> >
+--------+------------+---------------+-------------------------------------------------------------------------------+----------+------+---------------------+------+--------------------------------------------------+------+---------------------+-------+--------+--------------------------------------------+-------------------------+---------+-------------------------------------------------+<br>
> > <br>
> > | 231491 | <a moz-do-not-send="true"
href="tel:9013349021" value="+19013349021"
target="_blank">9013349021</a> | <a
moz-do-not-send="true" href="http://irock.com"
target="_blank">irock.com</a> | sip:<a
moz-do-not-send="true" href="tel:9013349021"
value="+19013349021" target="_blank">9013349021</a>@<a
moz-do-not-send="true" href="http://99.67.237.217:2048"
target="_blank">99.67.237.217:2048</a> | 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> |<br>
> > <br>
> > | 1128 | 102 | <a moz-do-not-send="true"
href="http://test.com" target="_blank">test.com</a> |
<a class="moz-txt-link-abbreviated" href="mailto:sip:102@173.XXX.XXX.111:5060">sip:102@173.XXX.XXX.111:5060</a> | NULL | NULL | 1969-12-31
18:00:00 | 1.00 | <a class="moz-txt-link-abbreviated" href="mailto:dfjrewr12386fd6-343@opensips.mi">dfjrewr12386fd6-343@opensips.mi</a> | 1 |
1969-12-31 18:00:00 | 0 | 0 | OpenSIPS MI Server | NULL |
NULL | NULL |<br>
> > <br>
> > | 231496 | <a moz-do-not-send="true"
href="tel:9013349020" value="+19013349020"
target="_blank">9013349020</a> | <a
moz-do-not-send="true" href="http://coolbeans.com"
target="_blank">coolbeans.com</a> | <a
moz-do-not-send="true"
href="http://sip:vpbidjfg@99.67.237.217:64774"
target="_blank">sip:vpbidjfg@99.67.237.217:64774</a> |
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>
> > <br>
> > | 231497 | <a moz-do-not-send="true"
href="tel:9012732005" value="+19012732005"
target="_blank">9012732005</a> | <a
moz-do-not-send="true" href="http://coolbeans.com"
target="_blank">coolbeans.com</a> | sip:<a
moz-do-not-send="true" href="tel:9012732005"
value="+19012732005" target="_blank">9012732005</a>@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>
> > <br>
> > | 1341 | 100 | <a moz-do-not-send="true"
href="http://test.com" target="_blank">test.com</a> |
<a class="moz-txt-link-abbreviated" href="mailto:sip:100@173.XXX.XXX.111:5062">sip:100@173.XXX.XXX.111:5062</a> | NULL | NULL | 1969-12-31
18:00:00 | 1.00 | <a class="moz-txt-link-abbreviated" href="mailto:dfjrewr12386fd6-343@opensips.mi">dfjrewr12386fd6-343@opensips.mi</a> | 1 |
1969-12-31 18:00:00 | 0 | 0 | OpenSIPS MI Server | NULL |
NULL | NULL |<br>
> > <br>
> > | 231495 | <a moz-do-not-send="true"
href="tel:9013349020" value="+19013349020"
target="_blank">9013349020</a> | <a
moz-do-not-send="true" href="http://coolbeans.com"
target="_blank">coolbeans.com</a> | sip:<a
moz-do-not-send="true" href="tel:9013349020"
value="+19013349020" target="_blank">9013349020</a>@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> |<br>
> > <br>
> > | 231494 | <a moz-do-not-send="true"
href="tel:9012732005" value="+19012732005"
target="_blank">9012732005</a> | <a
moz-do-not-send="true" href="http://coolbeans.com"
target="_blank">coolbeans.com</a> | sip:<a
moz-do-not-send="true" href="tel:9012732005"
value="+19012732005" target="_blank">9012732005</a>@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> |<br>
> > <br>
> > | 231499 | <a moz-do-not-send="true"
href="tel:9013349020" value="+19013349020"
target="_blank">9013349020</a> | <a
moz-do-not-send="true" href="http://coolbeans.com"
target="_blank">coolbeans.com</a> | sip:<a
moz-do-not-send="true" href="tel:9013349020"
value="+19013349020" target="_blank">9013349020</a>@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> |<br>
> > <br>
> > | 231498 | <a moz-do-not-send="true"
href="tel:9012732005" value="+19012732005"
target="_blank">9012732005</a> | <a
moz-do-not-send="true" href="http://coolbeans.com"
target="_blank">coolbeans.com</a> | sip:<a
moz-do-not-send="true" href="tel:9012732005"
value="+19012732005" target="_blank">9012732005</a>@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> |<br>
> > <br>
> > | 231493 | <a moz-do-not-send="true"
href="tel:9013349020" value="+19013349020"
target="_blank">9013349020</a> | <a
moz-do-not-send="true" href="http://coolbeans.com"
target="_blank">coolbeans.com</a> | sip:<a
moz-do-not-send="true" href="tel:9013349020"
value="+19013349020" target="_blank">9013349020</a>@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> |<br>
> > <br>
> >
+--------+------------+---------------+-------------------------------------------------------------------------------+----------+------+---------------------+------+--------------------------------------------------+------+---------------------+-------+--------+--------------------------------------------+-------------------------+---------+-------------------------------------------------+<br>
> > <br>
> > <br>
> > <br>
> > <br>
> > Here is a capture of a Snom registering<br>
> > <br>
> > #<br>
> > U 2011/10/31 20:35:30.350428 <a
moz-do-not-send="true" href="http://99.67.237.217:49466"
target="_blank">99.67.237.217:49466</a> ->
173.XXX.XXX.107:5060<br>
> > REGISTER sip:<a moz-do-not-send="true"
href="http://coolbeans.com" target="_blank">coolbeans.com</a>
SIP/2.0.<br>
> > <br>
> > Via: SIP/2.0/UDP
99.67.237.217:49466;branch=z9hG4bK-kj7ofqn7s2eo;rport.<br>
> > From: "John 273-2005" sip:<a
moz-do-not-send="true" href="tel:9012732005"
value="+19012732005" target="_blank">9012732005</a>@<a
moz-do-not-send="true" href="http://coolbeans.com"
target="_blank">coolbeans.com</a>>;tag=haeihsr4cy.<br>
> > <br>
> > To: "John 273-2005" sip:<a
moz-do-not-send="true" href="tel:9012732005"
value="+19012732005" target="_blank">9012732005</a>@<a
moz-do-not-send="true" href="http://coolbeans.com"
target="_blank">coolbeans.com</a>>.<br>
> > Call-ID: 2970263c2350-rhkeg5rfn9kl.<br>
> > CSeq: 1204 REGISTER.<br>
> > Max-Forwards: 70.<br>
> > <br>
> > Contact:
49466;line=5dzmt6sw>;reg-id=1;q=1.0;+sip.instance="uuid:8cc4eca7-3db7-410b-87a9-000413452240>";audio;mobility="fixed";duplex="full";description="snom821"<br>
> > <br>
> >
;actor="principal";events="dialog";methods="INVITE,ACK,CANCEL,BYE,REFER,OPTIONS,NOTIFY,SUBSCRIBE,PRACK,MESSAGE,INFO".<br>
> > User-Agent: snom821/<a moz-do-not-send="true"
href="http://8.4.32." target="_blank">8.4.32.</a><br>
> > <br>
> > Allow-Events: dialog.<br>
> > X-Real-IP: 192.168.1.70.<br>
> > Supported: path, gruu.<br>
> > Authorization: Digest username="<a
moz-do-not-send="true" href="tel:9012732005"
value="+19012732005" target="_blank">9012732005</a>",realm="<a
moz-do-not-send="true" href="http://coolbeans.com"
target="_blank">coolbeans.com</a>",nonce="4eaf4d00e88638b704039f4cfc50dfde5b20def7",uri="sip:<a
moz-do-not-send="true" href="http://coolbeans.com"
target="_blank">coolbeans.com</a>",qop=auth,nc=00000001,cnonce="7308dbbc",response="8aebd2aee<br>
> > <br>
> > 1433ce82aa3b8b775310dd2",algorithm=MD5.<br>
> > Expires: 600.<br>
> > Content-Length: 0.<br>
> > .<br>
> > <br>
> > #<br>
> > U 2011/10/31 20:35:30.438157
173.XXX.XXX.107:5060 -> <a moz-do-not-send="true"
href="http://99.67.237.217:49466" target="_blank">99.67.237.217:49466</a><br>
> > <br>
> > SIP/2.0 200 OK.<br>
> > Via: SIP/2.0/UDP
99.67.237.217:49466;received=99.67.237.217;branch=z9hG4bK-kj7ofqn7s2eo;rport=49466.<br>
> > From: "John 273-2005" sip:<a
moz-do-not-send="true" href="tel:9012732005"
value="+19012732005" target="_blank">9012732005</a>@<a
moz-do-not-send="true" href="http://coolbeans.com"
target="_blank">coolbeans.com</a>>;tag=haeihsr4cy.<br>
> > <br>
> > To: "John 273-2005" sip:<a
moz-do-not-send="true" href="tel:9012732005"
value="+19012732005" target="_blank">9012732005</a>@<a
moz-do-not-send="true" href="http://coolbeans.com"
target="_blank">coolbeans.com</a>>;tag=90ecd6ebfaa7dfa0f1f8f06360e22e19.ca1d.<br>
> > Call-ID: 2970263c2350-rhkeg5rfn9kl.<br>
> > CSeq: 1204 REGISTER.<br>
> > <br>
> > Contact:
49466;line=5dzmt6sw>;q=1;expires=600;pub-gruu="sip:<a
moz-do-not-send="true" href="tel:9012732005"
value="+19012732005" target="_blank">9012732005</a>@<a
moz-do-not-send="true" href="http://coolbeans.com"
target="_blank">coolbeans.com</a>;gr=urn:uuid:8cc4eca7-3db7-410b-87a9-000413452240";temp-gruu="sip:tgruu.AUMBXmIAQWA<br>
> > <br>
> >
<a class="moz-txt-link-abbreviated" href="mailto:DQBNXYwBCZANCA15mcRM8XxxRCzJfA31TH15OJkMeaUUFWgppCRMwBBVQD2QcQzdSRx5aYgESfghHUld+AUBjBEEAWmYDQmcAUAFXZAFCZQMTAV1mAV0hWBtWCWZDFj0JG19u@173.XXX.XXX.107:5060;gr">DQBNXYwBCZANCA15mcRM8XxxRCzJfA31TH15OJkMeaUUFWgppCRMwBBVQD2QcQzdSRx5aYgESfghHUld+AUBjBEEAWmYDQmcAUAFXZAFCZQMTAV1mAV0hWBtWCWZDFj0JG19u@173.XXX.XXX.107:5060;gr</a>",
49466;li<br>
> > ne=5dzmt6sw>;q=1;expires=300;pub-gruu="sip:<a
moz-do-not-send="true" href="tel:9012732005"
value="+19012732005" target="_blank">9012732005</a>@<a
moz-do-not-send="true" href="http://coolbeans.com"
target="_blank">coolbeans.com</a>;gr=urn:uuid:8cc4eca7-3db7-410b-87a9-000413452240";temp-gruu="sip:tgruu.AUMBXmIAQWADQBNXYwBCZANCA15mcRM8XxxRCzJfA31TH15OJkMeaUUFWg<br>
> > <br>
> >
<a class="moz-txt-link-abbreviated" href="mailto:ppCRMwBBVQD2QcQzdSRx5aYgESfghHUld+AUBjBEEAWmYDQmcAUAFXZAFCZQMTAV1mAV0hWBtWCWZDFj0JG18A@173.XXX.XXX.107:5060;gr">ppCRMwBBVQD2QcQzdSRx5aYgESfghHUld+AUBjBEEAWmYDQmcAUAFXZAFCZQMTAV1mAV0hWBtWCWZDFj0JG18A@173.XXX.XXX.107:5060;gr</a>",
5060;transport=udp;registering_acc=coolbeans_com>;q=0.3<br>
> > 8;expires=29,
5060;transport=udp;registering_acc=coolbeans_com>;q=0.38;expires=570.<br>
> > <br>
> > Server: Aethercommunications SIP Proxy.<br>
> > Content-Length: 0.<br>
> > <br>
> > <br>
> > <br>
> > Any clue as to what could be wrong?<br>
> > <br>
> > Here is a capture of a Blink client registering.
The only real difference I see is that Blink doesn't have
GRUU supported in it.<br>
> > <br>
> > <br>
> > U 2011/10/31 20:59:44.653225 <a
moz-do-not-send="true" href="http://99.67.237.217:64774"
target="_blank">99.67.237.217:64774</a> ->
173.XXX.XXX.107:5060<br>
> > REGISTER sip:<a moz-do-not-send="true"
href="http://coolbeans.com" target="_blank">coolbeans.com</a>
SIP/2.0.<br>
> > <br>
> > Via: SIP/2.0/UDP
99.67.237.217:64774;rport;branch=z9hG4bKPj830a4845ef764cf5bab8da258fbf6550.<br>
> > Max-Forwards: 70.<br>
> > From: "<a moz-do-not-send="true"
href="tel:9013349020" value="+19013349020"
target="_blank">9013349020</a>" sip:<a
moz-do-not-send="true" href="tel:9013349020"
value="+19013349020" target="_blank">9013349020</a>@<a
moz-do-not-send="true" href="http://coolbeans.com"
target="_blank">coolbeans.com</a>>;tag=221ab2aa6cd643bd916499cef59fb7e2.<br>
> > <br>
> > To: "<a moz-do-not-send="true"
href="tel:9013349020" value="+19013349020"
target="_blank">9013349020</a>" sip:<a
moz-do-not-send="true" href="tel:9013349020"
value="+19013349020" target="_blank">9013349020</a>@<a
moz-do-not-send="true" href="http://coolbeans.com"
target="_blank">coolbeans.com</a>>.<br>
> > Contact: <a moz-do-not-send="true"
href="http://sip:vpbidjfg@99.67.237.217:64774"
target="_blank">sip:vpbidjfg@99.67.237.217:64774</a>>.<br>
> > <br>
> > Call-ID: 801baf3287bd4f43929c88f07c89c9ea.<br>
> > CSeq: 20 REGISTER.<br>
> > Expires: 600.<br>
> > User-Agent: Blink 0.2.7 (Windows).<br>
> > Authorization: Digest username="<a
moz-do-not-send="true" href="tel:9013349020"
value="+19013349020" target="_blank">9013349020</a>",
realm="<a moz-do-not-send="true"
href="http://coolbeans.com" target="_blank">coolbeans.com</a>",
nonce="4eaf52ae5e118b6c2c21d7a441fae23ad6ce08fe",
uri="sip:<a moz-do-not-send="true"
href="http://coolbeans.com" target="_blank">coolbeans.com</a>",
response="a1a01a41a57a163b078c4be7cd120661", cnonce="9<br>
> > <br>
> > 9202526fad0443090fbd03bfdef9466", qop=auth,
nc=00000001.<br>
> > Content-Length: 0.<br>
> > .<br>
> > _______________________________________________<br>
> > <br>
> > Users mailing list<br>
> > <br>
> > <a moz-do-not-send="true"
href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
> > <br>
> > <a moz-do-not-send="true"
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
> > <br>
> > <br>
> > <br>
> > <br>
> > <br>
> ></div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
--<br>
*--*--*--*--*--*<br>
Duane<br>
*--*--*--*--*--*<br>
--<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
</body>
</html>