Re: [Freeswitch-users] User Creation with DB in Freeswitch

2009-09-24 Thread Costa Zikalala
Hi Gabe

Thanks for you response to this question.
Do you perhaps have a link to an example (or just further detail) to what
you've descibed below.
I guess one would also use a similar setup to generate dialplans from web
forms.

Thanks again,
Costa



2009/9/24 Gabriel Gunderson g...@gundy.org

 On Wed, Sep 23, 2009 at 12:37 PM, Anil Kumar S. R. sra...@gmail.com
 wrote:
  I didn't get much help for my problem with XML CURL. What I meant to say
 is,
  suppose I want to have some 1 users on freeswitch. Do we have to
 create
  some many xml files in the directory or is there some way in which the
 users
  can be put in the db ?

 That's the whole point.  You serve up the XML from *your* web server
 using whatever technologies that *you* would like on the back-end.
 You'll want to make that XML reply dynamic.

 Use php, perl, python, c#, java or whatever other language *you* want.
  Pull the data from MySQL, flat-files, PostgreSQL, MSSQL, LDAP or
 whatever *you* want.  Just serve up the right bit of configuration to
 FreeSWITCH and you're done.

 Good luck.  Spend more time in the docs.  Others have posted the links.


 Best,
 Gabe

 ___
 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


Re: [Freeswitch-users] User Creation with DB in Freeswitch

2009-09-24 Thread Michael Jerris

There are a number of examples out there such as:

http://svn.freeswitch.org/svn/freeswitch/trunk/contrib/intralanman/PHP/fs_curl/

Mike

On Sep 24, 2009, at 7:02 AM, Costa Zikalala wrote:


Hi Gabe

Thanks for you response to this question.
Do you perhaps have a link to an example (or just further detail) to  
what you've descibed below.
I guess one would also use a similar setup to generate dialplans  
from web forms.


Thanks again,
Costa



2009/9/24 Gabriel Gunderson g...@gundy.org
On Wed, Sep 23, 2009 at 12:37 PM, Anil Kumar S. R.  
sra...@gmail.com wrote:
 I didn't get much help for my problem with XML CURL. What I meant  
to say is,
 suppose I want to have some 1 users on freeswitch. Do we have  
to create
 some many xml files in the directory or is there some way in which  
the users

 can be put in the db ?

That's the whole point.  You serve up the XML from *your* web server
using whatever technologies that *you* would like on the back-end.
You'll want to make that XML reply dynamic.

Use php, perl, python, c#, java or whatever other language *you* want.
 Pull the data from MySQL, flat-files, PostgreSQL, MSSQL, LDAP or
whatever *you* want.  Just serve up the right bit of configuration to
FreeSWITCH and you're done.

Good luck.  Spend more time in the docs.  Others have posted the  
links.


___
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


Re: [Freeswitch-users] User Creation with DB in Freeswitch

2009-09-23 Thread Anil Kumar S. R.
I didn't get much help for my problem with XML CURL. What I meant to say is,
suppose I want to have some 1 users on freeswitch. Do we have to create
some many xml files in the directory or is there some way in which the users
can be put in the db ?

Also. my another question is, what is the command by which we can get the
number of users that are currently registered on the freeswitch?

Thanks,
Anil

2009/9/21 Brian West br...@freeswitch.org

 You can't put the users directly into a db with FreeSWITCH you'll have to
 serve up the XML document via XML CURL or write your own module to do so via
 the module interfaces provided.
 /b

 On Sep 20, 2009, at 10:44 PM, Mitul Limbani wrote:

 Yes use odbc in fs

 Thanks  Regards,Mitul Limbani,
 Founder  CEO,
 Enterux Solutions Pvt. Ltd.,
 The Enterprise Linux Company (r),
 http://www.enterux.com
 http://www.entVoice.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
 http://www.freeswitch.org




-- 
Anil Kumar S. R.
http://sranil.googlepages.com/

The best way to succeed in this world is to act on the advice you give to
others.
___
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


Re: [Freeswitch-users] User Creation with DB in Freeswitch

2009-09-23 Thread Michael Jerris

There are tons of details on this at 
http://wiki.freeswitch.org/wiki/Mod_xml_curl

Are you having an issue?

Mike

On Sep 23, 2009, at 2:37 PM, Anil Kumar S. R. wrote:

I didn't get much help for my problem with XML CURL. What I meant to  
say is, suppose I want to have some 1 users on freeswitch. Do we  
have to create some many xml files in the directory or is there some  
way in which the users can be put in the db ?


Also. my another question is, what is the command by which we can  
get the number of users that are currently registered on the  
freeswitch?


Thanks,
Anil

2009/9/21 Brian West br...@freeswitch.org
You can't put the users directly into a db with FreeSWITCH you'll  
have to serve up the XML document via XML CURL or write your own  
module to do so via the module interfaces provided.


/b

On Sep 20, 2009, at 10:44 PM, Mitul Limbani wrote:


Yes use odbc in fs


___
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


Re: [Freeswitch-users] User Creation with DB in Freeswitch

2009-09-23 Thread Gabriel Gunderson
On Wed, Sep 23, 2009 at 12:37 PM, Anil Kumar S. R. sra...@gmail.com wrote:
 I didn't get much help for my problem with XML CURL. What I meant to say is,
 suppose I want to have some 1 users on freeswitch. Do we have to create
 some many xml files in the directory or is there some way in which the users
 can be put in the db ?

That's the whole point.  You serve up the XML from *your* web server
using whatever technologies that *you* would like on the back-end.
You'll want to make that XML reply dynamic.

Use php, perl, python, c#, java or whatever other language *you* want.
 Pull the data from MySQL, flat-files, PostgreSQL, MSSQL, LDAP or
whatever *you* want.  Just serve up the right bit of configuration to
FreeSWITCH and you're done.

Good luck.  Spend more time in the docs.  Others have posted the links.


Best,
Gabe

___
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


Re: [Freeswitch-users] User Creation with DB in Freeswitch

2009-09-21 Thread Brian West
You can't put the users directly into a db with FreeSWITCH you'll have  
to serve up the XML document via XML CURL or write your own module to  
do so via the module interfaces provided.


/b

On Sep 20, 2009, at 10:44 PM, Mitul Limbani wrote:


Yes use odbc in fs

Thanks  Regards,
Mitul Limbani,
Founder  CEO,
Enterux Solutions Pvt. Ltd.,
The Enterprise Linux Company (r),
http://www.enterux.com
http://www.entVoice.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
http://www.freeswitch.org


Re: [Freeswitch-users] User Creation with DB in Freeswitch

2009-09-21 Thread Muhammad Shahzad
Yes, XML CURL is really cool. I once bombed FS with 12,000 wrong
registrations (bad username or password) in less then 50 seconds (49496 ms
to be exact) and it processed all of them and gave correct responses using
XML CURL.

I am willing to do this test again soon, with correct registration data this
time, to see how many registration Sofia SIP module configured with XML CURL
module can handle at a time.

Thank you.


On Mon, Sep 21, 2009 at 3:42 PM, Brian West br...@freeswitch.org wrote:

 You can't put the users directly into a db with FreeSWITCH you'll have to
 serve up the XML document via XML CURL or write your own module to do so via
 the module interfaces provided.
 /b

 On Sep 20, 2009, at 10:44 PM, Mitul Limbani wrote:

 Yes use odbc in fs

 Thanks  Regards,Mitul Limbani,
 Founder  CEO,
 Enterux Solutions Pvt. Ltd.,
 The Enterprise Linux Company (r),
 http://www.enterux.com
 http://www.entVoice.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
 http://www.freeswitch.org




-- 
Muhammad Shahzad
---
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +92 334 422 40 88
MSN: shari_78...@hotmail.com
Email: shaherya...@googlemail.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
http://www.freeswitch.org


Re: [Freeswitch-users] User Creation with DB in Freeswitch

2009-09-21 Thread Muhammad Shahzad
I searched my sent emails and found the results, copying it below (after
removing some sensitive info),


1,000 Calls
==
Total 1000 REGISTER calls sent in 890 ms at rate of 1123/sec
Total 1000 responses receieved in 4516 ms at rate of 221/sec:

Detailed responses received:
 - 403 responses: 1000 (Forbidden)
--
 TOTAL responses: 1000 (rate=221/sec)

Maximum outstanding job: 894
Peak memory size: 15MB



5,000 Calls
==
Total 5000 REGISTER calls sent in 28539 ms at rate of 175/sec
Total 5000 responses receieved in 36398 ms at rate of 137/sec:

Detailed responses received:
 - 403 responses: 5000 (Forbidden)
--
 TOTAL responses: 5000 (rate=137/sec)

Maximum outstanding job: 1001
Peak memory size: 63MB



10,000 Calls
==
Total 1 REGISTER calls sent in 60741 ms at rate of 164/sec
Total 9289 responses receieved in 62740 ms at rate of 148/sec:

Detailed responses received:
 - 403 responses: 9289 (Forbidden)
--
 TOTAL responses: 9289 (rate=148/sec)

Maximum outstanding job: 1047
Peak memory size: 78MB


12,000 Calls
==
Total 12000 REGISTER calls sent in 49496 ms at rate of 242/sec
Total 12314 responses receieved in 60582 ms at rate of 203/sec:

Detailed responses received:
 - 403 responses:12314 (Forbidden)
--
 TOTAL responses:12314 (rate=203/sec)

Maximum outstanding job: 1018
Peak memory size: 143MB


So, FS doesn't crash even on 12,000 bad registrations (600 regs per second).
I did tweak its configurations a little however no change was made to source
code to make this happen. :-)


Thank you.


On Mon, Sep 21, 2009 at 4:07 PM, Muhammad Shahzad 
shaherya...@googlemail.com wrote:

 Yes, XML CURL is really cool. I once bombed FS with 12,000 wrong
 registrations (bad username or password) in less then 50 seconds (49496 ms
 to be exact) and it processed all of them and gave correct responses using
 XML CURL.

 I am willing to do this test again soon, with correct registration data
 this time, to see how many registration Sofia SIP module configured with XML
 CURL module can handle at a time.

 Thank you.


 On Mon, Sep 21, 2009 at 3:42 PM, Brian West br...@freeswitch.org wrote:

 You can't put the users directly into a db with FreeSWITCH you'll have to
 serve up the XML document via XML CURL or write your own module to do so via
 the module interfaces provided.
 /b

 On Sep 20, 2009, at 10:44 PM, Mitul Limbani wrote:

 Yes use odbc in fs

 Thanks  Regards,Mitul Limbani,
 Founder  CEO,
 Enterux Solutions Pvt. Ltd.,
 The Enterprise Linux Company (r),
 http://www.enterux.com
 http://www.entVoice.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
 http://www.freeswitch.org




 --
 Muhammad Shahzad
 ---
 CISCO Rich Media Communication Specialist (CRMCS)
 CISCO Certified Network Associate (CCNA)
 Cell: +92 334 422 40 88
 MSN: shari_78...@hotmail.com
 Email: shaherya...@googlemail.com




-- 
Muhammad Shahzad
---
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +92 334 422 40 88
MSN: shari_78...@hotmail.com
Email: shaherya...@googlemail.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
http://www.freeswitch.org


Re: [Freeswitch-users] User Creation with DB in Freeswitch

2009-09-21 Thread demuel
Whoah what a term -  ONCE BOMBED FS...

 Yes, XML CURL is really cool. I once bombed FS with 12,000 wrong
 registrations (bad username or password) in less then 50 seconds (49496 ms
 to be exact) and it processed all of them and gave correct responses using
 XML CURL.

 I am willing to do this test again soon, with correct registration data this
 time, to see how many registration Sofia SIP module configured with XML CURL
 module can handle at a time.

 Thank you.


 On Mon, Sep 21, 2009 at 3:42 PM, Brian West br...@freeswitch.org wrote:

 You can't put the users directly into a db with FreeSWITCH you'll have to
 serve up the XML document via XML CURL or write your own module to do so via
 the module interfaces provided.
 /b

 On Sep 20, 2009, at 10:44 PM, Mitul Limbani wrote:

 Yes use odbc in fs

 Thanks  Regards,Mitul Limbani,
 Founder  CEO,
 Enterux Solutions Pvt. Ltd.,
 The Enterprise Linux Company (r),
 http://www.enterux.com
 http://www.entVoice.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
 http://www.freeswitch.org




 --
 Muhammad Shahzad
 ---
 CISCO Rich Media Communication Specialist (CRMCS)
 CISCO Certified Network Associate (CCNA)
 Cell: +92 334 422 40 88
 MSN: shari_78...@hotmail.com
 Email: shaherya...@googlemail.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
 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


[Freeswitch-users] User Creation with DB in Freeswitch

2009-09-20 Thread Anil Kumar S. R.
Hi All,

Is there any way in which user information can be stored in database instead
of the xml files.

Regards,
Anil

-- 
Anil Kumar S. R.
http://sranil.googlepages.com/

The best way to succeed in this world is to act on the advice you give to
others.
___
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


Re: [Freeswitch-users] User Creation with DB in Freeswitch

2009-09-20 Thread Brian West

Using XML CURL

http://wiki.freeswitch.org/wiki/Mod_xml_curl

/b

On Sep 20, 2009, at 3:13 PM, Anil Kumar S. R. wrote:


Hi All,

Is there any way in which user information can be stored in database  
instead of the xml files.


Regards,
Anil

--
Anil Kumar S. R.
http://sranil.googlepages.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
http://www.freeswitch.org