Commit Graph

249 Commits

Author SHA1 Message Date
Anthony Minessale 2a72b02f6b add switch_print_host 2013-03-31 21:27:25 -05:00
Anthony Minessale abdc4bf091 add some more mime types for wav and mp3 2013-03-15 20:34:24 -05:00
Anthony Minessale 17b9f68f80 add better tolower to go with the toupper 2013-01-08 14:21:41 -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
Jeff Lenk 27c236a03a FS-4847 test again 2012-11-21 09:41:14 -06:00
Jeff Lenk 2ee8058488 FS-4847 try this 2012-11-20 16:54:35 -06:00
Jeff Lenk 9015b20f32 FS-4847 try this too 2012-11-19 16:28:39 -06:00
Jeff Lenk 21b9ec8868 FS-4847 --resolve 2012-11-19 16:23:55 -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
Anthony Minessale 455b22480c FS-3971 --resolve 2012-09-04 12:30:23 -05: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
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
Anthony Minessale e81d31ce43 FS-4429 --resolve you guys should come to cluecon we would like to help you get bvtapi working really well 2012-07-16 13:39:23 -05:00
Ken Rice c5554eb939 Copyright date update. 2012-04-18 11:52:02 -05:00
Anthony Minessale e31389ac9c FS-4097 --resolve 2012-04-10 08:05:09 -05:00
Anthony Minessale 3ca8536558 regression from 29f66f99 2012-02-23 16:21:14 -06:00
Anthony Minessale 29f66f994c doh 2012-01-27 14:18:19 -06:00
Anthony Minessale 7471ec17ed add printed errors to mailer part 2 2012-01-27 13:52:15 -06:00
Anthony Minessale 0b21064a05 add printed errors to mailer 2012-01-27 13:41:50 -06:00
Anthony Minessale b8fdbc4860 FS-3808 --resove We audited for this, must have overlooked this one, thanks. 2012-01-11 21:33:23 -06:00
Jeff Lenk 24288832b1 FS-2216 partial with renaming 2012-01-08 14:19:16 -06:00
Jeff Lenk 79992ac5fe refactor switch_fulldate_cmp and correct usec comparison and year month error 2012-01-01 22:40:23 -06:00
Jeff Lenk 26a49a6e70 FS-3753 --resolve 2011-12-11 22:15:55 -06:00
Jeff Lenk 422df6180f trivial fix build 2011-11-21 12:50:00 -06:00
Michael Jerris d66d41232b don't format non numbers 2011-11-21 13:31:19 -05: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 1c60b9946f d'oh you'll want to update 2011-11-04 14:26:39 -05: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
Michael Jerris 61dd9c0765 don't delete file if its the same file 2011-09-15 10:48:37 -04:00
Anthony Minessale b4b99c410d do not escape strings inside single quotes unless we can find a closing quote too 2011-09-13 16:50:05 -05:00
Anthony Minessale dd6996cd3f revert 2011-09-12 14:25:01 -05:00
Anthony Minessale 329e29f69d doh 2011-09-08 16:55:40 -05:00
Anthony Minessale 7d612da440 yield when doing b64 encode to avoid stealing the cpu on single proc crappy hardware 2011-09-08 16:47:21 -05:00
Anthony Minessale 2e6ce02462 fix unlikely failure condition 2011-09-08 16:47:21 -05:00
Anthony Minessale f3a42258d6 FS-3099 --resolve 2011-07-28 17:13:38 -05:00
Anthony Minessale 3b5a0ae50d FS-3359 --resolve also added %y to printf macros to replace ' with \' 2011-07-07 15:08:23 -05:00
Jeff Lenk d193789a2c fix several problems discovered with code analysis 2011-05-30 00:07:32 -05:00
Anthony Minessale 38f06a3bf9 add additional format YYYYMMDDHHMMSS to strepoch 2011-05-19 15:39:43 -05:00
Anthony Minessale 05cb400a51 FS-3205 --resolve 2011-03-31 19:04:27 -05:00
Anthony Minessale 4ae8282e6c fix possible bad pointer in global vars (please test) 2011-02-02 15:43:26 -06:00
Anthony Minessale 7a04104d6f FS-2975 (part deux) 2011-01-13 18:04:05 -06:00
Anthony Minessale c6bdb303d4 FS-2975 2011-01-13 10:58:53 -06:00
Anthony Minessale 7d1e664dc8 let switch_end_paren work with delims of the same char 2011-01-12 15:32:46 -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 dad92067da FS-535: fix issue in is_lan_addr where 172.2 would match 172.250.x.x which is not RFC1918 this also fixes an chicken egg issue 2010-11-23 18:51:17 -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 43aeb3b858 switch_dow_cmp: fix logic err in my latest commit 2010-10-28 10:37:21 -04:00
Mathieu Rene 7fce3995df oops 2010-10-27 09:35:20 -04:00