VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
srinivas.ksvreddy at g... Guest
|
Posted: Wed Oct 07, 2009 10:08 am Post subject: [Freeswitch-users] 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 |
|
Back to top |
|
|
dome at tel.co.th Guest
|
Posted: Wed Oct 07, 2009 1:01 pm Post subject: [Freeswitch-users] mod_sofia.c registered calls how to know |
|
|
2009/10/7 srinivasula reddy <srinivas.ksvreddy@gmail.com>:
Quote: |
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.
_______________________________________________
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 |
|
Back to top |
|
|
mike at jerris.com Guest
|
Posted: Sun Oct 11, 2009 4:45 pm Post subject: [Freeswitch-users] mod_sofia.c registered calls how to know |
|
|
On Oct 7, 2009, at 10:48 AM, srinivasula reddy wrote:
Quote: | 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 |
|
Back to top |
|
|
srinivas.ksvreddy at g... Guest
|
Posted: Sun Oct 11, 2009 11:24 pm Post subject: [Freeswitch-users] mod_sofia.c registered calls how to know |
|
|
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 (mike@jerris.com)> wrote:
Quote: |
On Oct 7, 2009, at 10:48 AM, srinivasula reddy wrote:
Quote: | 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 (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 |
|
Back to top |
|
|
diego.viola at gmail.com Guest
|
Posted: Mon Oct 12, 2009 2:09 am Post subject: [Freeswitch-users] mod_sofia.c registered calls how to know |
|
|
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 (srinivas.ksvreddy@gmail.com)> wrote:
Quote: | 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 (mike@jerris.com)> wrote:
Quote: |
On Oct 7, 2009, at 10:48 AM, srinivasula reddy wrote:
Quote: | 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 (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 (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
|
|
|
Back to top |
|
|
dujinfang at gmail.com Guest
|
Posted: Mon Oct 12, 2009 6:36 am Post subject: [Freeswitch-users] mod_sofia.c registered calls how to know |
|
|
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 (srinivas.ksvreddy@gmail.com)>
Quote: | 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 (mike@jerris.com)> wrote:
Quote: |
On Oct 7, 2009, at 10:48 AM, srinivasula reddy wrote:
Quote: | 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 (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 (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
|
|
|
Back to top |
|
|
elihay at savion.huji.... Guest
|
Posted: Mon Oct 12, 2009 6:46 am Post subject: [Freeswitch-users] mod_sofia.c registered calls how to know |
|
|
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 (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 (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 (FreeSWITCH-users@lists.freeswitch.org) FreeSWITCH-users@lists.freeswitch.org (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 |
|
Back to top |
|
|
srinivas.ksvreddy at g... Guest
|
Posted: Mon Oct 12, 2009 11:55 pm Post subject: [Freeswitch-users] mod_sofia.c registered calls how to know |
|
|
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 (elihay@savion.huji.ac.il)> wrote:
Quote: | 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:
Quote: | 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 (srinivas.ksvreddy@gmail.com)>
Quote: | 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
| Quote: | On Mon, Oct 12, 2009 at 3:04 AM, Michael Jerris <mike@jerris.com (mike@jerris.com)> wrote:
| Quote: | Quote: | On Oct 7, 2009, at 10:48 AM, srinivasula reddy wrote: | | Quote: | Quote: |
Quote: |
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?\\
| | | Quote: | Quote: | 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. | |
|
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (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 |
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Tue Oct 13, 2009 1:13 am Post subject: [Freeswitch-users] mod_sofia.c registered calls how to know |
|
|
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:
Quote: | Is it possible to keep a list of registered phone, and when FS will
start it will register them all automatically?
|
_______________________________________________
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 |
|
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
|