Quick Search:

Line History

line history graph

Show Arbitrary Diff

From to

Supports revisions and tags.

History

root: 10464 52

latest revision download Branch root:

10464 annotated / raw | Diffs: previous, other | Lines: 1633 ( +10, -9 )

Created: 2008-11-19 14:22:20 -0500 (14 hours ago) | Author: anthm | Changeset: 10464

clean up some ref counting for interfaces

10412 annotated / raw | Diffs: previous, other | Lines: 1632 ( +7, -1 )

Created: 2008-11-14 19:32:58 -0500 (5 days ago) | Author: mikej | Changeset: 10412

clean up error message handling in module loader process.

10390 annotated / raw | Diffs: previous, other | Lines: 1626 ( +3, -0 )

Created: 2008-11-13 18:07:03 -0500 (6 days ago) | Author: anthm | Changeset: 10390

fix codec issue

10367 annotated / raw | Diffs: previous, other | Lines: 1623 ( +4, -4 )

Created: 2008-11-12 15:45:18 -0500 (7 days ago) | Author: brian | Changeset: 10367

SYSTEM_SHUTDOWN to MANAGER_REQUEST since its not really a shutdown in these scenarios

10363 annotated / raw | Diffs: previous, other | Lines: 1623 ( +83, -43 )

Created: 2008-11-12 14:28:05 -0500 (7 days ago) | Author: anthm | Changeset: 10363

look out below....(make current)

10362 annotated / raw | Diffs: previous, other | Lines: 1583 ( +36, -8 )

Created: 2008-11-12 12:10:20 -0500 (7 days ago) | Author: anthm | Changeset: 10362

add rwlocks to module parents

10306 annotated / raw | Diffs: previous, other | Lines: 1555 ( +19, -4 )

Created: 2008-11-08 06:21:54 -0500 (11 days ago) | Author: mikej | Changeset: 10306

(LBAPR-1) load mod_lua with global symbols space so that sub modules are able to link to it properly.  Broken in svn r9605.

10272 annotated / raw | Diffs: previous, other | Lines: 1540 ( +39, -32 )

Created: 2008-11-06 12:29:50 -0500 (13 days ago) | Author: mikej | Changeset: 10272

add our own module load code (LBAPR-1)

10244 annotated / raw | Diffs: previous, other | Lines: 1533 ( +12, -12 )

Created: 2008-11-04 19:20:30 -0500 (15 days ago) | Author: anthm | Changeset: 10244

update

10084 annotated / raw | Diffs: previous, other | Lines: 1533 ( +6, -6 )

Created: 2008-10-20 13:48:42 -0400 (30 days ago) | Author: anthm | Changeset: 10084

clean some old members and naming conventions in the codec structs

9993 annotated / raw | Diffs: previous, other | Lines: 1533 ( +2, -2 )

Created: 2008-10-13 02:42:50 -0400 (38 days ago) | Author: mikej | Changeset: 9993

fix autoload of modules.

9939 annotated / raw | Diffs: previous, other | Lines: 1533 ( +1, -1 )

Created: 2008-10-10 14:42:29 -0400 (40 days ago) | Author: mikej | Changeset: 9939

misplaced ( )

9490 annotated / raw | Diffs: previous, other | Lines: 1533 ( +18, -8 )

Created: 2008-09-09 11:25:31 -0400 (2 months 10 days ago) | Author: anthm | Changeset: 9490

still try to graceful shutdown in dire cirumstances

9361 annotated / raw | Diffs: previous, other | Lines: 1523 ( +2, -0 )

Created: 2008-08-23 21:52:27 -0400 (2 months 27 days ago) | Author: anthm | Changeset: 9361

tweak

9355 annotated / raw | Diffs: previous, other | Lines: 1521 ( +3, -2 )

Created: 2008-08-22 15:00:56 -0400 (2 months 28 days ago) | Author: anthm | Changeset: 9355

update

9353 annotated / raw | Diffs: previous, other | Lines: 1520 ( +33, -19 )

Created: 2008-08-22 13:57:15 -0400 (2 months 28 days ago) | Author: anthm | Changeset: 9353

improve unload stuff

9308 annotated / raw | Diffs: previous, other | Lines: 1506 ( +60, -60 )

Created: 2008-08-15 22:17:09 -0400 (3 months 4 days ago) | Author: stkn | Changeset: 9308

Use switch_event_add_header_string() instead of switch_event_add_header(... "%s", ..), core part

9134 annotated / raw | Diffs: previous, other | Lines: 1506 ( +5, -0 )

Created: 2008-07-22 13:19:26 -0400 (3 months 28 days ago) | Author: anthm | Changeset: 9134

add some more stuff to sho

9125 annotated / raw | Diffs: previous, other | Lines: 1501 ( +2, -0 )

Created: 2008-07-21 13:33:46 -0400 (3 months 29 days ago) | Author: anthm | Changeset: 9125

doh

8984 annotated / raw | Diffs: previous, other | Lines: 1499 ( +17, -0 )

Created: 2008-07-10 10:41:31 -0400 (4 months 10 days ago) | Author: brian | Changeset: 8984

add module_exists api call

8894 annotated / raw | Diffs: previous, other | Lines: 1482 ( +1, -1 )

Created: 2008-07-03 15:12:26 -0400 (4 months 17 days ago) | Author: mikej | Changeset: 8894

vim extendtab is bad

8880 annotated / raw | Diffs: previous, other | Lines: 1482 ( +21, -2 )

Created: 2008-07-01 19:41:09 -0400 (4 months 19 days ago) | Author: anthm | Changeset: 8880

add some write locks to the core and a function to unregister event bindings

8807 annotated / raw | Diffs: previous, other | Lines: 1463 ( +1, -1 )

Created: 2008-06-17 18:09:59 -0400 (5 months 2 days ago) | Author: brian | Changeset: 8807

tweak

8686 annotated / raw | Diffs: previous, other | Lines: 1463 ( +36, -35 )

Created: 2008-05-27 00:30:03 -0400 (5 months 24 days ago) | Author: anthm | Changeset: 8686

indent pass 1

8581 annotated / raw | Diffs: previous, other | Lines: 1462 ( +4, -1 )

Created: 2008-05-24 01:09:50 -0400 (5 months 27 days ago) | Author: anthm | Changeset: 8581

update

8579 annotated / raw | Diffs: previous, other | Lines: 1459 ( +7, -7 )

Created: 2008-05-23 23:46:19 -0400 (5 months 27 days ago) | Author: anthm | Changeset: 8579

name change

8514 annotated / raw | Diffs: previous, other | Lines: 1459 ( +9, -4 )

Created: 2008-05-21 18:26:30 -0400 (5 months 29 days ago) | Author: stkn | Changeset: 8514

Add safety check for codec implementations with bytes_per_frames being larger than the recommended buffer size (Klocwork #1039)

8439 annotated / raw | Diffs: previous, other | Lines: 1454 ( +1, -1 )

Created: 2008-05-16 12:15:37 -0400 (6 months ago) | Author: mikej | Changeset: 8439

don't pass null to switch_loadable_module_get_api_interface. Found by Klockwork (www.klocwork.com)

8267 annotated / raw | Diffs: previous, other | Lines: 1454 ( +14, -10 )

Created: 2008-05-05 20:02:37 -0400 (6 months ago) | Author: anthm | Changeset: 8267

fix vid issue

7974 annotated / raw | Diffs: previous, other | Lines: 1450 ( +1, -2 )

Created: 2008-03-27 18:46:47 -0400 (7 months ago) | Author: anthm | Changeset: 7974

tweak

7972 annotated / raw | Diffs: previous, other | Lines: 1451 ( +1, -1 )

Created: 2008-03-27 16:36:03 -0400 (7 months ago) | Author: anthm | Changeset: 7972

update

7708 annotated / raw | Diffs: previous, other | Lines: 1451 ( +2, -2 )

Created: 2008-02-20 12:11:37 -0500 (8 months ago) | Author: anthm | Changeset: 7708

change naming convention of internal mods

7670 annotated / raw | Diffs: previous, other | Lines: 1451 ( +1, -0 )

Created: 2008-02-18 14:43:57 -0500 (9 months ago) | Author: anthm | Changeset: 7670

move L16 and g711 into the core

7500 annotated / raw | Diffs: previous, other | Lines: 1450 ( +1, -1 )

Created: 2008-02-03 17:14:57 -0500 (9 months ago) | Author: brian | Changeset: 7500

set tab mode properly

7396 annotated / raw | Diffs: previous, other | Lines: 1450 ( +1, -1 )

Created: 2008-01-27 15:01:02 -0500 (9 months ago) | Author: brian | Changeset: 7396

cleanup and consistency.. blah rain @ PHX fun

7394 annotated / raw | Diffs: previous, other | Lines: 1450 ( +1, -0 )

Created: 2008-01-27 12:42:51 -0500 (9 months ago) | Author: brian | Changeset: 7394

more cleanup before I leave LAX

7121 annotated / raw | Diffs: previous, other | Lines: 1449 ( +2, -2 )

Created: 2008-01-07 06:21:24 -0500 (10 months ago) | Author: stkn | Changeset: 7121

Spelling fixes #3

7027 annotated / raw | Diffs: previous, other | Lines: 1449 ( +3, -3 )

Created: 2007-12-29 19:22:51 -0500 (10 months ago) | Author: mikej | Changeset: 7027

don't strstr on null/blank strings.

6794 annotated / raw | Diffs: previous, other | Lines: 1449 ( +24, -24 )

Created: 2007-12-14 13:00:58 -0500 (11 months ago) | Author: mikej | Changeset: 6794

pass format string too

6707 annotated / raw | Diffs: previous, other | Lines: 1449 ( +1, -1 )

Created: 2007-12-12 16:53:32 -0500 (11 months ago) | Author: mikej | Changeset: 6707

use switch_snprintf instead of snprintf becuase in insures null termination of strings.

6673 annotated / raw | Diffs: previous, other | Lines: 1449 ( +0, -1 )

Created: 2007-12-11 16:31:57 -0500 (11 months ago) | Author: mikej | Changeset: 6673

cleanup, null checks. etc.

6661 annotated / raw | Diffs: previous, other | Lines: 1450 ( +9, -9 )

Created: 2007-12-11 14:23:57 -0500 (11 months ago) | Author: mikej | Changeset: 6661

use switch_assert macro

6546 annotated / raw | Diffs: previous, other | Lines: 1450 ( +1, -1 )

Created: 2007-12-06 15:03:27 -0500 (11 months ago) | Author: anthm | Changeset: 6546

fix file_path issues

6300 annotated / raw | Diffs: previous, other | Lines: 1450 ( +14, -14 )

Created: 2007-11-16 00:47:00 -0500 (12 months ago) | Author: mikej | Changeset: 6300

silence some sun-cc build errors.

5992 annotated / raw | Diffs: previous, other | Lines: 1450 ( +2, -2 )

Created: 2007-10-19 11:31:02 -0400 (13 months ago) | Author: anthm | Changeset: 5992

update

5864 annotated / raw | Diffs: previous, other | Lines: 1450 ( +1, -1 )

Created: 2007-10-12 19:53:32 -0400 (13 months ago) | Author: brian | Changeset: 5864

temp tweak pending build system change

5859 annotated / raw | Diffs: previous, other | Lines: 1450 ( +1, -1 )

Created: 2007-10-12 18:56:15 -0400 (13 months ago) | Author: brian | Changeset: 5859

add MAC OS X

5858 annotated / raw | Diffs: previous, other | Lines: 1450 ( +6, -0 )

Created: 2007-10-12 18:54:18 -0400 (13 months ago) | Author: mikej | Changeset: 5858

fix loading on windows

5784 annotated / raw | Diffs: previous, other | Lines: 1444 ( +19, -9 )

Created: 2007-10-03 12:44:11 -0400 (13 months ago) | Author: anthm | Changeset: 5784

add softtimer to the core, begin framework for static modules and reduces calls to gettimeofday for timestamps

5765 annotated / raw | Diffs: previous, other | Lines: 1434 ( +33, -24 )

Created: 2007-09-28 21:06:08 -0400 (13 months ago) | Author: anthm | Changeset: 5765

tear the hell out of everything and rip it up into itsy bitsy pieces and put it all back together

5751 annotated / raw | Diffs: previous, other | Lines: 1425 ( +4, -4 )

Created: 2007-09-24 15:34:25 -0400 (13 months ago) | Author: anthm | Changeset: 5751

fix some races and alter core (do a full rebuild)

5738 annotated / raw | Diffs: previous, other | Lines: 1425 ( +0, -0 )

Created: 2007-09-21 14:49:14 -0400 (13 months ago) | Author: mikej | Changeset: 5738

svn:eol-style properties, and make eol-style consistent in some files.

5639 annotated / raw | Diffs: previous, other | Lines: 1425 ( +2, -1 )

Created: 2007-08-20 17:25:06 -0400 (15 months ago) | Author: anthm | Changeset: 5639

tweak

5573 annotated / raw | Diffs: previous, other | Lines: 1424 ( +0, -2 )

Created: 2007-08-06 14:10:30 -0400 (15 months ago) | Author: mikej | Changeset: 5573

use .so not .dylib for modules on OS-X, fix for MODENDP-16

5483 annotated / raw | Diffs: previous, other | Lines: 1426 ( +4, -1 )

Created: 2007-06-28 10:47:58 -0400 (16 months ago) | Author: anthm | Changeset: 5483

update

5348 annotated / raw | Diffs: previous, other | Lines: 1423 ( +2, -2 )

Created: 2007-06-13 16:49:45 -0400 (17 months ago) | Author: mikej | Changeset: 5348

fix windows build.

5347 annotated / raw | Diffs: previous, other | Lines: 1423 ( +85, -7 )

Created: 2007-06-13 16:40:06 -0400 (17 months ago) | Author: anthm | Changeset: 5347

stage 1 of wrecking ball (duck!)

5340 annotated / raw | Diffs: previous, other | Lines: 1345 ( +1, -1 )

Created: 2007-06-13 10:48:13 -0400 (17 months ago) | Author: mikej | Changeset: 5340

cleanup error message.

5339 annotated / raw | Diffs: previous, other | Lines: 1345 ( +2, -2 )

Created: 2007-06-13 10:45:04 -0400 (17 months ago) | Author: mikej | Changeset: 5339

silly const stuff

5338 annotated / raw | Diffs: previous, other | Lines: 1345 ( +4, -2 )

Created: 2007-06-13 10:41:49 -0400 (17 months ago) | Author: mikej | Changeset: 5338

silly type stuff

5337 annotated / raw | Diffs: previous, other | Lines: 1343 ( +39, -56 )

Created: 2007-06-13 10:35:55 -0400 (17 months ago) | Author: mikej | Changeset: 5337

add new macros and approach to module loader.

5213 annotated / raw | Diffs: previous, other | Lines: 1360 ( +3, -11 )

Created: 2007-05-24 11:30:31 -0400 (17 months ago) | Author: anthm | Changeset: 5213

fix unload

5204 annotated / raw | Diffs: previous, other | Lines: 1368 ( +1, -1 )

Created: 2007-05-19 20:38:25 -0400 (18 months ago) | Author: anthm | Changeset: 5204

fix for FSCORE-27 @8000k and @8000h both count as rate qualifiers advertising h going forward

5165 annotated / raw | Diffs: previous, other | Lines: 1368 ( +14, -14 )

Created: 2007-05-12 10:48:14 -0400 (18 months ago) | Author: mikej | Changeset: 5165

adding const qualifiers across the api as appropriate.

5082 annotated / raw | Diffs: previous, other | Lines: 1368 ( +1, -1 )

Created: 2007-05-03 20:14:12 -0400 (18 months ago) | Author: mikej | Changeset: 5082

declaration after code.

5078 annotated / raw | Diffs: previous, other | Lines: 1368 ( +433, -47 )

Created: 2007-05-03 12:28:23 -0400 (18 months ago) | Author: anthm | Changeset: 5078

general improvements

5039 annotated / raw | Diffs: previous, other | Lines: 982 ( +1, -2 )

Created: 2007-04-28 23:21:56 -0400 (18 months ago) | Author: anthm | Changeset: 5039

update msg txt

4799 annotated / raw | Diffs: previous, other | Lines: 983 ( +1, -1 )

Created: 2007-03-29 20:15:25 -0400 (19 months ago) | Author: anthm | Changeset: 4799

indent again

4798 annotated / raw | Diffs: previous, other | Lines: 983 ( +41, -82 )

Created: 2007-03-29 20:13:31 -0400 (19 months ago) | Author: anthm | Changeset: 4798

indent

4795 annotated / raw | Diffs: previous, other | Lines: 1024 ( +199, -163 )

Created: 2007-03-29 18:31:56 -0400 (19 months ago) | Author: anthm | Changeset: 4795

spring cleaning

4681 annotated / raw | Diffs: previous, other | Lines: 988 ( +1, -1 )

Created: 2007-03-20 12:43:39 -0400 (20 months ago) | Author: mikej | Changeset: 4681

update

4632 annotated / raw | Diffs: previous, other | Lines: 988 ( +41, -18 )

Created: 2007-03-17 15:51:08 -0400 (20 months ago) | Author: anthm | Changeset: 4632

update

4494 annotated / raw | Diffs: previous, other | Lines: 965 ( +19, -11 )

Created: 2007-03-09 15:44:13 -0500 (20 months ago) | Author: mikej | Changeset: 4494

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.

4464 annotated / raw | Diffs: previous, other | Lines: 957 ( +25, -0 )

Created: 2007-03-07 13:34:22 -0500 (20 months ago) | Author: anthm | Changeset: 4464

add management interface and some rtp goodies

4444 annotated / raw | Diffs: previous, other | Lines: 932 ( +1, -1 )

Created: 2007-03-03 20:52:52 -0500 (20 months ago) | Author: brian | Changeset: 4444

update comments

4419 annotated / raw | Diffs: previous, other | Lines: 932 ( +1, -1 )

Created: 2007-03-01 12:23:02 -0500 (20 months ago) | Author: anthm | Changeset: 4419

cleanup

4373 annotated / raw | Diffs: previous, other | Lines: 932 ( +37, -28 )

Created: 2007-02-23 14:15:43 -0500 (20 months ago) | Author: mikej | Changeset: 4373

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.

4372 annotated / raw | Diffs: previous, other | Lines: 923 ( +133, -85 )

Created: 2007-02-23 13:24:31 -0500 (20 months ago) | Author: mikej | Changeset: 4372

Don't load module interfaces without a name.  We use that name for reference in the hash, it is required.

4246 annotated / raw | Diffs: previous, other | Lines: 875 ( +9, -3 )

Created: 2007-02-13 17:15:24 -0500 (21 months ago) | Author: mikej | Changeset: 4246

fix warnings on weird L value casts for function pointers.

4226 annotated / raw | Diffs: previous, other | Lines: 869 ( +2, -2 )

Created: 2007-02-12 23:43:49 -0500 (21 months ago) | Author: mikej | Changeset: 4226

use "%s" format specifier for uses of switch_event_add_header that just pass a string to avoid potential issues/exploits"

4176 annotated / raw | Diffs: previous, other | Lines: 869 ( +1, -1 )

Created: 2007-02-08 21:36:03 -0500 (21 months ago) | Author: mikej | Changeset: 4176

fix magic emacs and vi formatting comments in the bottom of our source files to use tabs instead of spaces

4131 annotated / raw | Diffs: previous, other | Lines: 869 ( +1, -1 )

Created: 2007-02-06 01:07:23 -0500 (21 months ago) | Author: mikej | Changeset: 4131

fix typo

4084 annotated / raw | Diffs: previous, other | Lines: 869 ( +12, -0 )

Created: 2007-01-29 13:31:35 -0500 (21 months ago) | Author: anthm | Changeset: 4084

more tweaks

4077 annotated / raw | Diffs: previous, other | Lines: 857 ( +25, -0 )

Created: 2007-01-29 10:43:41 -0500 (21 months ago) | Author: anthm | Changeset: 4077

codec tweaks (do a make sure)

3766 annotated / raw | Diffs: previous, other | Lines: 832 ( +21, -0 )

Created: 2006-12-20 16:25:14 -0500 (22 months ago) | Author: anthm | Changeset: 3766

add pelim say stuff, module framework, xml parser, dialplan app, and add new channel var called sound_prefix for audio files

3700 annotated / raw | Diffs: previous, other | Lines: 811 ( +1, -1 )

Created: 2006-12-18 15:08:45 -0500 (23 months ago) | Author: brian | Changeset: 3700

make it more obvious

3682 annotated / raw | Diffs: previous, other | Lines: 811 ( +3, -10 )

Created: 2006-12-16 20:01:09 -0500 (23 months ago) | Author: anthm | Changeset: 3682

build progress break everything

3506 annotated / raw | Diffs: previous, other | Lines: 818 ( +6, -1 )

Created: 2006-12-01 11:08:56 -0500 (23 months ago) | Author: anthm | Changeset: 3506

prevent double load of modules

3462 annotated / raw | Diffs: previous, other | Lines: 813 ( +11, -0 )

Created: 2006-11-27 17:30:48 -0500 (23 months ago) | Author: mikej | Changeset: 3462

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:
*/

3291 annotated / raw | Diffs: previous, other | Lines: 802 ( +31, -4 )

Created: 2006-11-09 00:39:04 -0500 (2 years ago) | Author: anthm | Changeset: 3291

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


3101 annotated / raw | Diffs: previous, other | Lines: 775 ( +21, -0 )

Created: 2006-10-19 03:13:34 -0400 (2 years 1 month ago) | Author: anthm | Changeset: 3101

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

3003 annotated / raw | Diffs: previous, other | Lines: 754 ( +4, -0 )

Created: 2006-10-08 04:35:27 -0400 (2 years 1 month ago) | Author: mikej | Changeset: 3003

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.

2915 annotated / raw | Diffs: previous, other | Lines: 750 ( +2, -2 )

Created: 2006-10-01 17:21:41 -0400 (2 years 1 month ago) | Author: mikej | Changeset: 2915

type tweak

2537 annotated / raw | Diffs: previous, other | Lines: 750 ( +1, -1 )

Created: 2006-09-06 19:29:03 -0400 (2 years 2 months ago) | Author: mikej | Changeset: 2537

fix message khz->hz

2185 annotated / raw | Diffs: previous, other | Lines: 750 ( +5, -5 )

Created: 2006-07-27 11:45:19 -0400 (2 years 3 months ago) | Author: anthm | Changeset: 2185

typo

2167 annotated / raw | Diffs: previous, other | Lines: 750 ( +2, -2 )

Created: 2006-07-26 16:12:49 -0400 (2 years 3 months ago) | Author: anthm | Changeset: 2167

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>


1883 annotated / raw | Diffs: previous, other | Lines: 750 ( +32, -17 )

Created: 2006-07-14 15:42:09 -0400 (2 years 4 months ago) | Author: anthm | Changeset: 1883

tweaks for wideband tests

1833 annotated / raw | Diffs: previous, other | Lines: 735 ( +2, -2 )

Created: 2006-07-11 16:59:07 -0400 (2 years 4 months ago) | Author: mikej | Changeset: 1833

fix windows build

1818 annotated / raw | Diffs: previous, other | Lines: 735 ( +36, -10 )

Created: 2006-07-10 18:08:02 -0400 (2 years 4 months ago) | Author: anthm | Changeset: 1818

restructure codec code

1666 annotated / raw | Diffs: previous, other | Lines: 709 ( +5, -2 )

Created: 2006-06-23 16:14:29 -0400 (2 years 4 months ago) | Author: anthm | Changeset: 1666

move iana codes to the implementations.

1476 annotated / raw | Diffs: previous, other | Lines: 706 ( +2, -2 )

Created: 2006-05-16 20:58:21 -0400 (2 years 6 months ago) | Author: anthm | Changeset: 1476

update

1425 annotated / raw | Diffs: previous, other | Lines: 706 ( +15, -10 )

Created: 2006-05-10 15:07:38 -0400 (2 years 6 months ago) | Author: anthm | Changeset: 1425

update

1412 annotated / raw | Diffs: previous, other | Lines: 701 ( +11, -6 )

Created: 2006-05-10 11:47:54 -0400 (2 years 6 months ago) | Author: anthm | Changeset: 1412

XMLification (wave 4)

1401 annotated / raw | Diffs: previous, other | Lines: 696 ( +38, -29 )

Created: 2006-05-09 23:23:05 -0400 (2 years 6 months ago) | Author: anthm | Changeset: 1401

XMLification (wave 1)

1348 annotated / raw | Diffs: previous, other | Lines: 687 ( +4, -4 )

Created: 2006-05-04 12:01:38 -0400 (2 years 6 months ago) | Author: mikej | Changeset: 1348

fix types for msvc

1328 annotated / raw | Diffs: previous, other | Lines: 687 ( +13, -5 )

Created: 2006-05-03 13:15:17 -0400 (2 years 6 months ago) | Author: anthm | Changeset: 1328

update

1326 annotated / raw | Diffs: previous, other | Lines: 679 ( +9, -2 )

Created: 2006-05-03 12:55:30 -0400 (2 years 6 months ago) | Author: anthm | Changeset: 1326

commit

1313 annotated / raw | Diffs: previous, other | Lines: 672 ( +41, -2 )

Created: 2006-05-01 15:44:21 -0400 (2 years 6 months ago) | Author: mikej | Changeset: 1313

add interfaces to sqlite db table for quick show api commands (coming soon)

1305 annotated / raw | Diffs: previous, other | Lines: 633 ( +32, -32 )

Created: 2006-04-30 14:24:24 -0400 (2 years 6 months ago) | Author: mikej | Changeset: 1305

C++ says we can't use "interface" as a variable name.

1300 annotated / raw | Diffs: previous, other | Lines: 633 ( +34, -34 )

Created: 2006-04-29 19:43:28 -0400 (2 years 6 months ago) | Author: mikej | Changeset: 1300

part 3 of 3 standardizing typedefed types to end in _t.

1294 annotated / raw | Diffs: previous, other | Lines: 633 ( +14, -14 )

Created: 2006-04-29 02:05:03 -0400 (2 years 6 months ago) | Author: mikej | Changeset: 1294

part 2 of many standardizing typedefed types to end in _t

1292 annotated / raw | Diffs: previous, other | Lines: 633 ( +15, -15 )

Created: 2006-04-28 21:00:52 -0400 (2 years 6 months ago) | Author: mikej | Changeset: 1292

part 1 of many standardizing typedefed types to end in _t

1246 annotated / raw | Diffs: previous, other | Lines: 633 ( +4, -4 )

Created: 2006-04-25 00:09:34 -0400 (2 years 6 months ago) | Author: mikej | Changeset: 1246

code before declaration.

1244 annotated / raw | Diffs: previous, other | Lines: 633 ( +171, -128 )

Created: 2006-04-24 20:33:00 -0400 (2 years 6 months ago) | Author: anthm | Changeset: 1244

tweak loadable module code to allow registration for langauges that can in turn fully implement modules of thier own (e.g. mono)

1209 annotated / raw | Diffs: previous, other | Lines: 590 ( +9, -8 )

Created: 2006-04-19 20:58:06 -0400 (2 years 7 months ago) | Author: anthm | Changeset: 1209

add load command

1173 annotated / raw | Diffs: previous, other | Lines: 589 ( +9, -9 )

Created: 2006-04-16 02:05:53 -0400 (2 years 7 months ago) | Author: mikej | Changeset: 1173

Set log levels on many existing log messages.  A huge thanks to James Martelletti for going through all the log calls to do this.

1117 annotated / raw | Diffs: previous, other | Lines: 589 ( +21, -21 )

Created: 2006-04-11 17:13:44 -0400 (2 years 7 months ago) | Author: brian | Changeset: 1117

Gut Logger and put it back modular style

992 annotated / raw | Diffs: previous, other | Lines: 589 ( +1, -1 )

Created: 2006-03-31 11:10:00 -0500 (2 years 7 months ago) | Author: mikej | Changeset: 992

tweak to repair some damage from icc tweaks

982 annotated / raw | Diffs: previous, other | Lines: 589 ( +43, -25 )

Created: 2006-03-30 18:02:50 -0500 (2 years 7 months ago) | Author: anthm | Changeset: 982

icc changes part 1

960 annotated / raw | Diffs: previous, other | Lines: 571 ( +0, -1 )

Created: 2006-03-29 14:11:20 -0500 (2 years 7 months ago) | Author: anthm | Changeset: 960

optimize

809 annotated / raw | Diffs: previous, other | Lines: 572 ( +2, -2 )

Created: 2006-03-08 12:12:41 -0500 (2 years 8 months ago) | Author: brian | Changeset: 809

Fix newline char.

765 annotated / raw | Diffs: previous, other | Lines: 572 ( +9, -9 )

Created: 2006-03-06 15:35:23 -0500 (2 years 8 months ago) | Author: mikej | Changeset: 765

build mod_perl and fs_perl correctly on windows.

759 annotated / raw | Diffs: previous, other | Lines: 572 ( +23, -1 )

Created: 2006-03-05 22:23:34 -0500 (2 years 8 months ago) | Author: mikej | Changeset: 759

add perl dir to the path at runtime on windows.

753 annotated / raw | Diffs: previous, other | Lines: 550 ( +7, -2 )

Created: 2006-03-05 18:44:04 -0500 (2 years 8 months ago) | Author: anthm | Changeset: 753

ok this is just being picky but on darwin and mac we really should call it .dylib instead of .so but this also gave me a chance to get better with the build system.  /b

739 annotated / raw | Diffs: previous, other | Lines: 545 ( +2, -2 )

Created: 2006-03-03 03:26:00 -0500 (2 years 8 months ago) | Author: mikej | Changeset: 739

use directory separator #define instead of hard-coded /

702 annotated / raw | Diffs: previous, other | Lines: 545 ( +4, -11 )

Created: 2006-02-28 16:21:48 -0500 (2 years 8 months ago) | Author: anthm | Changeset: 702

general haphazzard rearrangement

668 annotated / raw | Diffs: previous, other | Lines: 552 ( +1, -0 )

Created: 2006-02-24 16:59:13 -0500 (2 years 8 months ago) | Author: anthm | Changeset: 668

fix nice fresh config bug

655 annotated / raw | Diffs: previous, other | Lines: 551 ( +2, -14 )

Created: 2006-02-22 17:36:52 -0500 (2 years 8 months ago) | Author: mikej | Changeset: 655

get rid of unnecessary pragmas.

644 annotated / raw | Diffs: previous, other | Lines: 563 ( +14, -9 )

Created: 2006-02-21 13:34:32 -0500 (2 years 8 months ago) | Author: anthm | Changeset: 644

fix evil pragmas in unix and get rid of horrible ^M in the files (dont do that)

642 annotated / raw | Diffs: previous, other | Lines: 558 ( +6, -0 )

Created: 2006-02-21 12:55:38 -0500 (2 years 8 months ago) | Author: mikej | Changeset: 642

block unimportant warnings in core.

639 annotated / raw | Diffs: previous, other | Lines: 552 ( +3, -0 )

Created: 2006-02-21 10:05:18 -0500 (2 years 8 months ago) | Author: anthm | Changeset: 639

cleanup some warnings

634 annotated / raw | Diffs: previous, other | Lines: 549 ( +5, -5 )

Created: 2006-02-19 19:23:25 -0500 (2 years 8 months ago) | Author: mikej | Changeset: 634

turn on higher warning level in msvc for the core and libteletone and resolve warnings.

613 annotated / raw | Diffs: previous, other | Lines: 549 ( +18, -4 )

Created: 2006-02-14 12:31:20 -0500 (2 years 9 months ago) | Author: anthm | Changeset: 613

make new modules.conf OS independant

608 annotated / raw | Diffs: previous, other | Lines: 535 ( +168, -112 )

Created: 2006-02-14 11:26:24 -0500 (2 years 9 months ago) | Author: anthm | Changeset: 608

Make optional modules.conf that allows you to pick the module load order
and to exclude some modules. (see example in trunk/conf)

Make ';' a valid comment in config files
Interpret a line in config files beginning with "__END__" as eof

600 annotated / raw | Diffs: previous, other | Lines: 479 ( +8, -8 )

Created: 2006-02-13 13:34:39 -0500 (2 years 9 months ago) | Author: anthm | Changeset: 600

valgrind tweaks

575 annotated / raw | Diffs: previous, other | Lines: 479 ( +16, -0 )

Created: 2006-02-09 11:28:49 -0500 (2 years 9 months ago) | Author: anthm | Changeset: 575

Initial framework for directory interface modules (ldap etc)

457 annotated / raw | Diffs: previous, other | Lines: 463 ( +16, -0 )

Created: 2006-01-27 11:43:57 -0500 (2 years 9 months ago) | Author: anthm | Changeset: 457

Add framework for speech modules (asr/tts)

419 annotated / raw | Diffs: previous, other | Lines: 447 ( +30, -41 )

Created: 2006-01-20 10:05:05 -0500 (2 years 9 months ago) | Author: mikej | Changeset: 419

fix oops (svn merge -r 418:417 http://svn.freeswitch.org/svn/freeswitch/trunk)

418 annotated / raw | Diffs: previous, other | Lines: 458 ( +41, -30 )

Created: 2006-01-19 21:02:03 -0500 (2 years 10 months ago) | Author: anthm | Changeset: 418

update

416 annotated / raw | Diffs: previous, other | Lines: 447 ( +30, -41 )

Created: 2006-01-19 19:40:29 -0500 (2 years 10 months ago) | Author: anthm | Changeset: 416

indent

280 annotated / raw | Diffs: previous, other | Lines: 458 ( +12, -12 )

Created: 2006-01-05 16:03:22 -0500 (2 years 10 months ago) | Author: anthm | Changeset: 280

what's up doc

279 annotated / raw | Diffs: previous, other | Lines: 458 ( +3, -2 )

Created: 2006-01-03 20:04:33 -0500 (2 years 10 months ago) | Author: anthm | Changeset: 279

stupid crap

261 annotated / raw | Diffs: previous, other | Lines: 457 ( +21, -21 )

Created: 2006-01-02 20:17:59 -0500 (2 years 10 months ago) | Author: mikej | Changeset: 261

cleanup and formating

212 annotated / raw | Diffs: previous, other | Lines: 457 ( +2, -2 )

Created: 2005-12-27 13:46:12 -0500 (2 years 10 months ago) | Author: anthm | Changeset: 212

let codecs and timers use existing pool and add new file i/o backend