84 Commits

Author SHA1 Message Date
Anthony Minessale
a2874b8e33 FSCORE-604 2010-05-04 09:50:55 -05:00
Anthony Minessale
041a8f0d00 remove debug printf left behind in previous commit 2010-04-28 15:21:37 -05:00
Anthony Minessale
762bf62c0b FSCORE-597 2010-04-26 16:38:05 -05:00
Anthony Minessale
631f540744 try harder to get db handle in sql thread and fail out if it can't get one 2010-04-22 13:28:44 -05:00
Stefan Knoblich
16d672a273 [1/3] gcc-4.5: Fix enum type mismatches in switch_core_sqldb.c. 2010-04-17 11:13:25 +00:00
Brian West
3b92634403 cleanup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16728 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-22 23:41:56 +00:00
Anthony Minessale
886e1ddb4d run indent on the whole tree and update copyright dates in prep for 1.0.5
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16579 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-06 03:38:24 +00:00
Mathieu Rene
ad7cc96015 revert
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16321 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-15 17:35:26 +00:00
Mathieu Rene
f861c00c85 switch_ivr_originate: fix windows compiler warning
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16320 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-15 17:34:01 +00:00
Anthony Minessale
e5cadc5196 MODAPP-387
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16278 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-13 18:02:42 +00:00
Brian West
b24c018c45 SCA tweaks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16271 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-13 01:40:11 +00:00
Anthony Minessale
8aeed83995 MODAPP-380
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15984 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-17 15:47:39 +00:00
Anthony Minessale
ba8e009228 add fsctl flush_db_handles to expire any unused db handles
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15982 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-17 00:03:17 +00:00
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