295 Commits

Author SHA1 Message Date
Anthony Minessale
f1d7721710 FS-6448 --resolve revert string func patch cos some things free it 2014-04-11 02:36:13 +05:00
Anthony Minessale
4178688b4a add switch_hashtable_insert_destructor so you can insert a pointer into a hash with a custom destructor and use it in spandsp to fix a leak on reloadxml with the tone_descriptor tables and fix a bunch of random tiny leaks etc 2014-04-09 23:26:47 +05:00
Brian West
c4c0f38aab FS-6294 FS-6308 NetBSD support should work test and report back please. 2014-03-19 14:34:07 -05:00
Anthony Minessale
65a6ba3c61 FS-6289 --resolve regression from 1fba654845c8202bf84c58b203a3bc9624164c4e 2014-02-28 21:43:46 +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
Peter Olsson
cfc06584cc Silence warnings: Use _strdup instead of strdup on Windows Release build 2014-01-14 09:49:08 +01:00
Anthony Minessale
6100e1f0d6 missed a spot on last conf commit 2013-09-06 02:45:10 +05:00
Anthony Minessale
8e45f23d02 FS-5709 --resolve 2013-08-17 02:16:28 +05:00
Brian West
f9c5f85444 REVERT FS-5555 2013-07-12 13:05:36 -05:00
Brian West
a8b4ccf7fb FS-5555 improvement --resolve 2013-07-12 11:50:10 -05:00
Ken Rice
6240d5213f FS-5555 --resolve 2013-07-10 12:08:54 -05:00
Nathan Neulinger
32adc789f6 make noexpandtab explicit in all vim modelines other than xml files 2013-06-25 11:50:17 -05:00
Nathan Neulinger
ac0ed44b96 FS-5449: --resolve add a mod_commands function to use the shell escape function and update the existing function to use correct escaping
adds a pool based implementation of the switch_util_quote_shell_arg function and changes existing function to be a wrapper around the pool based one
2013-05-31 16:25:08 -05:00
Anthony Minessale
2a72b02f6b add switch_print_host 2013-03-31 21:27:25 -05:00
Brian West
4f47c49590 missing zset 2013-03-30 19:55:55 -05:00
Anthony Minessale
b6ed7c26c3 FS-5214 --resolve 2013-03-25 17:02:05 -05:00
Anthony Minessale
abdc4bf091 add some more mime types for wav and mp3 2013-03-15 20:34:24 -05:00
Anthony Minessale
bf93eb47e9 FS-5131 --resolve indeed, nice catch 2013-02-28 09:28:00 -06:00
Anthony Minessale
8e892abdef fix 64 bit upper/lower 2013-01-08 14:48:16 -06:00
Anthony Minessale
17b9f68f80 add better tolower to go with the toupper 2013-01-08 14:21:41 -06:00
Anthony Minessale
ddea76280f deteect 64 bit 2012-12-12 14:09:39 -06:00
Jeff Lenk
fef77d9123 FS-4929 -revert fix differently 2012-12-12 10:37:49 -06:00
Jeff Lenk
4c1776dedf FS-4929 --resolve 2012-12-12 10:17:34 -06:00
Jeff Lenk
3c58a46329 whitespace cleanup only 2012-12-12 10:10:22 -06:00
Anthony Minessale
063962cae0 add switch_toupper_max to uppercase a string 4 bytes at a time with new switch_toupper function 2012-12-11 20:12:25 -06:00
Anthony Minessale
5d35d71cfd FS-4928 doing 100 calls I found 7 million calls to toupper, this patch replaces it with an inline optimized one I found online. Not sure it helps but maybe you can profile it again with latest. 2012-12-11 19:18:25 -06:00
Anthony Minessale
c5204c2128 FS-4614 --resolve update to dynamic line buffer and use internal buffering to boot for file I/O on preprocessing XML 2012-09-18 15:39:28 -05:00
Stefan Knoblich
8bcf3b4fb8 FreeSWITCH: Add switch_strerror_r() to fix problems with XSI and GNU variants of strerror_r().
GNU variant of strerror_r() returns char *, while the XSI version returns int.

To make things worse, glibc ships both and added a unused result warning
in recent versions (2.16) causing the build to fail.

Add our own custom wrapper that always returns a pointer to the message buffer
and additionally make XSI versions of strerror_r() GNU compatible by
returning "Unknown error xxx" if no error message is available.

Fixes:
    src/switch_rtp.c: In function 'rtp_common_read':
    src/switch_rtp.c:3313:15: error: ignoring return value of 'strerror_r',
    declared with attribute warn_unused_result [-Werror=unused-result]
    cc1: all warnings being treated as errors

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-08-14 14:11:44 +02:00
Ken Rice
7a147e4762 Update a ton of copyright statements to make sure the dates are proper 2012-04-25 17:14:55 -05:00
Jeff Lenk
24288832b1 FS-2216 partial with renaming 2012-01-08 14:19:16 -06:00
Anthony Minessale
94b9cc0f9f add voicemail_formatted_caller_id_number param for templates in vm 2011-11-10 14:39:28 -06:00
Anthony Minessale
0ed54079e4 FS-3663 --resolve 2011-11-04 13:16:54 -05:00
Anthony Minessale
1bf97fa7ba add some more reporting data to logs 2011-10-11 15:13:23 -05:00
Anthony Minessale
626b5cb2a2 FS-3571 FS-3442 FS-957 --resolve tighten up the parsing of these boolean vals issue in t38 sdp 2011-09-19 20:11:23 -05:00
Anthony Minessale
21482f011c FS-3521 --resolve that was not a git diff, anyway i would prefer to not feed null to this function by practice because its the sign o f a bigger problem so I added an assert so we can tell if it happens again and protected against it from where its actually happening because NULL destination is not acceptable 2011-08-25 08:46:40 -05:00
Jeff Lenk
d193789a2c fix several problems discovered with code analysis 2011-05-30 00:07:32 -05:00
Anthony Minessale
bd471fc6a9 add bridged timestamp and hangup_complete_with_xml=true to add xml_cdr to the body of hangup_complete events 2011-04-28 13:46:39 -05:00
Michael Jerris
244048f8f5 add switch_clean_name_string to strip out caller id name chars that can cause issues 2011-04-14 17:51:45 -04:00
Brian West
ddb345636a FS-3220: more than just typos 2011-04-01 17:38:58 -05:00
Anthony Minessale
484a397d88 FS-3194 see comitted patch. I made the function assert rather than tolerate NULL and fixed the imporper usage. 2011-03-28 09:49:52 -05:00
Anthony Minessale
b53a684843 fix bug in switch_itodtmf from a8f5bf60a87fb27420846bd9d9af5e61f1f947d6 2011-02-22 18:36:02 -06:00
Anthony Minessale
a8f5bf60a8 fix proper display of meta digit in log lines 2011-01-24 12:18:02 -06:00
Anthony Minessale
316963c594 treat EINTR returns as a BREAK (now mapped to SWITCH_STATUS_INTR), we appriciate the interrupted syscalls but we would like to continue working properly 2011-01-11 15:09:03 -06:00
Anthony Minessale
27869d7a26 add bind meta on A-D and refactor 2011-01-05 17:53:27 -06:00
Brian West
3734f4cd44 bump copyright date and fix some email and typos from diego. 2011-01-05 10:09:04 -06:00
Anthony Minessale
4d7e4f1ec2 change switch_strip_spaces to specify if you want it to dup the string or destroy the current buffer 2010-12-21 20:30:28 -06:00
Brian West
db91f0e81f FS-2842: ACL for IPv6 address and swigall to boot 2010-11-15 11:37:23 -06:00
Mathieu Rene
b639aebd62 fix dow to support multiple coma-separated conditions. BLUEBOX-133 2010-10-27 00:57:13 -04:00
Michael Jerris
cf5c1d216a try to pass the 'f' up from wanpipe and do something sane with it 2010-10-20 16:40:26 -04:00