<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
<div>Fixed. The issue was incorrect alias name in internal sip profile.</div><div>Thanks :)</div><br><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">Date: Mon, 13 Feb 2012 11:02:57 -0800<br>From: msc@freeswitch.org<br>To: freeswitch-users@lists.freeswitch.org<br>Subject: Re: [Freeswitch-users] Registration Count<br><br>Well, if you can reproduce it then I'd open a jira.<br>-MC<br><br><div class="ecxgmail_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="ecxgmail_quote" style="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: &nbsp; &nbsp; &nbsp; &nbsp;7d71ae1483727841@dmlld3BvaW50</div><div>User: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="mailto:yuriytest@192.168.187.131">yuriytest@192.168.187.131</a></div>
<div>Contact: &nbsp; &nbsp; &nbsp; &nbsp;"yuriytest" &lt;sip:yuriytest@192.168.187.1:6065;rinstance=b8a55c925b109a19&gt;</div><div>Agent: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Telphin Softphone release 3015c stamp 31720</div><div>Status: &nbsp; &nbsp; &nbsp; &nbsp; Registered(UDP)(unknown) EXP(2012-02-11 07:51:48) EXPSECS(1415)</div>
<div>Host: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; localhost.localdomain</div><div>IP: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 192.168.187.1</div><div>Port: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 6065</div><div>Auth-User: &nbsp; &nbsp; &nbsp;yuriytest</div><div>Auth-Realm: &nbsp; &nbsp; 192.168.187.131</div><div>MWI-Account: &nbsp; &nbsp;<a href="mailto:yuriytest@192.168.187.131">yuriytest@192.168.187.131</a></div>
<div><br></div><div>Call-ID: &nbsp; &nbsp; &nbsp; &nbsp;<a href="mailto:800D3057-E054-E111-B98C-001CF0118229@192.168.187.1">800D3057-E054-E111-B98C-001CF0118229@192.168.187.1</a></div><div>User: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="mailto:yuriytest@192.168.187.131">yuriytest@192.168.187.131</a></div>
<div>Contact: &nbsp; &nbsp; &nbsp; &nbsp;"yuriytest" &lt;<a href="http://192.168.187.1%3a63463" target="_blank">sip:yuriytest@192.168.187.1:63463</a>&gt;</div><div>Agent: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SIPPER for PhonerLite</div><div>Status: &nbsp; &nbsp; &nbsp; &nbsp; Registered(UDP)(unknown) EXP(2012-02-11 07:44:01) EXPSECS(948)</div>
<div>Host: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; localhost.localdomain</div><div>IP: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 192.168.187.1</div><div>Port: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 63463</div><div>Auth-User: &nbsp; &nbsp; &nbsp;yuriytest</div><div>Auth-Realm: &nbsp; &nbsp; 192.168.187.131</div><div>MWI-Account: &nbsp; &nbsp;<a href="mailto:yuriytest@192.168.187.131">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|"yuriytest" &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">800D3057-E054-E111-B98C-001CF0118229@192.168.187.1</a>|yuriytest|192.168.187.131|192.168.187.131|"yuriytest" &lt;<a href="http://192.168.187.1%3a63463" 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!&nbsp;
sofia_count_reg&nbsp;don't work :(</div><div><br></div><div><div>freeswitch@internal&gt; sofia_count_reg <a href="mailto:yuriytest@192.168.187.131">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">msc@freeswitch.org</a><br>To: <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
Subject: Re: [Freeswitch-users] Registration Count<br><br>Not sure if that's a problem with sofia_count_reg. Might be a database issue. I'd go look in the actual database and see what'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">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">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 'bad' server to 'git-54b4b08 2011-11-04 16-58-35 -0500' but still have this issue.</div><div>Not sure why. It works fine with other FS server.&nbsp;</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">msc@freeswitch.org</a><br>To: <a href="mailto:freeswitch-users@lists.freeswitch.org">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">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">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.&nbsp;</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 'sofia_count_reg' doesn't work with 'new' git</div><div>'FreeSWITCH Version 1.0.head (git-e6bfa11 2012-02-09 16-47-32 -0600)'</div><div><br></div><div>But! API 'sofia_count_reg' works with 'old' 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">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>
<br>_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a href="mailto:consulting@freeswitch.org">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">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>
<br>_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a href="mailto:consulting@freeswitch.org">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">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>
<br>_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org</div>                                               </div></body>
</html>