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