Hi Mr. Castillo,<br>I tried it, but don't work.<br>My problem is:<br>- Each Register created by X-LITE 3.0 is a new contact because each message have 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> id | username | domain | contact | received | path | expires | q | callid | cseq | last_modified | flags | cflags | user_agent | socket | methods
<br>----+----------+--------+-------------------------------------------------------------+----------+------+---------------------+------+----------------------------------------------+------+---------------------+-------+--------+----------------------------------+--------------------------+---------
<br> 36 | teste1 | | sip:teste1@xxxxxxxxx:27420;rinstance=457f14a9ad568c74 | | | 2007-11-14 16:54:05 | 0.00 | YjY5YmFkZDRkZjBmOTliOWFiNmY2ODViMmRmMTg3ZjQ. | 2 | 2007-11-14 15:54:05 | 0 | 0 | X-Lite release 1011s stamp 41150 | udp:xxxxxxxxxxxx:5060 | 5951
<br> 37 | teste1 | | sip:teste1@xxxxxxxxxxxx:9150;rinstance=d491e76ae7d17c63 | | | 2007-11-14 17:01:09 | 0.00 | OTdiNDM4Y2M4NWEzMjIwMmU5MWE1Y2E5M2E3N2VkNjY. | 2 | 2007-11-14 16:01:09 | 0 | 0 | X-Lite release 1011s stamp 41150 | udp:xxxxxxxxxxxx:5060 | 5951
<br> 38 | teste1 | | sip:teste1@xxxxxxxxxxxxx:32448;rinstance=a88d552b74e3ebbc | | | 2007-11-14 17:07:13 | 0.00 | ZTE4YTE4OTVlOGJjYTExM2IxM2RiZjFlOGMyNzI3Nzk. | 2 | 2007-11-14 16:07:13 | 0 | 0 | X-Lite release 1011s stamp 41150 | udp:xxxxxxxxxxxx:5060 | 5951
<br><br><br>Then this problem is just with X-LITE 3.0 <br>Already talked with CounterPath' 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>> Hi list,
<br>> The X-Lite 3.0 create one new rinstance to each REGISTER Message.<br>> Therefore the next register will be one new contact in location table.<br>> Because this new register have new contact.<br>> So it's my problem. I should in soon config my OpenSER to just allow one
<br>> register by user. And with this problem, I won't config it.<br>> Thanks in Advanced,<br><br>Ok, then you can use:<br> modparam("registrar", "method_filtering", 1)<br>so just contacts that "Allow" 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 "methods" field of new entry:
<br><br><a href="http://openser.svn.sourceforge.net/viewvc/openser/trunk/parser/msg_parser.h?revision=2802&view=markup" target="_blank">http://openser.svn.sourceforge.net/viewvc/openser/trunk/parser/msg_parser.h?revision=2802&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>