mod_sofia.c registered calls how to know
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?\\ -- Srinivasula Reddy K
2009/10/7 srinivasula reddy <srinivas.ksvreddy@gmail.com>:
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?\\
I use 2 profile internal profile require register before make a call. external i use odbcquery check ipaddress before process call. (in dialplan) Dome C.
-- 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
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
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 1.0.2? That's more than a year old I think, you should really update to 1.0.4 or latest SVN trunk. Diego On Mon, Oct 12, 2009 at 4:14 AM, srinivasula reddy < srinivas.ksvreddy@gmail.com> wrote:
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
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
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
exactly that is what i am trying to do now, if any help that would be great. On Mon, Oct 12, 2009 at 5:07 PM, Eli Hayun <elihay@savion.huji.ac.il> wrote:
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
_______________________________________________ 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
Eli, Well FreeSWITCH already keeps a list... but its the phone's job to register to FreeSWITCH not the other way around. Their are various ways to accomplish your goals but not sure how well each will work. Check out the wiki for sip-force-contact. /b On Oct 12, 2009, at 4:37 AM, Eli Hayun wrote:
Is it possible to keep a list of registered phone, and when FS will start it will register them all automatically?
participants (7)
-
Brian West
-
Diego Viola
-
Dome Charoenyost
-
Eli Hayun
-
Michael Jerris
-
Seven Du
-
srinivasula reddy