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
Mathieu Rene
b639aebd62
fix dow to support multiple coma-separated conditions. BLUEBOX-133
2010-10-27 00:57:13 -04:00
Brian West
f42c90365c
FS-2778: force_local_ip_v4 / _v6 not handled properly in switch_find_local_ip
2010-10-13 16:52:09 -05:00
Jeff Lenk
ffd28c1930
fix build windows
2010-10-13 10:59:34 -05:00
Brian West
4e5911c291
FS-2776: FS uses IPv6 under Proxy mode, and SIP Phone uses 6to4 tunneling IPv6 address, cause hearing nothing.
2010-10-13 09:17:31 -05:00
Marc Olivier Chouinard
59ec8ced59
switch_utils: Add day of week 3 letter initial usage in "wday" field in the dialplan. Example : mon-fri. Using number as before is still supported. Several public switch function are available.
2010-09-17 00:26:27 -04:00
Marc Olivier Chouinard
c9fcce0869
switch_utils: Add date time range string compare function switch_fulldate_cmp. It usable in XML dialplan with date-time. String format example : 2009-10-10 14:33:22~2009-11-10 17:32:31.
2010-09-17 00:21:19 -04:00
Marc Olivier Chouinard
4ab8fa13e1
switch_utils: Add time of day string compare function switch_tod_cmp. It usable in XML dialplan with time-of-day. String format is hh:mm:ss you can define a range like this : 09:00-17:00 (Second are not optional)
2010-09-17 00:07:30 -04:00
Anthony Minessale
11361f69a4
hex vs. dec, strip space in switch_strip_whitespace
2010-09-02 16:39:10 -05:00
Anthony Minessale
5481d9a98c
MODSOFIA-86
2010-08-19 18:22:06 -05:00
Jeff Lenk
52f14165f8
Fix windows build
2010-06-01 20:12:33 -05:00
Mathieu Parent
3f7cafd709
Rename sofia_glue_get_user_host to switch_split_user_domain
...
and move to switch_utils. To allow use by other modules.
2010-06-02 01:09:54 +02:00
Michael Jerris
5d15dc1097
fix windows missing inet_ntop missing symbol when built on >= vista but run on < vista
2010-05-11 13:07:13 -04:00
Brian West
b5cc1a6626
FSCORE-605
2010-05-06 17:36:13 -05:00
Jeff Lenk
99eebf2f96
fix for Windows XP inet_ntop execution - you must compile with XP for support.
2010-05-05 15:15:01 -05:00
Anthony Minessale
f1430d521a
fix switch_get_addr to work with v6 properly
2010-04-30 15:27:15 -05:00
Marc Olivier Chouinard
58819523b6
mod_sofia: Add url encode to a var in the xml output to be valid xml. Also changed switch_url_encode to return the pointer of the string rather than the length, same as switch_amp_encode()
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17087 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-24 19:04:19 +00:00
Michael Jerris
f8974f03f9
move functions to strip commas and non-numeric chars to switch_utils
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16936 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-08 08:12:12 +00:00
Anthony Minessale
5638b3a4f0
tweak on last commit
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16802 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-24 18:41:23 +00:00
Anthony Minessale
645edfe320
add force_local_ip_v4 and force_local_ip_v6 global vars to override the core funcs to always discover the same ip
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16801 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-24 18:13:28 +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
3049cd5c8d
try this Vagabond
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16517 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-26 18:20:09 +00:00
Anthony Minessale
14f0ebf3b5
allow double escape in parser for \
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16440 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-21 19:59:28 +00:00
Mathieu Rene
302355202a
add escape api command to escape a string
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15764 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-03 02:37:05 +00:00
Jeff Lenk
243b00659f
code before decl
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15761 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-02 19:00:25 +00:00
Mathieu Rene
a6886d186a
MODENDP-224
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15760 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-02 18:51:28 +00:00
Anthony Minessale
06a68fce64
add switch_ivr_enterprise_originate optional new dimension to originate strings every element in :_: separated list in originate strings will fire in a dedicated thread and can contain their own {} and , and | lists
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15455 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-12 22:21:30 +00:00
Anthony Minessale
7ff54ae6ff
last ipv6 change not quite right, should not change any behaviour
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15318 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-02 16:46:47 +00:00
Anthony Minessale
9fb56c87f2
fix ipv6 issue
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15310 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-01 19:53:31 +00:00
Anthony Minessale
10f10c5db0
make switch_cmp_addr ipv6 friendly and cleanup/refactor autoadjust code in rtp
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15289 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-30 14:26:17 +00:00
Jeff Lenk
3aa5055bf1
windows compiler fixes and switch_mprintf overflow(32bit only)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15286 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-30 04:07:49 +00:00
Anthony Minessale
d646547bdb
filter out unwanted media on rtp
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15284 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-30 01:06:51 +00:00
Anthony Minessale
9d6bf97b09
reorder args
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15253 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-27 19:43:12 +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
Anthony Minessale
1f2a97f433
add -f from to email
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15182 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-20 18:07:24 +00:00
Brian West
ae7b39c9e9
try this
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15094 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-05 17:38:46 +00:00
Brian West
169195f3ce
convert
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15037 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-01 22:43:44 +00:00
Brian West
c1c3b65a21
FSCORE-446
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14958 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-23 17:32:01 +00:00
Brian West
45ecc4b0d3
FSCORE-440
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14882 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-16 13:55:23 +00:00
Brian West
f28b26b8aa
add host_lookup api call
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14667 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-28 20:30:03 +00:00
Anthony Minessale
ca8dfda04a
add a host lookup func
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14653 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-27 22:58:55 +00:00
Anthony Minessale
835b6d31bb
add time of day routing attrs to condition tags in xml dialplan
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14137 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-06 18:31:23 +00:00
Michael Jerris
5135dc03df
fix seg in some edge cases
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13781 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-16 13:41:01 +00:00
Mathieu Rene
3fd2044877
Also export switch_inet_pton
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13741 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-10 00:48:35 +00:00
Mathieu Rene
965023a8eb
doh
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13739 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-10 00:07:10 +00:00
Mathieu Rene
374997f2c1
Export swtich_inet_ntop so modules can use it
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13738 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-10 00:04:29 +00:00
Anthony Minessale
55c8fbad76
add sofia tracelevel <level> and tracelevel param in <settings>
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13735 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-09 19:52:07 +00:00
Brian West
3022f3d96a
fix memory leak
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13726 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-09 17:25:20 +00:00
Michael Jerris
0e20e48919
add netmask code for windows
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13607 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-04 05:23:19 +00:00
Anthony Minessale
8cc053a611
FSBUILD-168 now he has to come to cluecon
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13600 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-03 22:30:09 +00:00
Anthony Minessale
4b4fb6bb2c
rupa said this segged
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13550 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-02 18:30:18 +00:00
Anthony Minessale
b82984fe97
add netmask detection for nat discovery work
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13549 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-02 16:55:10 +00:00
Anthony Minessale
72c680f005
FSCORE-373
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13508 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-29 18:48:54 +00:00
Anthony Minessale
531e0f2d15
properly detect unterminated
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13438 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-26 18:04:22 +00:00
Michael Jerris
85317633dc
build: fix gcc-4.4.0 build failures (FSCORE-355)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13395 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-19 20:25:59 +00:00
Michael Jerris
383ff711d2
cleanup msvc code analysis warnings
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13366 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 21:07:18 +00:00
Anthony Minessale
3c6b98d00f
accept asterisk N/X/Z/. notation everywhere regexes are expected when they start with _
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13287 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-12 17:10:57 +00:00