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 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">
<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">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>