[Freeswitch-users] Registration Count
Yuriy Nasida
nasida at live.ru
Mon Feb 13 23:35:43 MSK 2012
Fixed. The issue was incorrect alias name in internal sip profile.Thanks :)
Date: Mon, 13 Feb 2012 11:02:57 -0800
From: msc at freeswitch.org
To: freeswitch-users at lists.freeswitch.org
Subject: Re: [Freeswitch-users] Registration Count
Well, if you can reproduce it then I'd open a jira.
-MC
2012/2/13 Yuriy Nasida <nasida at live.ru>
Thanks for your reply. I have checked db already but db looks good.
freeswitch at internal> sofia status profile internal regRegistrations:
=================================================================================================Call-ID: 7d71ae1483727841 at dmlld3BvaW50User: yuriytest at 192.168.187.131
Contact: "yuriytest" <sip:yuriytest at 192.168.187.1:6065;rinstance=b8a55c925b109a19>Agent: Telphin Softphone release 3015c stamp 31720Status: Registered(UDP)(unknown) EXP(2012-02-11 07:51:48) EXPSECS(1415)
Host: localhost.localdomainIP: 192.168.187.1Port: 6065Auth-User: yuriytestAuth-Realm: 192.168.187.131MWI-Account: yuriytest at 192.168.187.131
Call-ID: 800D3057-E054-E111-B98C-001CF0118229 at 192.168.187.1User: yuriytest at 192.168.187.131
Contact: "yuriytest" <sip:yuriytest at 192.168.187.1:63463>Agent: SIPPER for PhonerLiteStatus: Registered(UDP)(unknown) EXP(2012-02-11 07:44:01) EXPSECS(948)
Host: localhost.localdomainIP: 192.168.187.1Port: 63463Auth-User: yuriytestAuth-Realm: 192.168.187.131MWI-Account: yuriytest at 192.168.187.131
Total items returned: 2
sqlite> select * from sip_registrations;7d71ae1483727841 at dmlld3BvaW50|yuriytest|192.168.187.131|192.168.187.131|"yuriytest" <sip:yuriytest at 192.168.187.1:6065;rinstance=b8a55c925b109a19>|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|
800D3057-E054-E111-B98C-001CF0118229 at 192.168.187.1|yuriytest|192.168.187.131|192.168.187.131|"yuriytest" <sip:yuriytest at 192.168.187.1:63463>|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|
BUT!
sofia_count_reg don't work :(
freeswitch at internal> sofia_count_reg yuriytest at 192.168.187.131-1
Date: Mon, 13 Feb 2012 10:41:00 -0800
From: msc at freeswitch.org
To: freeswitch-users at lists.freeswitch.org
Subject: Re: [Freeswitch-users] Registration Count
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.
-MC
2012/2/13 Yuriy Nasida <nasida at live.ru>
Because it is not working with one of my FS servers.
freeswitch at internal> sofia_count_reg yuriytest at 192.168.187.131
-1
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.Not sure why. It works fine with other FS server.
Please advise.Thanks.
Date: Mon, 13 Feb 2012 09:45:52 -0800
From: msc at freeswitch.org
To: freeswitch-users at lists.freeswitch.org
Subject: Re: [Freeswitch-users] Registration Count
Why do you say that sofia_count_reg does not work?
freeswitch at default> version
FreeSWITCH Version 1.0.head (git-eeeaf41 2012-02-10 17-27-50 -0600)
freeswitch at default> sofia_count_reg 1001 at 192.168.1.79
1freeswitch at default>
-MC
2012/2/13 Yuriy Nasida <nasida at live.ru>
Hello guys!
Is there the standart method to limit count of simultaneous registrations for some user?
I wiki I have found only one similar ability http://wiki.freeswitch.org/wiki/API_sofia_count_reg
But... It is for dialplan. I use curl module with php scripts for dynamic directory.So I can use this API from php script before sending the xml to FS. But is there more simple ways ?
Btw, API 'sofia_count_reg' doesn't work with 'new' git'FreeSWITCH Version 1.0.head (git-e6bfa11 2012-02-09 16-47-32 -0600)'
But! API 'sofia_count_reg' works with 'old' git
FreeSWITCH Version 1.0.head (git-54b4b08 2011-11-04 16-58-35 -0500)
Please adviseThanks.
_________________________________________________________________________
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
_________________________________________________________________________
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/20120214/f28fe166/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list