Travis Cross
9cf864ba2b
Deal with read errors in switch_xml.c
...
Unlike fread(3), read(3) will return -1 on error. We were assigning
the result of read to a potentially unsigned variable, and passing the
result down to switch_xml_parse_str() where it would end up
determining how many bytes to malloc(3).
2014-02-28 18:33:31 +00:00
Anthony Minessale
15b8dfa8af
FS-6217 --resolve
2014-02-13 06:22:13 +05:00
Ken Rice
6e7d5d0897
update copyright header for 2014
2014-02-12 12:08:56 -06:00
Anthony Minessale
87c5c64c32
FS-6032
2013-12-09 22:14:38 +05:00
Anthony Minessale
726b607667
FS-5841 --resolve
2013-11-22 22:52:59 +05:00
Anthony Minessale
1780e22805
FS-5779 --resolve
2013-09-12 09:27:06 +05:00
Anthony Minessale
bd41ecc396
FS-5779 --resolve
2013-09-12 01:29:32 +05:00
Anthony Minessale
32437d0412
FS-5747 move reloadxml event outside of mutex
2013-09-05 04:09:53 +05:00
Anthony Minessale
5b8a1337d6
FS-5734 documentation will need to be updated to request languages instead of phrases
2013-08-28 21:25:35 +05:00
Anthony Minessale
f08c3309f6
FS-5621
2013-07-20 14:07:01 -05:00
Anthony Minessale
a6bffd38cb
FS-5498
2013-07-19 12:03:51 -05:00
Ken Rice
2f48c63107
Revert "FS-5567 --resolve"
...
pulling this one for a bit...
This reverts commit 518b5a802e
.
2013-07-11 12:04:12 -05:00
Ken Rice
518b5a802e
FS-5567 --resolve
2013-07-11 11:10:11 -05:00
Ken Rice
f30e40a80b
--resolve FS-3922
2013-07-04 21:18:20 -05:00
Nathan Neulinger
32adc789f6
make noexpandtab explicit in all vim modelines other than xml files
2013-06-25 11:50:17 -05:00
Raymond Chandler
610718fdff
FS-4871: reduce logging a bit
2013-05-23 20:51:25 -04:00
Jeff Lenk
0bf912e821
FS-5389
2013-05-08 11:36:13 -05:00
Jeff Lenk
ab7ae9f7cc
FS-5389 --resolve
2013-05-08 08:37:10 -05:00
Raymond Chandler
a2fcb4191e
FS-4871 --resolve
2013-05-07 15:07:04 -04:00
Anthony Minessale
bf607b0d91
FS-5319 --resolve
2013-04-17 15:33:27 -05:00
Jeff Lenk
16289ce9a4
FS-5166 --resolve exec for windows
2013-03-13 22:24:25 -05:00
Brian West
f4e55fb187
fix regression from 6b6c83a718
2012-11-13 12:48:59 -06:00
Anthony Minessale
a4a44fb140
FS-4741 parse timezone variable and adjust time for time based routing
2012-10-31 10:43:59 -05:00
Anthony Minessale
6d7e2799c3
FS-4741 I think I see the issue, try this
2012-10-31 11:41:48 -04:00
Anthony Minessale
01dde19cbd
FS-4741 --resolve use paypal@freeswitch.org
2012-10-23 18:19:32 -04:00
Anthony Minessale
30a13ca0c6
FS-4728 --resolve got it, related to multpile bindings
2012-10-17 12:29:50 -04: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
Jeff Lenk
b39232c7ff
trivial compiler warning
2012-09-18 22:10:47 -05: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
Jeff Lenk
e22f42334d
FS-4099 --resolve switch windows to use posix delimiter (/) for base paths. This will correct numerous problems with escaped chars. This change only effects windows builds. Please test.
2012-09-16 14:15:49 -05:00
Ken Rice
c5554eb939
Copyright date update.
2012-04-18 11:52:02 -05:00
root
277c1141c4
a few perf tweaks
2012-04-04 17:20:35 -05:00
Anthony Minessale
0f6a2bf863
the threaded one seems to not work using only fork
2011-12-20 13:49:15 -06:00
Anthony Minessale
d7a37e9754
allow system API command to capture output from the executed command
2011-12-20 12:34:21 -06:00
Marc Olivier Chouinard
442f4d2522
FS-3766 --resolve
2011-12-16 07:35:05 -05:00
Marc Olivier Chouinard
4cd616cc1d
FS-2081 --resolve
2011-12-15 23:36:20 -05:00
Anthony Minessale
65a756643a
add tod_tz_offset variable to set to the integer value of the tz offset or the tz-offset tag on a per-tag basis
2011-11-07 14:31:36 -06:00
Anthony Minessale
7333d46d5b
add new chatplan concept and mod_sms. Apps for chat messages: copy new base freeswitch.xml and chatplan dir if you are upgrading on existing config base
2011-09-21 14:31:18 -05:00
Jeff Lenk
3aaa6209b8
FS-3380 --resolve Bad calling conventions for Windows
2011-06-29 11:30:31 -05:00
Anthony Minessale
07a715928b
FS-2218 --resolve
2011-06-28 08:05:12 -05:00
Jeff Lenk
5923f71a84
more code analysis mostly trivial except string formating changes
2011-06-01 22:36:19 -05:00
Jeff Lenk
1086cba2be
fix trivial compiler warning
2011-05-23 22:51:43 -05:00
Anthony Minessale
2582bbcb36
add xml user caching mechanism
2011-05-23 17:15:37 -05:00
Anthony Minessale
73279f01bf
FS-3166 --resolve
2011-04-22 16:43:29 -05:00
Marc Olivier Chouinard
4137b360cf
switch_ivr/xml: Change the structure of the phrases/language system. Previously it was fxml->phrases->macros->language->macro. Changed it so fxml->languages->language->phrases->macros->macro
...
You can have sub macros <macros name="voicemail"><macro ...> and allow you to call it login@voicemail.
Change the sound-path to sound-prefix to make it constistant with the rest of freeswitch.
Also allow to set a sound-prefix to a macros, so you can override it for a specific file set.
You can set say-modules="en" or whatever in the <language section to define that say module to use.
2011-04-20 13:09:03 -04:00
Anthony Minessale
3ed59f1d1f
take back in some elements from the reverted patch that still make sense based on code review by Moc, thanks
2011-03-31 16:28:12 -05:00
Anthony Minessale
4714ed4380
revert 471bd6df1a
and implement reference counting on the xml roots to achieve the same end result
2011-03-31 13:44:24 -05:00
Brian West
dae2cb4aac
Fix X-PREPROCESS exec to wait pid
2011-03-29 18:05:05 -05:00
Marc Olivier Chouinard
34bd0e5e79
switch_xml: Remove commented out mmap. With the changes in the past 2 year, mmap can't really be put back in it current state.
2011-03-18 16:45:37 -04:00
Marc Olivier Chouinard
471bd6df1a
switch_xml: reloadxml will(should) never lock again. It will load the XML structure into a new XML structure, and just replace the currently available ROOT XML. It then the job of the last user of the switch_xml structure to free it.
2011-03-18 16:41:27 -04:00
Anthony Minessale
4ae8282e6c
fix possible bad pointer in global vars (please test)
2011-02-02 15:43:26 -06:00
Marc Olivier Chouinard
2d6161e889
switch_xml: Fix a lock on reloadxml when stderr write is blocked. Also remove an error parsing print since reason generated were wrong and duplicate.
2011-02-01 01:33:08 -05: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
1ba98b02b9
FS-2852
2010-12-01 09:54:28 -06:00
Marc Olivier Chouinard
d09e6c60d9
switch_xml: snprintf size fix
2010-10-25 15:21:39 -04: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
42c9df72ce
***BEHAVIOUR CHANGE*** reloadacl, load <module>, reload <module> will now explicitly call reloadxml
2010-09-16 17:38:06 -05:00
Anthony Minessale
8f4e63928a
add some error checking
2010-06-03 12:34:38 -05:00
Anthony Minessale
9da349213b
FSCORE-608 (2nd issue pertaining to parsing an empty xml file)
2010-05-14 11:27:29 -05:00
Michael Jerris
41557506e1
add xml error checking
2010-04-26 07:02:26 -04:00
Michael Jerris
09a734bb48
factor out timecheck function from Moc
2010-04-26 05:06:30 -04:00
Brian West
ea5db72a26
fix vm to inherit params from domain/group
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16644 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-15 17:40:13 +00:00
Anthony Minessale
c65da59d55
add new api funcs to xml
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16605 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-11 17:32:22 +00:00
Anthony Minessale
62ce853897
add moc's xml patch
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16604 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-11 15:54:41 +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
Brian West
e92fd63539
FSCORE-537
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16514 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-25 15:16:43 +00:00
Jeff Lenk
da7f9715ec
fix backspace path under windows - handles any order
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16182 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-06 15:57:36 +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
Mathieu Rene
9918f70540
switch_xml_locate: don't parse the binding section at every iteration
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13744 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-10 05:03:07 +00:00
Anthony Minessale
9300e0ad70
picky compilers
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13658 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-05 21:55:02 +00:00
Anthony Minessale
4577ec8788
fix order of ops to enable logging sooner
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13556 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-02 22:03:33 +00:00
Anthony Minessale
2f4d0e7456
fix typo
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13464 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-27 13:06:27 +00:00
Michael Jerris
bbb8adf2af
dos2unix
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13456 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-27 04:21:51 +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
c32747151e
core: fix segfault on out of memory situation. (FSCORE-366)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13398 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-19 21:25:52 +00:00
Anthony Minessale
3718cbc956
fixx off-by-one in xml preprocessor
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13385 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-19 15:38:45 +00:00
Michael Jerris
d18fa24ae6
abolish mailbox attribute in users and use number-alias attribute instead MODAPP-218
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13377 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-18 17:06:13 +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
Mathieu Rene
5802cb943a
Fix leak-on-failure
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13260 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-08 04:33:58 +00:00
Mathieu Rene
3b168bcb3f
Add switch_xml_parse_str_dynamic and switch_xml_parse_str_dup
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13255 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-07 21:40:21 +00:00
Mathieu Rene
31e8ef618b
Complain about file open errors in XML preprocessing
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12948 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-08 07:02:16 +00:00
Brian West
9fa14d5243
FSCORE-333
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12684 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-20 14:31:15 +00:00
Mathieu Rene
53ab0e2aef
Fix off-by-1 read err in switch_xml
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12628 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-16 20:28:22 +00:00
Mathieu Rene
bc46c9a0f3
FIx nasty leak
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12625 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-16 19:24:12 +00:00
Brian West
de13f43100
wanna talk about OCD
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12436 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-05 04:04:41 +00:00
Anthony Minessale
4a520847c2
FSCORE-309
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12270 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-25 02:22:07 +00:00
Anthony Minessale
3a85348cdf
FSCORE-309
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12269 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-25 00:56:17 +00:00
Anthony Minessale
8b1a2e21a6
FSCORE-309
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12268 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-25 00:46:51 +00:00
Anthony Minessale
e5f6e42eec
IRC-000
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12267 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-24 23:30:17 +00:00
Anthony Minessale
333019eb6a
declinatio mortuus obfirmo!
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12248 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-23 18:33:59 +00:00
Brian West
babb2f83f5
update copyright
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12004 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-13 23:37:37 +00:00
Anthony Minessale
92dc0cadf2
i guess they free it for you =/
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11928 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 16:39:20 +00:00
Anthony Minessale
a818ec8837
doh almost added a leak today
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11910 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 03:13:30 +00:00
Michael Jerris
93ec3d687a
prevent exclusive hold on xml registry during visits to the phrase section
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11900 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 00:27:07 +00:00
Brian West
ae220d3341
update email
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11643 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-04 21:20:54 +00:00
Anthony Minessale
bb974720e9
fix voicemail to be in line with groups
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10993 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-29 22:26:10 +00:00
Anthony Minessale
772f957064
fix init issue
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10925 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-23 19:47:50 +00:00