Anthony Minessale
7efeabbd88
fix switch_split_user_domain to parse sip:foo.com properly
2014-02-12 23:11:11 +05: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
Anthony Minessale
bb9adff511
rework media code
2013-11-08 03:48:00 +05:00
Anthony Minessale
2c6427ccb7
FS-5708 --resolve
2013-08-19 23:48:17 +05:00
Ken Rice
1facd34bde
Revert "FS-5708 ... problems with build on this one
...
This reverts commit c21f65ac55
.
2013-08-16 17:53:12 -05:00
Anthony Minessale
8e45f23d02
FS-5709 --resolve
2013-08-17 02:16:28 +05:00
Anthony Minessale
c21f65ac55
FS-5708 --resolve
2013-08-17 02:13:49 +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
e74bba08c2
FS-5449: apply correct quoting, got older version of patch accidentally
2013-05-31 16:31:27 -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
Travis Cross
04c3b913aa
Quote arguments to shell when sending email
...
Note that the function switch_util_quote_shell_arg is implemented
incorrectly for unix shells, so this is still not safe until that
function is fixed.
Reported-by: Nathan Neulinger <nneul@mst.edu>
FS-5450 --resolve
2013-05-26 01:27:16 +00:00
Travis Cross
3dd2376475
Leave room for switch_escape_string to add a terminating null
...
Thanks-to: Nathan Neulinger <nneul@mst.edu>
FS-5448 --resolve
2013-05-25 23:28:55 +00:00
William King
938699d0b6
Better to not pass tmp_socket to setsockopt if there was an error here creating the socket.
2013-05-25 07:37:28 -07:00
Jeff Lenk
66a94a2c45
windows fix trivial compiler warning
2013-05-22 10:38:04 -05:00
Anthony Minessale
1a3b69a4a6
FS-5436 --resolve
2013-05-21 19:39:02 -05:00
William King
3f06bbd04a
This was writing a null one space to the right, outside of the malloc'd buffer. On further review this uses apr_vsnprintf which always returns null terminated.
2013-05-18 13:38:24 -07:00
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