Hi Mr. Castillo,<br>I tried it, but don&#39;t work.<br>My problem is:<br>- Each Register created by X-LITE 3.0 is a new contact because each message have&nbsp; parameter RINSTANCE with new value.<br>- So OpenSER will keep in your location table all the contacts received.
<br>- I want break it, so for each Register Message Openser will update this contact in your location table.<br><br>My location table (Replace My Ip Number to xxxxxxxxxxxx):<br><br>&nbsp;id | username | domain |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; contact&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | received | path |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; expires&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp; q&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; callid&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | cseq |&nbsp;&nbsp;&nbsp; last_modified&nbsp;&nbsp;&nbsp; | flags | cflags |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; user_agent&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; socket&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | methods
<br>----+----------+--------+-------------------------------------------------------------+----------+------+---------------------+------+----------------------------------------------+------+---------------------+-------+--------+----------------------------------+--------------------------+---------
<br>&nbsp;36 | teste1 &nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | sip:teste1@xxxxxxxxx:27420;rinstance=457f14a9ad568c74 |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | 2007-11-14 16:54:05 | 0.00 | YjY5YmFkZDRkZjBmOTliOWFiNmY2ODViMmRmMTg3ZjQ. |&nbsp;&nbsp;&nbsp; 2 | 2007-11-14 15:54:05 |&nbsp;&nbsp;&nbsp;&nbsp; 0 |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 | X-Lite release 1011s stamp 41150 | udp:xxxxxxxxxxxx:5060 |&nbsp;&nbsp;&nbsp; 5951
<br>&nbsp;37 | teste1 &nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | sip:teste1@xxxxxxxxxxxx:9150;rinstance=d491e76ae7d17c63&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | 2007-11-14 17:01:09 | 0.00 | OTdiNDM4Y2M4NWEzMjIwMmU5MWE1Y2E5M2E3N2VkNjY. |&nbsp;&nbsp;&nbsp; 2 | 2007-11-14 16:01:09 |&nbsp;&nbsp;&nbsp;&nbsp; 0 |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 | X-Lite release 1011s stamp 41150 | udp:xxxxxxxxxxxx:5060 |&nbsp;&nbsp;&nbsp; 5951
<br>&nbsp;38 | teste1&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | sip:teste1@xxxxxxxxxxxxx:32448;rinstance=a88d552b74e3ebbc |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | 2007-11-14 17:07:13 | 0.00 | ZTE4YTE4OTVlOGJjYTExM2IxM2RiZjFlOGMyNzI3Nzk. |&nbsp;&nbsp;&nbsp; 2 | 2007-11-14 16:07:13 |&nbsp;&nbsp;&nbsp;&nbsp; 0 |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 | X-Lite release 1011s stamp 41150 | udp:xxxxxxxxxxxx:5060 |&nbsp;&nbsp;&nbsp; 5951
<br><br><br>Then this problem is just with X-LITE 3.0 <br>Already talked with CounterPath&#39; Support and this error is knowledge them and in the next version will be removed.<br>But still in demo this new version, and will need long time to be released.
<br><br>Wait your help.<br>Thiago!<br><br><br>--------------------------------------------------------------------------------------------<br><br>El Wednesday 14 November 2007 14:55:00 Thiago Maluf escribi?:<br>&gt; Hi list,
<br>&gt; The X-Lite 3.0 create one new rinstance to each REGISTER Message.<br>&gt; Therefore the next register will be one new contact in location table.<br>&gt; Because this new register have new contact.<br>&gt; So it&#39;s my problem. I should in soon config my OpenSER to just allow one
<br>&gt; register by user. And with this problem, I won&#39;t config it.<br>&gt; Thanks in Advanced,<br><br>Ok, then you can use:<br> &nbsp;modparam(&quot;registrar&quot;, &quot;method_filtering&quot;, 1)<br>so just contacts that &quot;Allow&quot; the actual method (INVITE, MESSAGE or whatever)
<br>will be called.<br><br>For this you should, in each REGISTER, do a DB query (or FIFO command) to test<br>if there was a previous entry for this location, and in that case modify<br>the &quot;methods&quot; field of new entry:
<br><br><a href="http://openser.svn.sourceforge.net/viewvc/openser/trunk/parser/msg_parser.h?revision=2802&amp;view=markup" target="_blank">http://openser.svn.sourceforge.net/viewvc/openser/trunk/parser/msg_parser.h?revision=2802&amp;view=markup
</a><br><br><br>--<br>I?aki Baz Castillo<br><a href="mailto:ibc@in.ilimit.es">ibc@in.ilimit.es</a><br><br clear="all"><br>-- <br>----------------------------------------------------------------<br>THIAGO MALUF RESENDE<br>
e-mail: <a href="mailto:malufrj@gmail.com">malufrj@gmail.com</a>