[Freeswitch-users] sofia_count_reg - return -1

Lloyd Aloysius lloyd.aloysius at gmail.com
Sun Apr 22 22:40:56 MSD 2012


Yes. I agree. I will open this issue in JIRA.

sofia_contact works perfectly and return the value.


On Sun, Apr 22, 2012 at 2:35 PM, Chris Chen <chris.chen2004 at gmail.com>wrote:

> Lloyd, I have two FS, one with multi-tenant while the other single tenant,
> running
>
> version
> FreeSWITCH Version 1.1.beta1 (git-a00e9af 2012-04-12 16-28-50 -0500)
> FreeSWITCH Version 1.1.beta1 (git-3887495 2012-04-19 11-32-29 +0200)
>
>
> both of them all returning -1 when running sofia_count_reg
>
> I believe this should be a bug for a while.
>
> chris
>
>
>
> On Sun, Apr 22, 2012 at 2:14 PM, Lloyd Aloysius <lloyd.aloysius at gmail.com>wrote:
>
>> Environment
>>
>> 1. Multi-tenant
>> 2. Core Database - mysql
>> 3. See the results
>>
>> freeswitch at default> version
>> FreeSWITCH Version 1.1.beta1 (git-adae5e5 2012-04-21 16-08-32 +0200)
>>
>>
>> freeswitch at default> sofia_count_reg aaron at mydomain.ca
>> -1
>>
>> freeswitch at default> sofia_count_reg mydomain.ca
>>  -1
>>
>> freeswitch at default>
>>
>> *
>> *
>> But the user aaron is registered with the system.
>>
>>
>>
>>
>> On Sun, Apr 22, 2012 at 3:02 AM, Kyle King <kyle.king at quentustech.com>wrote:
>>
>>> **
>>> I tested and found everything in order. If you were using the api
>>> without arguments then it will report a error "-1". The correct format
>>> for counting all registrations of a user use "sofia_count_reg
>>> <user>@<domain>" I use "sofia_count_reg 1000 at 192.168.100.74" "1000"
>>> being my user and "192.168.100.74" the IP of my FreeSWITCH box". To see
>>> all registrations of a domain use "sofia_count_reg @<domain>" I use
>>> "sofia_count_reg @192.168.100.74" (be sure to include the @).
>>>
>>> Kyle A. King
>>> Quentus Technologies, INC
>>> Cell: 703-635-9512
>>> Work: 253-218-6030
>>> Fax:  206-462-1861
>>> Email: kyle.king at quentustech.com
>>>
>>>
>>> On 04/21/2012 09:20 PM, Brian Foster wrote:
>>>
>>> By the way, you need to do this:
>>>
>>> sofia_count_reg user/<user_id>@<domain>
>>>
>>> In my case I get 0, but there's one registered. On another that's not
>>> registered I get -1. Add that into your bug report.
>>>
>>> -BDF
>>>
>>> On Sun, Apr 22, 2012 at 12:18 AM, Brian Foster <bdfoster at endigotech.com> <bdfoster at endigotech.com>wrote:
>>>
>>>
>>>  Looks like it's been broken for awhile now, but yes, as Gabe mentioned you
>>> need to file a JIRA. This is the wrong place for bug reports.
>>>
>>> -BDF
>>>
>>>
>>> On Sat, Apr 21, 2012 at 11:46 PM, Gabriel Gunderson <gabe at gundy.org> <gabe at gundy.org>wrote:
>>>
>>>
>>>  On Sat, Apr 21, 2012 at 7:48 PM, Lloyd Aloysius<lloyd.aloysius at gmail.com> <lloyd.aloysius at gmail.com> wrote:
>>>
>>>  Today I update the most recent version from git. Does sofia_count_reg
>>>  broken? It always return -1
>>>
>>>  I'll save you some time... if you think it's a bug, go here:http://jira.freeswitch.org/secure/Dashboard.jspa
>>>
>>> Directing users to report bugs in Jira has been a pretty constant
>>> theme on the mailing list (especially the last few weeks).
>>>
>>> Good luck!
>>>
>>> Best,
>>> Gabe
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:consulting at freeswitch.orghttp://www.freeswitchsolutions.com
>>>
>>> FreeSWITCH-powered IP PBX: The CudaTel Communication Server
>>>
>>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.com
>>>
>>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org
>>>
>>>  --
>>> Brian D. Foster
>>> Endigo Computer LLC
>>> Email: bdfoster at endigotech.com
>>> Phone: 317-800-7876
>>> Indianapolis, Indiana, USA
>>>
>>> This message contains confidential information and is intended for those
>>> listed in the "To:", "CC:", and/or "BCC:" fields of the message header. If
>>> you are not the intended recipient you are notified that disclosing,
>>> copying, distributing or taking any action in reliance on the contents of
>>> this information is strictly prohibited. E-mail transmission cannot be
>>> guaranteed to be secure or error-free as information could be intercepted,
>>> corrupted, lost, destroyed, arrive late or incomplete, or contain viruses.
>>> The sender therefore does not accept liability for any errors or omissions
>>> in the contents of this message, which arise as a result of e-mail
>>> transmission. If verification is required please request a hard-copy
>>> version.
>>>
>>>
>>>
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:consulting at freeswitch.orghttp://www.freeswitchsolutions.com
>>>
>>> FreeSWITCH-powered IP PBX: The CudaTel Communication Server
>>>
>>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.com
>>>
>>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org
>>>
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>>
>>> 
>>> 
>>>
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://wiki.freeswitch.org
>>> http://www.cluecon.com
>>>
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org
>>>
>>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120422/fe18c3bd/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list