Well, if you can reproduce it then I&#39;d open a jira.<br>-MC<br><br><div class="gmail_quote">2012/2/13 Yuriy Nasida <span dir="ltr">&lt;<a href="mailto:nasida@live.ru">nasida@live.ru</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div><div dir="ltr">
Thanks for your reply. I have checked db already but db looks good.<div><br></div><div><div><br></div><div>freeswitch@internal&gt; sofia status profile internal reg</div><div><span style="font-size:10pt">Registrations:</span></div>
<div>=================================================================================================</div><div>Call-ID:        7d71ae1483727841@dmlld3BvaW50</div><div>User:           <a href="mailto:yuriytest@192.168.187.131" target="_blank">yuriytest@192.168.187.131</a></div>
<div>Contact:        &quot;yuriytest&quot; &lt;sip:yuriytest@192.168.187.1:6065;rinstance=b8a55c925b109a19&gt;</div><div>Agent:          Telphin Softphone release 3015c stamp 31720</div><div>Status:         Registered(UDP)(unknown) EXP(2012-02-11 07:51:48) EXPSECS(1415)</div>
<div>Host:           localhost.localdomain</div><div>IP:             192.168.187.1</div><div>Port:           6065</div><div>Auth-User:      yuriytest</div><div>Auth-Realm:     192.168.187.131</div><div>MWI-Account:    <a href="mailto:yuriytest@192.168.187.131" target="_blank">yuriytest@192.168.187.131</a></div>
<div><br></div><div>Call-ID:        <a href="mailto:800D3057-E054-E111-B98C-001CF0118229@192.168.187.1" target="_blank">800D3057-E054-E111-B98C-001CF0118229@192.168.187.1</a></div><div>User:           <a href="mailto:yuriytest@192.168.187.131" target="_blank">yuriytest@192.168.187.131</a></div>
<div>Contact:        &quot;yuriytest&quot; &lt;<a href="http://sip:yuriytest@192.168.187.1:63463" target="_blank">sip:yuriytest@192.168.187.1:63463</a>&gt;</div><div>Agent:          SIPPER for PhonerLite</div><div>Status:         Registered(UDP)(unknown) EXP(2012-02-11 07:44:01) EXPSECS(948)</div>
<div>Host:           localhost.localdomain</div><div>IP:             192.168.187.1</div><div>Port:           63463</div><div>Auth-User:      yuriytest</div><div>Auth-Realm:     192.168.187.131</div><div>MWI-Account:    <a href="mailto:yuriytest@192.168.187.131" target="_blank">yuriytest@192.168.187.131</a></div>
<div><br></div><div>Total items returned: 2</div><br><br></div><div><br><div>sqlite&gt; select * from sip_registrations;</div><div>7d71ae1483727841@dmlld3BvaW50|yuriytest|192.168.187.131|192.168.187.131|&quot;yuriytest&quot; &lt;sip:yuriytest@192.168.187.1:6065;rinstance=b8a55c925b109a19&gt;|Registered(UDP)|unknown|1328935908|Telphin Softphone release 3015c stamp 31720|yuriytest|192.168.187.131|internal|localhost.localdomain|192.168.187.1|6065|yuriytest|192.168.187.131|yuriytest|192.168.187.131|192.168.187.131|localhost.localdomain|</div>
<div><a href="mailto:800D3057-E054-E111-B98C-001CF0118229@192.168.187.1" target="_blank">800D3057-E054-E111-B98C-001CF0118229@192.168.187.1</a>|yuriytest|192.168.187.131|192.168.187.131|&quot;yuriytest&quot; &lt;<a href="http://sip:yuriytest@192.168.187.1:63463" target="_blank">sip:yuriytest@192.168.187.1:63463</a>&gt;|Registered(UDP)|unknown|1328935441|SIPPER for PhonerLite|yuriytest|192.168.187.131|internal|localhost.localdomain|192.168.187.1|63463|yuriytest|192.168.187.131|yuriytest|192.168.187.131|192.168.187.131|localhost.localdomain|</div>
<br><br><br>BUT! 
sofia_count_reg don&#39;t work :(</div><div><br></div><div><div>freeswitch@internal&gt; sofia_count_reg <a href="mailto:yuriytest@192.168.187.131" target="_blank">yuriytest@192.168.187.131</a></div><div>-1</div></div><div>
<br></div><div><br><br><br><div><div></div><hr>Date: Mon, 13 Feb 2012 10:41:00 -0800<br>From: <a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a><br>To: <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>
Subject: Re: [Freeswitch-users] Registration Count<br><br>Not sure if that&#39;s a problem with sofia_count_reg. Might be a database issue. I&#39;d go look in the actual database and see what&#39;s going on in there.<br>-MC<br>
<br><div>2012/2/13 Yuriy Nasida <span dir="ltr">&lt;<a href="mailto:nasida@live.ru" target="_blank">nasida@live.ru</a>&gt;</span><br>
<blockquote style="border-left:1px #ccc solid;padding-left:1ex">


<div><div dir="ltr">
<div><div>Because it is not working with one of my FS servers.</div><div><br></div><div>freeswitch@internal&gt; sofia_count_reg <a href="mailto:yuriytest@192.168.187.131" target="_blank">yuriytest@192.168.187.131</a></div>

<div>-1</div><div><br></div><div>Yes, the version of FS is not the reason. I have re-built &#39;bad&#39; server to &#39;git-54b4b08 2011-11-04 16-58-35 -0500&#39; but still have this issue.</div><div>Not sure why. It works fine with other FS server. </div>

<div><br></div><div>Please advise.</div><div>Thanks.</div></div><br><div><div></div><hr>Date: Mon, 13 Feb 2012 09:45:52 -0800<br>From: <a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a><br>To: <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>

Subject: Re: [Freeswitch-users] Registration Count<br><br>Why do you say that sofia_count_reg does not work?<br><br><font size="1"><span style="font-family:courier new,monospace">freeswitch@default&gt; version</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">FreeSWITCH Version 1.0.head (git-eeeaf41 2012-02-10 17-27-50 -0600)</span><br style="font-family:courier new,monospace">
<br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">freeswitch@default&gt; sofia_count_reg <a href="mailto:1001@192.168.1.79" target="_blank">1001@192.168.1.79</a></span><br style="font-family:courier new,monospace">


<span style="font-family:courier new,monospace">1</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">freeswitch@default&gt; </span><br style="font-family:courier new,monospace">


</font><br>-MC<br><br><div>2012/2/13 Yuriy Nasida <span dir="ltr">&lt;<a href="mailto:nasida@live.ru" target="_blank">nasida@live.ru</a>&gt;</span><br><blockquote style="border-left:1px #ccc solid;padding-left:1ex">



<div><div dir="ltr">
<div>Hello guys!</div><div><br></div><div>Is there the standart method to limit count of simultaneous registrations for some user?</div><div><br></div><div>I wiki I have found only one similar ability <a href="http://wiki.freeswitch.org/wiki/API_sofia_count_reg" target="_blank">http://wiki.freeswitch.org/wiki/API_sofia_count_reg</a></div>


<div><br></div><div>But... It is for dialplan. </div><div>I use curl module with php scripts for dynamic directory.</div><div>So I can use this API from php script before sending the xml to FS. But is there more simple ways ?</div>


<div><br></div><div>Btw, API &#39;sofia_count_reg&#39; doesn&#39;t work with &#39;new&#39; git</div><div>&#39;FreeSWITCH Version 1.0.head (git-e6bfa11 2012-02-09 16-47-32 -0600)&#39;</div><div><br></div><div>But! API &#39;sofia_count_reg&#39; works with &#39;old&#39; git</div>


<div>FreeSWITCH Version 1.0.head (git-54b4b08 2011-11-04 16-58-35 -0500)</div><div><br></div><div>Please advise</div><div>Thanks.</div>                                               </div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>
<br>_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></div>                                               </div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>
<br>_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></div></div>                                               </div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>