Commit Graph

35 Commits

Author SHA1 Message Date
Andrey Volk fd2f12cf94 FS-11995: [mod_fifo, mod_directory] Fix database availability check. 2019-08-27 01:13:10 +04:00
Andrey Volk ccc4ae282a FS-11880: [Core,mod_pgsql] Remove native PostgreSQL support from the core, add mod_pgsql database module. 2019-07-18 00:20:50 +04:00
Marc Olivier Chouinard ad64b78eed FS-10109: mod_directory - Added variable directory_voicemail_profile to specify the mod_voicemail profile to query informations 2017-03-08 16:18:12 -05:00
Sergey Safarov df1ab07ca4 FS-9924: Removed extra space in source files 2017-02-09 23:59:49 -05:00
Mike Jerris e1b3ee1efd FS-9652: improve sql sanitization 2016-11-11 11:27:35 -06:00
Marc Olivier Chouinard 2ca349a3f8 FS-6910 #resolve Multiple entry with the same first, last name or extension in the directory would only return 1 entry. Fix issue where group by would produce multiple row of count(*) result. Using distinct instead wouldn't solve the issue in SQLITE because of a bug, so solution is to use a subselect. 2014-10-14 09:53:12 -04:00
Travis Cross acb439ca03 Avoid leaking memory while iterating hash tables
`switch_core_hash_first` allocates an iterator on each call that is
never freed except when the hash table is empty.

By using `switch_core_hash_first_iter` we allocate only one iterator,
and that iterator is freed after the last item is processed.
2014-08-30 03:49:51 +00:00
Brian West 1aa2fc7548 FS-3332 --resolve 2014-04-25 15:53:21 -05:00
Anthony Minessale 7151d6acea FS-6402 part 2 2014-04-02 03:21:37 +05:00
Anthony Minessale 804ef7709d change from sqlite hash to newly added one 2014-03-09 00:37:17 +05:00
Marc Olivier Chouinard fe2a4d6d47 FS-5913 --resolve 2014-02-13 19:03:11 -05:00
Ken Rice 6e7d5d0897 update copyright header for 2014 2014-02-12 12:08:56 -06:00
Peter Olsson 084e245085 Lots of trivial tweaks to minimize compiler warnings, especially on 64-bit platform: Added missing type casts, changed types, added missing NULL checks. 2014-01-22 22:30:23 +01:00
Marc Olivier Chouinard 743b094416 FS-5767 --resolve allow odbc variable to be used for postgresql even if odbc is not present 2013-09-12 16:10:54 -04:00
Nathan Neulinger 32adc789f6 make noexpandtab explicit in all vim modelines other than xml files 2013-06-25 11:50:17 -05:00
Marc Olivier Chouinard cad607d72e FS-5019 --resolve I would rather have this fix in the core... But in the mean this, this look good. Thanks 2013-01-18 00:06:05 -05:00
Marc Olivier Chouinard ede1217e47 FS-4832 2013-01-17 20:45:41 -05:00
Marc Olivier Chouinard 3e7ccb4689 FS-4832 --resolve 2013-01-13 00:51:54 -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
Jeff Lenk f0941d2792 FS-4696 --resolve 2012-10-09 10:53:01 -05:00
Ken Rice c5554eb939 Copyright date update. 2012-04-18 11:52:02 -05:00
Marc Olivier Chouinard 8379a2926e FS-3037 --resolve
Modified patch for formating, also adding support for sqlite db name parameters.  Also fix potential db issues in sqlite if using multiple profile.
2011-12-18 00:22:24 -05:00
Travis Cross 8895de1bba let mod_directory use non-XML dialplans 2011-07-08 10:42:31 +00:00
Anthony Minessale 00b53a91ea FS-3277 --resolve There are actually really only 2 places where it needs the real hostname, the hostname command and the header on the events. I changed everything to the switchname because there were some more sql stmts etc in the core. 2011-04-29 10:24:50 -05:00
Brian West 3734f4cd44 bump copyright date and fix some email and typos from diego. 2011-01-05 10:09:04 -06:00
Jeff Lenk 45ecbc2f61 fix warnings on windows x64 builds src and mods projects - only libsofia included on the libs side 2010-09-29 15:47:58 -05:00
Anthony Minessale cfa30468e8 sprinkle digit_timeout into switch_ivr_read and switch_ivr_play_and_get_digits and the higher level variants 2010-09-23 18:37:45 -05:00
Marc Olivier Chouinard 163ca31f2c mod_directory: Add variable directory_search_order to allow to search by first name by default is set to "first_name" 2010-09-09 22:43:27 -04:00
Anthony Minessale bc6334a610 FSCORE-617 2010-06-07 16:47:35 -05:00
Marc Olivier Chouinard 77cd42ed52 mod_directory: add third argument for the transfer context. If not set, use the user domain as current behavior
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16839 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-26 20:17:31 +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
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
Mathieu Rene 4e440b6e4c mod_directory: fix segfault on failure
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15076 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-04 07:40:12 +00:00
Marc Olivier Chouinard 59397503dc Fix BSD Build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14991 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-25 22:41:23 +00:00
Marc Olivier Chouinard 54038e9975 mod_directory: New Search by Name Directory IVR (MODAPP-325)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14984 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-25 19:48:46 +00:00