Commit Graph

162 Commits

Author SHA1 Message Date
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