Anthony Minessale
c62253405f
add rwlocks to module parents
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10362 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-12 17:10:20 +00:00
Michael Jerris
d3e7370885
(LBAPR-1) load mod_lua with global symbols space so that sub modules are able to link to it properly. Broken in svn r9605.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10306 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-08 11:21:54 +00:00
Michael Jerris
b17ebda4df
add our own module load code (LBAPR-1)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10272 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-06 17:29:50 +00:00
Anthony Minessale
c217d45cf0
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10244 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-05 00:20:30 +00:00
Anthony Minessale
30c318b995
clean some old members and naming conventions in the codec structs
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10084 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-20 17:48:42 +00:00
Michael Jerris
31d22fff54
fix autoload of modules.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9993 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-13 06:42:50 +00:00
Michael Jerris
a75febf88f
misplaced ( )
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9939 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-10 18:42:29 +00:00
Anthony Minessale
c8b8672a3e
still try to graceful shutdown in dire cirumstances
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9490 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-09 15:25:31 +00:00
Anthony Minessale
cbef00ce1f
tweak
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9361 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-24 01:52:27 +00:00
Anthony Minessale
4dadffda00
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9355 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-22 19:00:56 +00:00
Anthony Minessale
7022893689
improve unload stuff
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9353 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-22 17:57:15 +00:00
Stefan Knoblich
f921389078
Use switch_event_add_header_string() instead of switch_event_add_header(... "%s", ..), core part
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9308 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-16 02:17:09 +00:00
Anthony Minessale
3d486a3445
add some more stuff to sho
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9134 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-22 17:19:26 +00:00
Anthony Minessale
654d584fb9
doh
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9125 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-21 17:33:46 +00:00
Brian West
7f511482d2
add module_exists api call
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8984 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-10 14:41:31 +00:00
Michael Jerris
64997c4d8e
vim extendtab is bad
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8894 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-03 19:12:26 +00:00
Anthony Minessale
43b712b7b1
add some write locks to the core and a function to unregister event bindings
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8880 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-01 23:41:09 +00:00
Brian West
510f0d8a55
tweak
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8807 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-06-17 22:09:59 +00:00
Anthony Minessale
3c349c274e
indent pass 1
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8686 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-27 04:30:03 +00:00
Anthony Minessale
d9bdd7db0b
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8581 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-24 05:09:50 +00:00
Anthony Minessale
307e9ef7d6
name change
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8579 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-24 03:46:19 +00:00
Stefan Knoblich
088b842ced
Add safety check for codec implementations with bytes_per_frames being larger than the recommended buffer size (Klocwork #1039 )
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8514 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-21 22:26:30 +00:00
Michael Jerris
41510454a8
don't pass null to switch_loadable_module_get_api_interface. Found by Klockwork (www.klocwork.com)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8439 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-16 16:15:37 +00:00
Anthony Minessale
0874db56f7
fix vid issue
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8267 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-06 00:02:37 +00:00
Anthony Minessale
be1bbc63d2
tweak
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7974 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-27 22:46:47 +00:00
Anthony Minessale
ecece5885f
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7972 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-27 20:36:03 +00:00
Anthony Minessale
93196c4942
change naming convention of internal mods
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7708 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-20 17:11:37 +00:00
Anthony Minessale
983a0ba3df
move L16 and g711 into the core
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7670 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-18 19:43:57 +00:00
Brian West
b0ad7ab50c
set tab mode properly
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7500 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-03 22:14:57 +00:00
Brian West
84161010ab
cleanup and consistency.. blah rain @ PHX fun
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7396 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-27 20:01:02 +00:00
Brian West
935cbcf937
more cleanup before I leave LAX
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7394 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-27 17:42:51 +00:00
Stefan Knoblich
96164e0967
Spelling fixes #3
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7121 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-07 11:21:24 +00:00
Michael Jerris
6c25cb4136
don't strstr on null/blank strings.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7027 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-30 00:22:51 +00:00
Michael Jerris
ace9a25fa2
pass format string too
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6794 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-14 18:00:58 +00:00
Michael Jerris
54ec86f6ce
use switch_snprintf instead of snprintf becuase in insures null termination of strings.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6707 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-12 21:53:32 +00:00
Michael Jerris
e46266fb4f
cleanup, null checks. etc.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6673 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-11 21:31:57 +00:00
Michael Jerris
55a194e54e
use switch_assert macro
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6661 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-11 19:23:57 +00:00
Anthony Minessale
5098f7a174
fix file_path issues
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6546 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-06 20:03:27 +00:00
Michael Jerris
356a131182
silence some sun-cc build errors.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6300 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-16 05:47:00 +00:00
Anthony Minessale
6b1fa2191b
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5992 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-19 15:31:02 +00:00
Brian West
d1ff29dda5
temp tweak pending build system change
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5864 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-12 23:53:32 +00:00
Brian West
12d032b9cc
add MAC OS X
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5859 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-12 22:56:15 +00:00
Michael Jerris
12eb8c5a87
fix loading on windows
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5858 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-12 22:54:18 +00:00
Anthony Minessale
bd6bd9ad57
add softtimer to the core, begin framework for static modules and reduces calls to gettimeofday for timestamps
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5784 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-03 16:44:11 +00:00
Anthony Minessale
ffb989e435
tear the hell out of everything and rip it up into itsy bitsy pieces and put it all back together
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5765 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-29 01:06:08 +00:00
Anthony Minessale
d33b5670f0
fix some races and alter core (do a full rebuild)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5751 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-24 19:34:25 +00:00
Anthony Minessale
15fbb280fa
tweak
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5639 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-20 21:25:06 +00:00
Michael Jerris
7e81dbe5b0
use .so not .dylib for modules on OS-X, fix for MODENDP-16
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5573 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-06 18:10:30 +00:00
Anthony Minessale
906bb70654
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5483 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-28 14:47:58 +00:00
Michael Jerris
01b5817179
fix windows build.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5348 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-13 20:49:45 +00:00
Anthony Minessale
95f007586f
stage 1 of wrecking ball (duck!)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5347 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-13 20:40:06 +00:00
Michael Jerris
057ba60aaf
cleanup error message.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5340 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-13 14:48:13 +00:00
Michael Jerris
5c8dca7769
silly const stuff
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5339 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-13 14:45:04 +00:00
Michael Jerris
0446d4e84a
silly type stuff
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5338 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-13 14:41:49 +00:00
Michael Jerris
14608093b1
add new macros and approach to module loader.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5337 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-13 14:35:55 +00:00
Anthony Minessale
f32a3a42f5
fix unload
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5213 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-24 15:30:31 +00:00
Anthony Minessale
b40952a077
fix for FSCORE-27 @8000k and @8000h both count as rate qualifiers advertising h going forward
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5204 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-20 00:38:25 +00:00
Michael Jerris
a4ff7e88da
adding const qualifiers across the api as appropriate.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5165 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-12 14:48:14 +00:00
Michael Jerris
606b469551
declaration after code.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5082 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-04 00:14:12 +00:00
Anthony Minessale
1be5b1ff45
general improvements
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5078 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-03 16:28:23 +00:00
Anthony Minessale
5a8bb14259
update msg txt
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5039 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-29 03:21:56 +00:00
Anthony Minessale
c15d7892c0
indent again
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4799 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-30 00:15:25 +00:00
Anthony Minessale
debdfb1aab
indent
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4798 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-30 00:13:31 +00:00
Anthony Minessale
3a54126261
spring cleaning
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4795 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-29 22:31:56 +00:00
Michael Jerris
25a5bd6113
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4681 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-20 16:43:39 +00:00
Anthony Minessale
d4f6fb8e8c
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4632 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-17 19:51:08 +00:00
Michael Jerris
42e78242a3
add wrapper code to fully encapsulate apr, apr-utils, pcre, and sqlite. fully use switch_ namespace in modules, create our own format and type defines. follow up commit for unix autotools coming soon after this. PLEASE NOTE: you will NEED to do a make megaclean and run configure again after this update (and the following commit) or it will not build.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4494 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-09 20:44:13 +00:00
Anthony Minessale
5131ee1cae
add management interface and some rtp goodies
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4464 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-07 18:34:22 +00:00
Brian West
4353c5efa4
update comments
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4444 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-04 01:52:52 +00:00
Anthony Minessale
ed76b25241
cleanup
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4419 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-01 17:23:02 +00:00
Michael Jerris
529e82bdc5
add more checking on valid module interface/implementation structs. Don't push null descriptions, syntax, ect into the events (and eventually into the db). More properly handle const qualifers. Push blank instead to avoid a printf of null. Breaking change (although not to any in tree codecs) is if you have any implementations with a blank iananame, the entire codec interface will no longer load.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4373 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-23 19:15:43 +00:00
Michael Jerris
562471068e
Don't load module interfaces without a name. We use that name for reference in the hash, it is required.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4372 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-23 18:24:31 +00:00
Michael Jerris
0c34702513
fix warnings on weird L value casts for function pointers.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4246 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 22:15:24 +00:00
Michael Jerris
07d6f12018
use "%s" format specifier for uses of switch_event_add_header that just pass a string to avoid potential issues/exploits"
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4226 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 04:43:49 +00:00
Michael Jerris
f359f847f7
fix magic emacs and vi formatting comments in the bottom of our source files to use tabs instead of spaces
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4176 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-09 02:36:03 +00:00
Michael Jerris
74c5c120af
fix typo
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4131 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-06 06:07:23 +00:00
Anthony Minessale
9821a5237a
more tweaks
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4084 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-29 18:31:35 +00:00
Anthony Minessale
db70ef2a37
codec tweaks (do a make sure)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4077 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-29 15:43:41 +00:00
Anthony Minessale
b7dbea6407
add pelim say stuff, module framework, xml parser, dialplan app, and add new channel var called sound_prefix for audio files
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3766 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-20 21:25:14 +00:00
Brian West
5cad11b9c4
make it more obvious
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3700 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-18 20:08:45 +00:00
Anthony Minessale
44cc7d5cfe
build progress break everything
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3682 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-17 01:01:09 +00:00
Anthony Minessale
5969fe801b
prevent double load of modules
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3506 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-01 16:08:56 +00:00
Michael Jerris
44649c70b4
Add magic comments for emacs and vi in source and header files to properly format and display tabs vs. spaces in those editors:
...
/* For Emacs:
* Local Variables:
* mode:c
* indent-tabs-mode:nil
* tab-width:4
* c-basic-offset:4
* End:
* For VIM:
* vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab:
*/
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3462 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-27 22:30:48 +00:00
Anthony Minessale
44fc26f7d4
Finalization of speech detect interface and API
...
This changes the core to have the necessary tools to create
a speech detection interface.
It also changes the code in javascript (mod_spidermonkey)
there are a few api changes in how it handles callbacks
It also adds grammars as a system dir to store asr grammars
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3291 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-09 05:39:04 +00:00
Anthony Minessale
99e22d69bd
refactor earlier junk from this eve and add ken's propagate variable thing
...
set this sometime before an origination (bridge etc).
<action application="set" data="propagate_vars=my_cool_var1,my_cool_var2,foo,bar"/>
and they should be cloned over to the new channel when it's substantiated
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3101 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-19 07:13:34 +00:00
Michael Jerris
3667da49b6
add description and syntax to interface database, add description and syntax headers to events for interface add for api and application interface, add appropriate output to show and help commands.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3003 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-08 08:35:27 +00:00
Michael Jerris
564e791d63
type tweak
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2915 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-01 21:21:41 +00:00
Michael Jerris
4f0aae4dba
fix message khz->hz
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2537 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-06 23:29:03 +00:00
Anthony Minessale
4395e55493
typo
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2185 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-27 15:45:19 +00:00
Anthony Minessale
c4d890e0a4
Modify XML Dialplan
...
BTW, forget what I said yesterday RE: the strftime app I was at McDonalds, how can I concentrate there eh?
see below....
The Definitive Guide To XML Dialplan:
The "dialplan" section of the freeswitch.xml meta document may contain several contexts
<?xml version="1.0"?>
<document type="freeswitch/xml">
<section name="dialplan" description="Regex/XML Dialplan">
<!-- the default context is a safe start -->
<context name="default">
<!-- one or more extension tags -->
</context>
<!-- more optional contexts -->
</section>
</document>
The important thing to remember is that the dialplan is parsed once when the call
hits the dialplan parser in the RING state. With one pass across the XML the result
will be a complete list of instructions installed into the channel based on
parsed <action> or <anti-action> tags.
Those accustomed to Asterisk may expect the call to follow the dialplan by executing the
applications as it parses them allowing data obtained from one action to influence the next action.
This not the case with the exception being the %{api func} {api arg} field type where an pluggable api call from
a module may be executed as the parsing occurs but this is meant to be used to draw realtime info such as
date and time or other quickly accessible information and shold *not* be abused.
The anatomy of an <extension> tag.
Legend:
Text wrapped in [] indicates optional and is not part of the actual code.
a '|' inside [] indicates mutiple possible values and also is not part of the code.
Text wrapped in {} indicates it's a description of the parameter in place of the param itself.
<extension name="{exten_name}" [continue="[true|false]"]>
continue=true means even if an extension executes to continue
parsing the next extension too
The {exten_name} above may anything but if it's
an exact match with the destination number the parser will leap to this extension
to begin the searching that does not mean it will execute the extension.
Searching will either begin at the first extension in the context or at the point
the the parser has jumped to in the case described above.
Each condition is parsed in turn first taking the 'field' param.
The parser will apply the perl regular expression to each 'field' param encountered.
If the expression matches, it will parse each existing <action> tag in turn and add
the data from the <application> tags to the channels todo list.
If a matched expression contains any data wrapped in () the variables
$1,$2..$N will be valid and expanded in any of 'data' params from the subsequent action tags.
If the expression does NOT match, it will parse each <anti-action> tag in turn and add
the data from the <application> tags to the channels todo list.
*NOTE* since there was no match the () feature is not availabe in anti-actions
The 'break' param indicates how to behave in relation to matching:
*) 'on-true' - stop searching conditions after the first successful match.
*) 'on-false' - stop searching after the first unsuccessful match.
*) 'always' - stop at this conditon regardless of a match or non-match.
*) 'never' - continue searching regardless of a match or non-match.
<condition field="[{field name}|${variable name}|%{api func} {api arg}]" expression="{expression}" break="[on-true|on-false|always|never]">
<action application="{app name}" data="{app arg}"/>
<anti-action application="{app name}" data="{app arg}"/>
</condition>
<!-- any number of condition tags may follow where the same rules apply -->
</extension>
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2167 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-26 20:12:49 +00:00
Anthony Minessale
4aab8842cd
tweaks for wideband tests
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1883 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-14 19:42:09 +00:00
Michael Jerris
03ac8289e8
fix windows build
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1833 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-11 20:59:07 +00:00
Anthony Minessale
2838ad4a9b
restructure codec code
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1818 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-10 22:08:02 +00:00
Anthony Minessale
3ba26db705
move iana codes to the implementations.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1666 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-06-23 20:14:29 +00:00
Anthony Minessale
21c2b5812e
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1476 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-17 00:58:21 +00:00
Anthony Minessale
295424544d
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1425 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-10 19:07:38 +00:00
Anthony Minessale
f09491a69b
XMLification (wave 4)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1412 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-10 15:47:54 +00:00
Anthony Minessale
93666f6dd7
XMLification (wave 1)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1401 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-10 03:23:05 +00:00
Michael Jerris
dc8cb51400
fix types for msvc
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1348 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-04 16:01:38 +00:00
Anthony Minessale
51b19e6fa6
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1328 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-03 17:15:17 +00:00