Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] mod_sofia.c registered calls how to know


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
srinivas.ksvreddy at g...
Guest





PostPosted: Wed Oct 07, 2009 10:08 am    Post subject: [Freeswitch-users] mod_sofia.c registered calls how to know Reply with 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?\\

--
Srinivasula Reddy K
Back to top
dome at tel.co.th
Guest





PostPosted: Wed Oct 07, 2009 1:01 pm    Post subject: [Freeswitch-users] mod_sofia.c registered calls how to know Reply with quote

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.
Quote:

--
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
Back to top
mike at jerris.com
Guest





PostPosted: Sun Oct 11, 2009 4:45 pm    Post subject: [Freeswitch-users] mod_sofia.c registered calls how to know Reply with 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
Back to top
srinivas.ksvreddy at g...
Guest





PostPosted: Sun Oct 11, 2009 11:24 pm    Post subject: [Freeswitch-users] mod_sofia.c registered calls how to know Reply with 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
Back to top
diego.viola at gmail.com
Guest





PostPosted: Mon Oct 12, 2009 2:09 am    Post subject: [Freeswitch-users] mod_sofia.c registered calls how to know Reply with quote

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





PostPosted: Mon Oct 12, 2009 6:36 am    Post subject: [Freeswitch-users] mod_sofia.c registered calls how to know Reply with 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


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





PostPosted: Mon Oct 12, 2009 6:46 am    Post subject: [Freeswitch-users] mod_sofia.c registered calls how to know Reply with 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: 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





PostPosted: Mon Oct 12, 2009 11:55 pm    Post subject: [Freeswitch-users] mod_sofia.c registered calls how to know Reply with quote

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.
Quote:
Quote:
Mike
Quote:
Quote:
_______________________________________________
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


Quote:



--
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






_______________________________________________
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





PostPosted: Tue Oct 13, 2009 1:13 am    Post subject: [Freeswitch-users] mod_sofia.c registered calls how to know Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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

VoiceMeUp - Corporate & Wholesale VoIP Services