Commit Graph

71 Commits

Author SHA1 Message Date
Anthony Minessale 309c4c54bd return true/false from sql tester incase you want to do more stuff when the table had to be created
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15981 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-16 22:20:22 +00:00
Michael Jerris 44441cbd44 mysql allows only tiny indexes, 5 years later its still not fixed. For an amusing read check out http://bugs.mysql.com/bug.php?id=4541 (FSCORE-512)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15978 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-15 23:49:30 +00:00
Anthony Minessale 1ebe0f84f8 update log level
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15963 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-15 01:31:17 +00:00
Michael Jerris 49be528be5 fix record size causing mysql table create failure (FSCORE-512)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15938 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-12 21:12:18 +00:00
Anthony Minessale 6a89b33df6 hide printing of warning for duplicate type errs, the caller still gets it and may print it too
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15858 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-09 16:06:30 +00:00
Michael Jerris 39ee7ef2af change name of 'key' field due to reserved name in sql
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15842 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-08 16:37:48 +00:00
Michael Jerris ec84309e8f we can have duplicate entries here
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15826 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-07 15:54:17 +00:00
Brian West e7686a0873 can't have unique here. It will fail on ODBC
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15823 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-07 13:35:20 +00:00
Anthony Minessale 14fbb4b9e5 add io mutex to cache db for optional mutex protection
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15800 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-05 18:54:56 +00:00
Anthony Minessale a26dd5565a move function into more logical file
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15750 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-02 02:00:17 +00:00
Anthony Minessale a9ef56611a stupid p....
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15744 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-01 22:09:04 +00:00
Jeff Lenk 34c6f19bb4 code before decl
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15699 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-27 19:48:30 +00:00
Anthony Minessale f07550126b FSCORE-503
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15697 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-27 16:47:08 +00:00
Anthony Minessale 36689432e0 move mod_limit to cache_db and clean up vm legacy code
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15677 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-26 00:07:24 +00:00
Anthony Minessale 2e88c67c9d improve chunked sql transaction submission
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15672 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-25 20:55:19 +00:00
Anthony Minessale 3db63361fd fix db connection hijacking issue
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15625 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-23 18:25:11 +00:00
Anthony Minessale af9e8eab35 convert sofia to use new core version of cache db handles
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15600 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-21 18:57:15 +00:00
Anthony Minessale 506aae7cbe refactor/abstract the core sql stuff more
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15599 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-21 17:57:55 +00:00
Anthony Minessale 04889efc17 another crank on the can opener for the big can o worms
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15584 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-20 23:12:07 +00:00
Michael Jerris 85ac951200 create tables before we test against them
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15552 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-19 17:49:43 +00:00
Anthony Minessale c5f7c4028d FSCORE-491
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15499 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-17 19:37:04 +00:00
Anthony Minessale 677144f30c db cache part 2
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15497 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-17 19:16:24 +00:00
Anthony Minessale b47cb9085c const
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15494 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-17 15:59:13 +00:00
Anthony Minessale 5d815cfdfe add support for running core-db over odbc
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15487 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-17 00:12:54 +00:00
Anthony Minessale f06f3a5de7 add cache_db handle api (odbc/sqlite abstraction)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15473 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-14 21:59:01 +00:00
Anthony Minessale 052816bc32 regression from FSCORE-470 can't join a thread that is detachable probable cause for MODENDP-255
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15226 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-26 14:50:12 +00:00
Anthony Minessale df7637f687 change switch_strlen_zero to zstr
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15211 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-23 16:03:42 +00:00
Anthony Minessale a8c15832b9 FSCORE-470
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15183 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-20 18:44:29 +00:00
Brian West b6363dc294 LOOK OUT BELOW... (FSCORE-381)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14055 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-30 18:59:05 +00:00
Anthony Minessale b5f08ca5ce add show distinct_channels (mix of show channels and show calls)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13944 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-25 00:03:41 +00:00
Brian West 05fc0e42eb FSRTP-2 with mods
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13502 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-29 02:08:24 +00:00
Anthony Minessale ab6c4f1a6d change CS_DONE to CS_DESTROY and add state handler for destroy and tear down critical parts of the channel from this method which is not called until it's impossible for anything to be referencing the channel (after final write lock and before destroying the pool)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12986 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-10 17:43:18 +00:00
Anthony Minessale 12551b29f5 MODAPP-227
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12806 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-27 17:49:10 +00:00
Anthony Minessale 22f8489043 FSCORE-308
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12257 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-24 00:05:19 +00:00
Anthony Minessale 9886f369c3 add direction col to sql db, add direction param to session_create, log dtmf digits to digits_dialed variable for cdr
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12244 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-23 16:31:59 +00:00
Brian West babb2f83f5 update copyright
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12004 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-13 23:37:37 +00:00
Brian West ae220d3341 update email
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11643 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-04 21:20:54 +00:00
Anthony Minessale 0463541d61 change low res sleep func api names
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11486 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-25 21:23:07 +00:00
Anthony Minessale 58cae7723f fix bottleneck in sql thread
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10858 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-17 20:43:13 +00:00
Anthony Minessale 2ed601f934 more stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10410 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-14 23:31:21 +00:00
Anthony Minessale c9a24dd36e Add ability to choose uuid from originate string (use at your own risk)
[origination_uuid=someid]sofia/default/100@dom.com

it's only valid in [], cannot be used on 2 existing calls at once and is not
reccommended if you don't need it.

event_socket users can use it to do

api create_uuid   
#### (then save uuid into a local variable say $uuid) ###
filter unique-id $uuid
events all
originate [origination_uuid=$uuid]sofia/default/100@dom.com

Then you can get all the events in anticipation on that channel.

Anything people do to cause problems misusing this will not be supported.




git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10239 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-04 16:46:33 +00:00
Anthony Minessale 9416ee9be7 hide harmless sql warning
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9879 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-07 17:56:54 +00:00
Brian West 243d0e1d12 fix function to be in the proper locaiton
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9483 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-08 20:35:17 +00:00
Anthony Minessale 5708d0b6bd remove stuff from the db on unload
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9351 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-22 17:18:26 +00:00
Michael Jerris 64997c4d8e vim extendtab is bad
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8894 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-03 19:12:26 +00:00
Michael Jerris 9bbcabbbdd indent
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8688 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-27 04:34:23 +00:00
Anthony Minessale fd63a52706 handle error message leaks and other error conditions, Found by Klockwork (www.klocwork.com)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8440 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-16 16:43:47 +00:00
Anthony Minessale 1454a52bf6 add dialplan and context to sql table
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8276 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-06 20:00:43 +00:00
Anthony Minessale 4b929592cc change names to protect the innocent
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8263 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-05 15:30:55 +00:00
Anthony Minessale 2303545ccf update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8186 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-23 22:23:23 +00:00