VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
bkk at ednt.de Guest
|
|
Back to top |
|
|
krice at freeswitch.org Guest
|
|
Back to top |
|
|
bkk at ednt.de Guest
|
Posted: Thu Sep 29, 2022 12:59 am Post subject: [Freeswitch-users] Get registrations via fs_cli or API |
|
|
Hi,
thanks for your response.
I also checked the sqlite dbs, but this is even more complicated than
the sofia solution.
Because there I need to check the directory (which is not always the
same) and have to look
for the reg sofia dbs, then open them and make the query.
It is safer and faster to use the sofia status command.
In general:
If I know that a command does not work as expected, I don't make it
available.
To use it, find the fault and now to replace it was very time consuming.
Best regards,
Bernd
Am 29.09.2022 um 03:46 schrieb Ken Rice:
--
EDNT GmbH
Werner-von-Siemens-Strasse 7
64625 Bensheim
www.ednt.de
Registergericht: Darmstadt
Registernummer: 24972
Geschäftsführerin: Kerstin Knapp
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com
Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://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
https://freeswitch.com |
|
Back to top |
|
|
krice at freeswitch.org Guest
|
Posted: Thu Sep 29, 2022 3:28 pm Post subject: [Freeswitch-users] Get registrations via fs_cli or API |
|
|
you miss the entire point. you do not have to ise sqlite (and infact i recommend you dont for this)
use an external db server such as postgresql or mysql etc.
the use standard db magic to find what you are looking for.
there is no opening directories looking for files etc. you define the DSN for where sofia (and other modules) store the data. and if you need to break ot down in to different tables ok, no problem use a view to consolidate then for querying
Sent from my iPhone
Quote: | On Sep 29, 2022, at 00:56, Bernd Krueger-Knauber <bkk@ednt.de> wrote:
Hi,
thanks for your response.
I also checked the sqlite dbs, but this is even more complicated than the sofia solution.
Because there I need to check the directory (which is not always the same) and have to look
for the reg sofia dbs, then open them and make the query.
It is safer and faster to use the sofia status command.
In general:
If I know that a command does not work as expected, I don't make it available.
To use it, find the fault and now to replace it was very time consuming.
Best regards,
Bernd
--
EDNT GmbH
Werner-von-Siemens-Strasse 7
64625 Bensheim
www.ednt.de
Registergericht: Darmstadt
Registernummer: 24972
Geschäftsführerin: Kerstin Knapp
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com
Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://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
https://freeswitch.com
|
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com
Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://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
https://freeswitch.com |
|
Back to top |
|
|
gregor at infomedia.si Guest
|
Posted: Thu Sep 29, 2022 4:36 pm Post subject: [Freeswitch-users] Get registrations via fs_cli or API |
|
|
Yes, this is a very simple solution. It is a good practice to use external DB as it is more scalable than sqlite. We are even using MS SQL server and it works like a charm. Then you can query registrations, channels, calls, etc...
On Thu, 29 Sept 2022 at 22:13, Ken Rice <krice@freeswitch.org (krice@freeswitch.org)> wrote:
|
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|