Jeff Lenk
14913fbe30
trivial compiler fix for last db refactor
2012-10-10 08:32:16 -05:00
Anthony Minessale
e1fe289672
refactor db stuff to use single string dsn to avoid code duplication and introduce switch_sql_queue_manager api to create transactional sql queues to aggregate a bunch of sql stmts into transactions
2012-10-09 20:20:32 -05:00
Anthony Minessale
fc764b27bf
FS-4703 --resolve
2012-10-09 14:01:38 -05:00
Anthony Minessale
03d702fabc
FS-4676 --resolve
2012-10-09 13:50:11 -05:00
Eliot Gable
f66fbe2eaf
Fix callback method to pass column count instead of the integer representation of the row we are on.
2012-10-09 20:35:00 +00:00
Anthony Minessale
ec20bc0b37
FS-4700 FS-4701 --resolve
2012-10-09 12:28:19 -05:00
Anthony Minessale
2f9304dcda
add assert
2012-10-09 11:47:39 -05:00
Eliot Gable
1fe96ac38c
Handle building on different PGSQL versions and update error message in Sofia.
2012-10-09 18:42:23 +00:00
Michael Jerris
bf7578550d
fix core pgsql and not break windows
2012-10-09 13:39:01 -04:00
Brian West
4dd1b52f86
Use uniq uuid per vm just incase the same session gets to vm more than once in its life.
2012-10-09 12:38:08 -05:00
Jeff Lenk
f0941d2792
FS-4696 --resolve
2012-10-09 10:53:01 -05:00
Eliot Gable
791efc74a7
Merge branch 'master' of ssh://git.freeswitch.org:222/freeswitch
2012-10-09 13:41:22 +00:00
Eliot Gable
162181a86f
It's probably a good idea to free the result before we check for another.
2012-10-09 13:41:16 +00:00
Jeff Lenk
1efe8d3608
add patch for FS-2746
2012-10-08 22:00:45 -05:00
Jeff Lenk
62542130b1
vs2010 reswig
2012-10-08 21:28:45 -05:00
Anthony Minessale
6998695f01
fold recovery db to only use core db and use transactional stmts for recovery stmts
2012-10-08 17:59:47 -05:00
Ken Rice
a0a584b0c9
you cant have -- inside an xml comment... we should really be testing changes like this to the config files before we push this as this wouldnt even make it past a clean install start up or reloadxml test
2012-10-08 20:57:20 -04:00
Eliot Gable
f059d97ff8
Terminate buffers!
2012-10-08 22:48:26 +00:00
Eliot Gable
e5ddafff1f
Merge branch 'master' of ssh://git.freeswitch.org:222/freeswitch
2012-10-08 22:22:41 +00:00
Eliot Gable
7d7eaee942
Switch to Poll instead of Select.
2012-10-08 22:22:34 +00:00
Anthony Minessale
a20c556fb7
FS-4650 --resolve
2012-10-08 16:34:39 -05:00
Anthony Minessale
bcfc2dbeb1
we do want this one bit from the last patch
2012-10-08 16:28:03 -05:00
Anthony Minessale
1ad45f7009
revert e08f9ada73
2012-10-08 15:57:51 -05:00
Michael Jerris
21d240b28c
windows build
2012-10-08 19:05:12 -04:00
Michael Jerris
4ddc2f96d4
add new files
2012-10-08 18:59:14 -04:00
Brian West
1215ee4fe1
FS-4699 --resolve
2012-10-08 17:19:17 -05:00
Anthony Minessale
93f4c0f698
move sofia locking contention outside of cache_db handle management
2012-10-08 13:28:01 -05:00
Anthony Minessale
dc1477e575
fix build without pgsql
2012-10-08 13:08:05 -05:00
Eliot Gable
7e28946ba4
Make error message slightly more verbose.
2012-10-08 20:56:05 +00:00
Eliot Gable
3dec8fb447
we don't need to use pg's cflags
2012-10-08 20:39:09 +00:00
Eliot Gable
e08f9ada73
Abstract the sql_manager and cache_db stuff so that modules can utilize the core functionality to run their own instance of a cached SQL connection. Includes patch to fix some segs in case ODBC does not have password set or if using PGSQL support.
2012-10-08 20:34:09 +00:00
Eliot Gable
5cb354dddc
Initial core-pgsql support based on native libpq; FS starts and stops without errors using core-pgsql.
2012-10-08 20:33:57 +00:00
Seven Du
0263ce9247
FS-4695 fix apple build, seems there's no pthread_setschedprio on Mac, not sure if windows has the same problem in apr/threadproc/unix/thread.c
2012-10-08 09:03:34 +08:00
Anthony Minessale
da0ff2d615
FS-4697 --resolve
2012-10-07 09:40:30 -05:00
Stefan Knoblich
1d605ef47b
FreeTDM: Add ftdm_clamp_safe()
...
"Safer" version of ftdm_clamp(), that swaps min/max parameters if
vmin happens to be larger than vmax, making sure the output will
always satisfy vmin <= x <= vmax.
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-10-06 16:50:55 +02:00
Stefan Knoblich
90691b36c4
FreeTDM: Remove trailing whitespace at end of ftdm_{copy,set}_string()
...
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-10-06 16:50:55 +02:00
Anthony Minessale
bed72bff7a
update vid code in dingaling
2012-10-05 16:43:39 -05:00
Anthony Minessale
57e9912f8b
FS-4650 please try to use an up to date gcc when doing new dev to catch build errs. This is what I get for the one time I did not compile test
2012-10-05 13:46:57 -05:00
Anthony Minessale
4dd1591945
FS-4684 this should help the proxy situation
2012-10-05 11:49:29 -05:00
Anthony Minessale
09b1b8bc7f
add nohead param to skip over the cache check with HEAD method
2012-10-05 10:14:22 -05:00
Anthony Minessale
44f78e9e76
FS-4650 --resolve
2012-10-05 09:43:00 -05:00
Anthony Minessale
a6602206de
FS-4684 try this, this behaviour is not supported in proxy mode
2012-10-05 09:00:30 -05:00
Eliot Gable
5bc1f537bc
Fix compiler warnings.
2012-10-05 16:48:03 +00:00
Eliot Gable
0e0c15b4b4
Merge branch 'master' of ssh://git.freeswitch.org:222/freeswitch
2012-10-05 16:11:22 +00:00
Eliot Gable
391e7c365b
Rename switch_hash_first() and switch_hash_next() to switch_core_hash_first() and switch_core_hash_next() and deprecate the older versions.
2012-10-05 16:11:12 +00:00
Anthony Minessale
3d57cbda98
pull this code echo -1 > /proc/sys/kernel/sched_rt_runtime_us yourself if you want to enable this
2012-10-04 08:29:26 -05:00
Anthony Minessale
7afd4cae67
FS-4677
2012-10-04 08:02:32 -05:00
Anthony Minessale
61033f420b
revert
2012-10-03 14:19:34 -05:00
Anthony Minessale
6d01ad5e38
some more priority tweaks
2012-10-03 14:10:22 -05:00
Anthony Minessale
fd177cdf33
FS-4676 going over the traces the only thing I can guess is that you may have some race condition on the speed of your box or something regarding the db, Try this patch that may help
2012-10-03 09:29:50 -05:00