413 Commits

Author SHA1 Message Date
Peter Olsson
5a820fdc78 Disabled some compiler warnings on Windows build (for Visual Studio 2012), also disabled code analysis one some projects. This should make the Windows build more clean in the future. 2014-01-22 22:47:11 +01: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
Jeff Lenk
a4dfb5463f FS-6103 --resolve 2014-01-17 16:27:00 -06:00
Anthony Minessale
3cdca26756 typo in last change 2014-01-16 15:09:38 -06:00
Anthony Minessale
8dfbd91a3d fold version macros into runtime functions to avoid cascade rebuilds when modifying the core 2014-01-17 01:54:47 +05:00
William King
20038230d4 This was in the wrong section. Should be setting it on the auth_invite, not the auth_registration. 2013-11-20 11:12:48 -08:00
William King
0b9e01be47 FS-5382: Adding a secondary time format thanks to Buklov. 2013-10-24 23:40:40 -07:00
Ken Rice
432fb076d8 avoid a segfault if you dont have an xml_cdr config 2013-09-05 19:05:16 -05:00
Anthony Minessale
7d6d688e53 FS-5731 --resolve 2013-08-26 20:25:14 +05:00
Seven Du
3bd1395149 redirect /portal to /portal/index.html 2013-08-13 18:30:19 +08:00
Anthony Minessale
a9cf555d3a FS-5689 --resolve 2013-08-12 00:05:11 +05:00
Seven Du
017691598c cleanup and refactor ws, this should work on Linux now 2013-08-11 22:47:42 +08:00
Seven Du
e1cc972702 trying to fix crashes on Linux 2013-08-11 11:29:04 +08:00
Seven Du
5d49d9280e fix for some FireFox cases
Chrome send "Connection: Upgrade" while FF has "Connection: keep-alive, Upgrade"
2013-08-08 22:57:14 +08:00
Seven Du
bf9809c10c fix return value 2013-08-08 15:07:46 +08:00
Jeff Lenk
fed93fd49e mod_xml_rpc revert extra stuff 2013-08-01 13:29:51 -05:00
Jeff Lenk
b71fe0031d FS-5655 try this 2013-07-31 21:45:18 -05:00
Seven Du
cbe7612ed5 more cleanup 2013-07-31 16:27:56 +08:00
Seven Du
89eb8c4624 trying to fix windows build 2013-07-31 16:21:16 +08:00
Seven Du
da29531c08 cleanup code, less dependency 2013-07-31 16:21:16 +08:00
Seven Du
0d4964f7b7 add settings disabled by default
The new websocket stuff breaks windows build so please fix, thanks
2013-07-29 23:59:06 +08:00
Seven Du
253880f586 make websocket work with abyss 2013-07-29 23:06:12 +08:00
Seven Du
f0a0e469e8 add ws 2013-07-29 20:04:32 +08:00
Nathan Neulinger
32adc789f6 make noexpandtab explicit in all vim modelines other than xml files 2013-06-25 11:50:17 -05:00
William King
9ea90341f7 If there is a problem reading the dictionary file, don't leak memory... 2013-05-24 19:55:50 -07:00
William King
2e6d3a1f2a Removing unused code 2013-05-24 19:53:26 -07:00
William King
b42ee84933 More explicit and defensive code so if the init fails we know we handling this pointer safely, because rc_config_init will free the pointer if there was a problem, but it will not set the pointer to NULL. 2013-05-24 19:49:33 -07:00
Travis Cross
1a08987975 Make custom directory for mod_xml_cdr if missing
Previously mod_xml_cdr would only make its directory if log-dir was
not specified.  The behavior now matches that of mod_json_cdr.
2013-02-10 04:32:52 +00:00
William King
e5bf180938 Adding a radius_auth_result variable to a mod_xml_radius authenticated call for dialplan routing. 2013-02-04 12:10:14 -06:00
Jeff Lenk
3a30c4df33 FS-4768 MSB_LNK_warnings.diff applied 2013-01-31 15:36:08 -06:00
William King
233ea048c0 Don't segfault if the user provided a channel variable to use that doesn't exist. 2013-01-25 11:41:39 -08:00
Jeff Lenk
dc2c11f13f FS-4768 initial add of vs2012 build support 2012-12-29 14:57:15 -06:00
William King
ba0e7ae9ca Adding ability to toggle mod_xml_radius debug flag from a console api command rather than having to rebuild and reload the module. 2012-11-02 17:06:27 -07:00
William King
5bc9fa8a66 More accurate and detailed sample configuration file. 2012-11-01 13:30:29 -07:00
William King
6bc230547c Adding an anti pattern check option 2012-10-26 15:45:59 -07:00
Jeff Lenk
6b6c83a718 FS-2746 --resolve large xmlrpc update thanks garmt 2012-10-13 11:37:25 -05:00
Anthony Minessale
52eff9451c wrap fork so we can drop priority in child processes 2012-10-01 13:38:45 -05:00
Anthony Minessale
464155c5cd more priority tweaks 2012-10-01 10:20:48 -05:00
Jeff Lenk
f8760a1fa8 FS-4641 apply same fix to mod_xml_cdr 2012-09-24 16:58:31 -05:00
William King
7b0f8ace69 Adding debugging and a default value for disconnect time. Also handle unset times better. 2012-09-14 13:17:08 -07:00
William King
c28c99c394 If the timer value isn't available it isn't an error. Instead just don't add the field. 2012-09-13 15:12:52 -07:00
William King
3918d0876f Add better handling of time values when the times aren't defined. Fix formatting of the config values for two config values. 2012-09-10 09:00:00 -07:00
William King
802af6e5cb git merge failure fixed. wrong side of the merge was kept in previous commit 2012-08-20 10:27:39 -07:00
William King
7f74f7fbc8 On accounting start and end properly error checking on new handle creation. 2012-08-20 10:24:01 -07:00
William King
863e6f792f After chasing down a few memory leaks that two of which were in the freeradius library, the result is more standardized memory cleanup. 2012-08-18 23:11:54 -07:00
Anthony Minessale
cc351ca004 revert 2012-08-16 12:09:19 -05:00
Anthony Minessale
42bf44de51 FS-4539 please test this and post new logs if necessary 2012-08-16 11:56:55 -05:00
William King
c6d7417aec Adding functionality to mod_xml_radius. Now you can do conditional accounting. And you can pull values from the other leg, specify an alternate variable name in case the variable doesn't exist and you can have default values. 2012-08-15 14:52:13 -07:00
Stefan Knoblich
eca5c0ad73 FreeSWITCH: Add WIN32 strerror_s() variant to custom switch_strerror_r() helper function and fix more strerror_r() users.
Convert mod_xml_cdr, mod_json_cdr and mod_conference to the new function.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-08-14 14:54:06 +02:00
William King
26cefbdb87 Fixing issue with which xml pointer used. oops. 2012-08-13 14:45:47 -07:00