Is it possible to keep a list of registered phone, and when FS will start it will register them all automatically?


On Mon, 2009-10-12 at 13:19 +0200, Seven Du wrote:
try open YOUR_FreeSWITCH_INSTALL_DIR/db/*.db, you need sqlite3 to open them. not sure how to do that on windows, but on linux:


# sqlite3 xx.db
sqlite> select * from sip_registration;

2009/10/12 srinivasula reddy <srinivas.ksvreddy@gmail.com>
Hi Mike,

Thanks for your valuable reply,
when i install freeswitch1.0.2 in my machine(Windows xp operation system) i dont have any databasae installed in my system, then from sqllite will come into picture, and how can i see the registered users data from sqllite.


Thanks
Srinivas


On Mon, Oct 12, 2009 at 3:04 AM, Michael Jerris <mike@jerris.com> wrote:



On Oct 7, 2009, at 10:48 AM, srinivasula reddy wrote:


Hi

can any please tell me where registered calls are stored, so when incoming call came to mod_sofia.c how it will check it is registered or not?\\



Calls are not registered and calls have nothing to do with registration.  Users are registered so that you may send calls to them.  Registration data is stored either in a sqlite database, or optionally if you setup odbc, in another database of your choice.  If you try to send a call to an unregistered user in the dialplan using the proper syntax to send calls to registered users (see the wiki for more details), and that user is not registered, the bridge app will fail, optionally letting you continue on in the dialplan based on variables such as continue_on_fail and hangup_after_bridge.  You can use the sofia_contact function to see if there is anyone registered to a specific user.


Mike




_______________________________________________
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





--
Srinivasula Reddy K

_______________________________________________
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