Quick Search:

Line History

line history graph

Show Arbitrary Diff

From to

Supports revisions and tags.

History

root: 10210 95

latest revision download Branch root:

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

Created: 2008-10-31 13:18:45 -0400 (32 days ago) | Author: anthm | Changeset: 10210

silence warning

10202 annotated / raw | Diffs: previous, other | Lines: 1818 ( +52, -23 )

Created: 2008-10-30 08:46:09 -0400 (33 days ago) | Author: anthm | Changeset: 10202

patch for FSCORE-205

10084 annotated / raw | Diffs: previous, other | Lines: 1789 ( +7, -7 )

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

clean some old members and naming conventions in the codec structs

9967 annotated / raw | Diffs: previous, other | Lines: 1789 ( +1, -1 )

Created: 2008-10-11 16:16:34 -0400 (52 days ago) | Author: brian | Changeset: 9967

downgrade this to a warning

9959 annotated / raw | Diffs: previous, other | Lines: 1789 ( +1, -1 )

Created: 2008-10-11 02:19:56 -0400 (52 days ago) | Author: brian | Changeset: 9959

more polishing

9928 annotated / raw | Diffs: previous, other | Lines: 1789 ( +2, -2 )

Created: 2008-10-09 22:45:27 -0400 (53 days ago) | Author: brian | Changeset: 9928

more tweaks

9864 annotated / raw | Diffs: previous, other | Lines: 1789 ( +1, -1 )

Created: 2008-10-06 19:05:55 -0400 (57 days ago) | Author: brian | Changeset: 9864

spelling

9399 annotated / raw | Diffs: previous, other | Lines: 1789 ( +1, -1 )

Created: 2008-09-01 23:46:27 -0400 (2 months 30 days ago) | Author: brian | Changeset: 9399

I before e, except after c.

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

Created: 2008-08-27 11:48:03 -0400 (3 months 5 days ago) | Author: anthm | Changeset: 9372

fix cpu race on inbound call to pa when no ring file is set

9309 annotated / raw | Diffs: previous, other | Lines: 1787 ( +2, -2 )

Created: 2008-08-15 22:19:43 -0400 (3 months 16 days ago) | Author: mikej | Changeset: 9309

switch some usages of switch_event_add_header to switch_event_add_header_string

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

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

vim extendtab is bad

8839 annotated / raw | Diffs: previous, other | Lines: 1787 ( +37, -19 )

Created: 2008-06-25 09:45:59 -0400 (5 months 7 days ago) | Author: anthm | Changeset: 8839

add 'pa rescan' to portaudio to look for new devices

8836 annotated / raw | Diffs: previous, other | Lines: 1769 ( +59, -35 )

Created: 2008-06-24 18:16:48 -0400 (5 months 8 days ago) | Author: anthm | Changeset: 8836

update mod_portaudio

8757 annotated / raw | Diffs: previous, other | Lines: 1745 ( +4, -4 )

Created: 2008-06-04 19:15:57 -0400 (5 months 28 days ago) | Author: anthm | Changeset: 8757

avoiding deadlock (by not locking then locking again)

8747 annotated / raw | Diffs: previous, other | Lines: 1745 ( +14, -3 )

Created: 2008-06-03 16:19:54 -0400 (5 months 29 days ago) | Author: anthm | Changeset: 8747

dunno

8732 annotated / raw | Diffs: previous, other | Lines: 1734 ( +10, -5 )

Created: 2008-05-30 16:59:14 -0400 (6 months ago) | Author: anthm | Changeset: 8732

make mod_portaudio less chatty on startup

8712 annotated / raw | Diffs: previous, other | Lines: 1729 ( +13, -1 )

Created: 2008-05-28 17:36:16 -0400 (6 months ago) | Author: mikej | Changeset: 8712

add more tab completion details

8689 annotated / raw | Diffs: previous, other | Lines: 1717 ( +37, -49 )

Created: 2008-05-27 00:54:52 -0400 (6 months ago) | Author: anthm | Changeset: 8689

indent pass 2

8579 annotated / raw | Diffs: previous, other | Lines: 1729 ( +4, -4 )

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

name change

8521 annotated / raw | Diffs: previous, other | Lines: 1729 ( +3, -3 )

Created: 2008-05-21 22:32:47 -0400 (6 months ago) | Author: brian | Changeset: 8521

thanks dasbus

8416 annotated / raw | Diffs: previous, other | Lines: 1729 ( +2, -2 )

Created: 2008-05-15 15:29:35 -0400 (6 months ago) | Author: anthm | Changeset: 8416

add var_event down into the endpoints so chans with no parents can still pass options

8359 annotated / raw | Diffs: previous, other | Lines: 1729 ( +1, -1 )

Created: 2008-05-12 09:46:07 -0400 (6 months ago) | Author: anthm | Changeset: 8359

more name changes

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

Created: 2008-05-08 16:23:48 -0400 (6 months ago) | Author: anthm | Changeset: 8311

doh

8310 annotated / raw | Diffs: previous, other | Lines: 1731 ( +4, -14 )

Created: 2008-05-08 15:19:47 -0400 (6 months ago) | Author: anthm | Changeset: 8310

spring cleaning, lose some pointless code

8302 annotated / raw | Diffs: previous, other | Lines: 1741 ( +1, -1 )

Created: 2008-05-08 11:50:28 -0400 (6 months ago) | Author: anthm | Changeset: 8302

use individual pools in open file handles to avoid flooding the pool

8294 annotated / raw | Diffs: previous, other | Lines: 1741 ( +1, -1 )

Created: 2008-05-07 12:32:04 -0400 (6 months ago) | Author: anthm | Changeset: 8294

testing beware

8270 annotated / raw | Diffs: previous, other | Lines: 1741 ( +1, -1 )

Created: 2008-05-06 09:59:37 -0400 (6 months ago) | Author: anthm | Changeset: 8270

missed some name changes thanks coppice

8263 annotated / raw | Diffs: previous, other | Lines: 1741 ( +10, -10 )

Created: 2008-05-05 11:30:55 -0400 (6 months ago) | Author: anthm | Changeset: 8263

change names to protect the innocent

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

Created: 2008-04-21 09:48:35 -0400 (7 months ago) | Author: anthm | Changeset: 8130

fix locking issue

8126 annotated / raw | Diffs: previous, other | Lines: 1740 ( +1, -1 )

Created: 2008-04-18 13:03:34 -0400 (7 months ago) | Author: anthm | Changeset: 8126

make dtmf duration defaults tweakable

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

Created: 2008-04-16 17:43:51 -0400 (7 months ago) | Author: mikej | Changeset: 8121

don't hang channels (MODENDP-106)

7858 annotated / raw | Diffs: previous, other | Lines: 1741 ( +1, -1 )

Created: 2008-03-11 13:02:23 -0400 (8 months ago) | Author: brian | Changeset: 7858

update portaudio from last commit

7639 annotated / raw | Diffs: previous, other | Lines: 1741 ( +1, -1 )

Created: 2008-02-15 18:02:06 -0500 (9 months ago) | Author: mikej | Changeset: 7639

switch_bytes_per_frame -> switch_samples_per_frame rename

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

Created: 2008-02-15 15:11:44 -0500 (9 months ago) | Author: brian | Changeset: 7626

interval tweaks

7568 annotated / raw | Diffs: previous, other | Lines: 1735 ( +1, -1 )

Created: 2008-02-09 00:16:58 -0500 (9 months ago) | Author: mikej | Changeset: 7568

code analysis and error checking.

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

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

set tab mode properly

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

Created: 2008-01-28 13:16:17 -0500 (10 months ago) | Author: anthm | Changeset: 7408

fix timing issue in portaudio

7403 annotated / raw | Diffs: previous, other | Lines: 1733 ( +1, -1 )

Created: 2008-01-28 03:47:55 -0500 (10 months ago) | Author: mikej | Changeset: 7403

code analysis, bounds checks, buffer overrun fixes.

7402 annotated / raw | Diffs: previous, other | Lines: 1733 ( +13, -153 )

Created: 2008-01-28 02:26:10 -0500 (10 months ago) | Author: mikej | Changeset: 7402

code analysis, clean up asserts related to switch_core_session_get_channel.

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

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

cleanup and consistency.. blah rain @ PHX fun

7027 annotated / raw | Diffs: previous, other | Lines: 1873 ( +1, -1 )

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

don't strstr on null/blank strings.

6952 annotated / raw | Diffs: previous, other | Lines: 1873 ( +12, -7 )

Created: 2007-12-21 19:32:20 -0500 (11 months ago) | Author: anthm | Changeset: 6952

dtmf overhaul testers wanted

6921 annotated / raw | Diffs: previous, other | Lines: 1868 ( +2, -2 )

Created: 2007-12-20 16:42:00 -0500 (11 months ago) | Author: anthm | Changeset: 6921

fix FSCORE-74

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

Created: 2007-12-12 19:23:34 -0500 (11 months ago) | Author: mikej | Changeset: 6720

cleancleanup, prevent null deref.

6714 annotated / raw | Diffs: previous, other | Lines: 1863 ( +23, -23 )

Created: 2007-12-12 18:21:45 -0500 (11 months ago) | Author: mikej | Changeset: 6714

use switch_assert macro instead of just assert.

6707 annotated / raw | Diffs: previous, other | Lines: 1863 ( +9, -9 )

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.

6533 annotated / raw | Diffs: previous, other | Lines: 1863 ( +1, -1 )

Created: 2007-12-05 22:05:35 -0500 (11 months ago) | Author: mikej | Changeset: 6533

fail on blank string

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

Created: 2007-11-27 14:25:16 -0500 (12 months ago) | Author: anthm | Changeset: 6413

improve http support

6390 annotated / raw | Diffs: previous, other | Lines: 1861 ( +1, -1 )

Created: 2007-11-23 13:50:54 -0500 (12 months ago) | Author: mikej | Changeset: 6390

add some missing \n's to switch_log_printf messages.

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

Created: 2007-11-16 09:55:18 -0500 (12 months ago) | Author: anthm | Changeset: 6307

adj

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

Created: 2007-11-01 13:11:15 -0400 (13 months ago) | Author: anthm | Changeset: 6133

possible fix fore MODEMP-40

6120 annotated / raw | Diffs: previous, other | Lines: 1860 ( +4, -4 )

Created: 2007-11-01 07:28:26 -0400 (13 months ago) | Author: mikej | Changeset: 6120

use more correct const char * for things that should not be modified.  This should also fix the switch_cpp.cpp changes from MODAPP-44.  More patches to follow up on this for a few more modules that will likely break with this commit.

6084 annotated / raw | Diffs: previous, other | Lines: 1860 ( +9, -9 )

Created: 2007-10-29 14:10:06 -0400 (13 months ago) | Author: mikej | Changeset: 6084

fix scope of endpoint module structures

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

Created: 2007-10-23 18:24:11 -0400 (13 months ago) | Author: anthm | Changeset: 6040

calls to portaudio/auto_answer will do auto_answer

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

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

update

5925 annotated / raw | Diffs: previous, other | Lines: 1856 ( +39, -38 )

Created: 2007-10-17 10:59:17 -0400 (13 months ago) | Author: anthm | Changeset: 5925

format

5784 annotated / raw | Diffs: previous, other | Lines: 1855 ( +3, -3 )

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

5783 annotated / raw | Diffs: previous, other | Lines: 1855 ( +2, -2 )

Created: 2007-10-02 21:10:29 -0400 (13 months ago) | Author: anthm | Changeset: 5783

small fix

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

Created: 2007-09-28 21:06:08 -0400 (14 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

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

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

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

5674 annotated / raw | Diffs: previous, other | Lines: 1854 ( +2, -2 )

Created: 2007-08-28 18:44:02 -0400 (15 months ago) | Author: mikej | Changeset: 5674

little cleanup, remove unnecessary (char *) cast.

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

Created: 2007-08-02 23:33:50 -0400 (16 months ago) | Author: mikej | Changeset: 5550

fix for MODENDP-14.

5499 annotated / raw | Diffs: previous, other | Lines: 1852 ( +12, -13 )

Created: 2007-07-05 14:52:19 -0400 (16 months ago) | Author: anthm | Changeset: 5499

fix for MODAPP-21

5495 annotated / raw | Diffs: previous, other | Lines: 1853 ( +1, -1 )

Created: 2007-07-03 11:12:56 -0400 (17 months ago) | Author: anthm | Changeset: 5495

update

5438 annotated / raw | Diffs: previous, other | Lines: 1853 ( +11, -33 )

Created: 2007-06-22 13:05:51 -0400 (17 months ago) | Author: anthm | Changeset: 5438

hack, *couugh* i mean fix portaudio to work better

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

Created: 2007-06-21 18:36:04 -0400 (17 months ago) | Author: anthm | Changeset: 5434

try to fix latency on portaudio

5428 annotated / raw | Diffs: previous, other | Lines: 1870 ( +1, -1 )

Created: 2007-06-20 14:53:26 -0400 (17 months ago) | Author: mikej | Changeset: 5428

whoops

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

Created: 2007-06-20 04:46:13 -0400 (17 months ago) | Author: mikej | Changeset: 5409

remove unused function

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

Created: 2007-06-20 04:45:33 -0400 (17 months ago) | Author: mikej | Changeset: 5408

remove unused function

5403 annotated / raw | Diffs: previous, other | Lines: 1878 ( +12, -75 )

Created: 2007-06-20 03:15:53 -0400 (17 months ago) | Author: mikej | Changeset: 5403

add more modules to new mod loader macros/api.

5347 annotated / raw | Diffs: previous, other | Lines: 1941 ( +4, -4 )

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

stage 1 of wrecking ball (duck!)

5343 annotated / raw | Diffs: previous, other | Lines: 1941 ( +5, -3 )

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

move some modules to use the new module interface macros.

5167 annotated / raw | Diffs: previous, other | Lines: 1939 ( +2, -2 )

Created: 2007-05-12 17:36:15 -0400 (18 months ago) | Author: mikej | Changeset: 5167

create macro to define api command prototypes.

5165 annotated / raw | Diffs: previous, other | Lines: 1939 ( +4, -4 )

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

adding const qualifiers across the api as appropriate.

5140 annotated / raw | Diffs: previous, other | Lines: 1939 ( +8, -3 )

Created: 2007-05-10 20:27:55 -0400 (18 months ago) | Author: anthm | Changeset: 5140

add some robustness to deal with runaway threads

5063 annotated / raw | Diffs: previous, other | Lines: 1934 ( +2, -2 )

Created: 2007-05-01 23:07:14 -0400 (19 months ago) | Author: brian | Changeset: 5063

small tweak

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

Created: 2007-04-30 21:26:30 -0400 (19 months ago) | Author: anthm | Changeset: 5051

update

5050 annotated / raw | Diffs: previous, other | Lines: 1929 ( +9, -5 )

Created: 2007-04-30 21:11:46 -0400 (19 months ago) | Author: anthm | Changeset: 5050

update

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

Created: 2007-04-30 21:04:07 -0400 (19 months ago) | Author: brian | Changeset: 5049

update

5048 annotated / raw | Diffs: previous, other | Lines: 1919 ( +83, -3 )

Created: 2007-04-30 20:37:10 -0400 (19 months ago) | Author: anthm | Changeset: 5048

add cool web form from mod_alsa to mod_portaudio

4944 annotated / raw | Diffs: previous, other | Lines: 1839 ( +3, -1 )

Created: 2007-04-16 12:53:30 -0400 (19 months ago) | Author: anthm | Changeset: 4944

<refactor>

4799 annotated / raw | Diffs: previous, other | Lines: 1837 ( +14, -8 )

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

indent again

4798 annotated / raw | Diffs: previous, other | Lines: 1831 ( +35, -83 )

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

indent

4795 annotated / raw | Diffs: previous, other | Lines: 1879 ( +875, -855 )

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

spring cleaning

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

Created: 2007-03-14 21:58:41 -0400 (20 months ago) | Author: brian | Changeset: 4600

update2

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

Created: 2007-03-14 20:36:14 -0400 (20 months ago) | Author: anthm | Changeset: 4598

update

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

Created: 2007-03-12 16:16:44 -0400 (20 months ago) | Author: anthm | Changeset: 4574

change hangup method

4498 annotated / raw | Diffs: previous, other | Lines: 1854 ( +3, -3 )

Created: 2007-03-09 18:51:52 -0500 (20 months ago) | Author: anthm | Changeset: 4498

cleanup some stuff

4477 annotated / raw | Diffs: previous, other | Lines: 1854 ( +21, -11 )

Created: 2007-03-07 20:30:52 -0500 (20 months ago) | Author: anthm | Changeset: 4477

update

4454 annotated / raw | Diffs: previous, other | Lines: 1844 ( +1, -1 )

Created: 2007-03-05 18:18:29 -0500 (20 months ago) | Author: mikej | Changeset: 4454

change switch_core_timer_next to return switch_status_t, update all users to new usage, add some error checking to mod_conference so that it bails out of the loops more gracefully on shutdown.

4438 annotated / raw | Diffs: previous, other | Lines: 1844 ( +2, -2 )

Created: 2007-03-03 16:02:02 -0500 (21 months ago) | Author: brian | Changeset: 4438

Please besure to do "make sure" this should fix the assert people were getting on ALL channel drivers.

4419 annotated / raw | Diffs: previous, other | Lines: 1844 ( +8, -3 )

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

cleanup

4297 annotated / raw | Diffs: previous, other | Lines: 1839 ( +68, -4 )

Created: 2007-02-16 11:19:39 -0500 (21 months ago) | Author: anthm | Changeset: 4297

add some commands to portaudio

4269 annotated / raw | Diffs: previous, other | Lines: 1775 ( +6, -6 )

Created: 2007-02-14 14:45:56 -0500 (21 months ago) | Author: mikej | Changeset: 4269

warning: ISO C does not allow extra ; outside of a function

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

Created: 2007-02-13 10:47:15 -0500 (21 months ago) | Author: anthm | Changeset: 4230

lord of the rings

4203 annotated / raw | Diffs: previous, other | Lines: 1772 ( +1, -1 )

Created: 2007-02-12 13:13:14 -0500 (21 months ago) | Author: mikej | Changeset: 4203

some more protection from passing around and printing null values, we are now initializing null's passed to switch_caller_profile_new as blank strings in the caller profile, if your using any caller profile values in if's, please use !switch_strlen_zero() in your check.

4181 annotated / raw | Diffs: previous, other | Lines: 1772 ( +9, -9 )

Created: 2007-02-09 15:03:07 -0500 (21 months ago) | Author: anthm | Changeset: 4181

update core

4176 annotated / raw | Diffs: previous, other | Lines: 1772 ( +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

4101 annotated / raw | Diffs: previous, other | Lines: 1772 ( +9, -1 )

Created: 2007-01-31 12:12:42 -0500 (22 months ago) | Author: anthm | Changeset: 4101

only 1 call can control the ring device

4047 annotated / raw | Diffs: previous, other | Lines: 1764 ( +1, -1 )

Created: 2007-01-23 17:40:01 -0500 (22 months ago) | Author: mikej | Changeset: 4047

who thought tolower should return int??

4032 annotated / raw | Diffs: previous, other | Lines: 1764 ( +90, -13 )

Created: 2007-01-23 11:06:25 -0500 (22 months ago) | Author: anthm | Changeset: 4032

add flags command to control mute and deaf operations

4007 annotated / raw | Diffs: previous, other | Lines: 1687 ( +1, -1 )

Created: 2007-01-19 19:22:43 -0500 (22 months ago) | Author: mikej | Changeset: 4007

"pa_dtmf" -> "pa dtmf" in api help text.

3993 annotated / raw | Diffs: previous, other | Lines: 1687 ( +25, -25 )

Created: 2007-01-18 20:45:58 -0500 (22 months ago) | Author: mikej | Changeset: 3993

Initial windows build for new portaudio module, so far completely untested, it will NOT work on 64 bit and potentially problematic on SMP boxes still as I am building right now.  This build currently uses only winmme, will follow up with better support for optionally building against direct sound, asio, and wasapi.

3990 annotated / raw | Diffs: previous, other | Lines: 1687 ( +63, -15 )

Created: 2007-01-18 20:23:27 -0500 (22 months ago) | Author: anthm | Changeset: 3990

minor tweaks on new portaudio stuff

3981 annotated / raw | Diffs: previous, other | Lines: 1639 ( +1009, -417 )

Created: 2007-01-17 14:10:03 -0500 (22 months ago) | Author: anthm | Changeset: 3981

New mod_portaudio (sponspred by eWorldCom http://www.eworldcom.hu/)

This updates mod_portaudio to use the new v19 api and also contains
major behavioural changes.  This initial check-in should be tested to find
any obscure use cases that lead to crashes etc...

All of the old api interface commands are now depricated and any attempt to
use them should cause a polite warning asking you to try the new single "pa" command.

New Features:
*) Mulitiple calls with hold/call switching.
*) Inbound calls can play a ring file on specified device. (global and per call)
*) Optional hold music for backgrounded calls. (global and per call)


Example dialplan usage:

<extension name="2000">
 <condition field="destination_number" expression="^2000$">
   <!--if the next 3 lines are omitted the defaults will be used from portaudio.conf-->
   <action application="set" data="pa_ring_file=/sounds/myring.wav"/>
   <action application="set" data="pa_hold_file=/sounds/myhold.wav"/>
   <action application="set" data="export_vars=pa_ring_file,pa_hold_file"/>
   <action application="bridge" data="portaudio"/>
 </condition>
</extension>


Example API interface usage:

call extension 1000
> pa call 1000

call extension 1001 putting the other call on hold
> pa call 1001

swap the calls between hold and active
> pa switch

view the current calls
> pa list

forground the call with id 1
> pa switch 1

background all calls
> pa switch none

send a dtmf string (1234) to the current call
> pa dtmf 1234

answer the oldest unanswered inbound call
> pa answer

answer the call with id 1
> pa answer 1

hangup the active call
> pa hangup

hangup the call with id 1
> pa hangup 1

get device info
> pa dump

print usage summary
> pa help


USAGE:
--------------------------------------------------------------------------------
pa help
pa dump
pa call <dest> [<dialplan> <cid_name> <cid_num> <rate>]
pa answer [<call_id>]
pa hangup [<call_id>]
pa list
pa switch [<call_id>|none]
pa_dtmf <digit string>
--------------------------------------------------------------------------------

The source of the portaudio v19 library will also be checked in for the
sake of the build system.


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

Created: 2006-12-21 11:46:11 -0500 (23 months ago) | Author: anthm | Changeset: 3778

add case for kill sigs

3604 annotated / raw | Diffs: previous, other | Lines: 1042 ( +7, -7 )

Created: 2006-12-11 12:52:53 -0500 (23 months ago) | Author: anthm | Changeset: 3604

doh

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

Created: 2006-11-27 17:30:48 -0500 (2 years 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:
*/

3212 annotated / raw | Diffs: previous, other | Lines: 1031 ( +5, -3 )

Created: 2006-10-26 12:13:48 -0400 (2 years 1 month ago) | Author: anthm | Changeset: 3212

update

3210 annotated / raw | Diffs: previous, other | Lines: 1029 ( +5, -1 )

Created: 2006-10-26 11:00:46 -0400 (2 years 1 month ago) | Author: anthm | Changeset: 3210

update

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

Created: 2006-10-08 22:24:43 -0400 (2 years 1 month ago) | Author: anthm | Changeset: 3006

refine code

3001 annotated / raw | Diffs: previous, other | Lines: 1023 ( +13, -12 )

Created: 2006-10-08 03:11:42 -0400 (2 years 1 month ago) | Author: mikej | Changeset: 3001

add syntax to api structures, use them for usage returns, do more checking on valid usage and cleanup some output of api commands.

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

Created: 2006-10-08 01:04:34 -0400 (2 years 1 month ago) | Author: mikej | Changeset: 3000

add syntax field to the api interface struct.

2235 annotated / raw | Diffs: previous, other | Lines: 1017 ( +1, -1 )

Created: 2006-08-07 16:04:12 -0400 (2 years 3 months ago) | Author: anthm | Changeset: 2235

fix potential crash

2167 annotated / raw | Diffs: previous, other | Lines: 1017 ( +31, -10 )

Created: 2006-07-26 16:12:49 -0400 (2 years 4 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>


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

Created: 2006-06-29 09:48:52 -0400 (2 years 5 months ago) | Author: anthm | Changeset: 1705

add header to portaudio

1664 annotated / raw | Diffs: previous, other | Lines: 995 ( +9, -6 )

Created: 2006-06-23 12:59:47 -0400 (2 years 5 months ago) | Author: anthm | Changeset: 1664

add more mutexed flag ops

1601 annotated / raw | Diffs: previous, other | Lines: 992 ( +2, -2 )

Created: 2006-06-11 22:39:05 -0400 (2 years 5 months ago) | Author: mikej | Changeset: 1601

make sure to use switch namespace on apr functions in modules.

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

Created: 2006-06-08 11:28:42 -0400 (2 years 5 months ago) | Author: mikej | Changeset: 1572

add early audio message hook.

1571 annotated / raw | Diffs: previous, other | Lines: 990 ( +23, -0 )

Created: 2006-06-08 11:20:46 -0400 (2 years 5 months ago) | Author: anthm | Changeset: 1571

yep

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

Created: 2006-05-26 12:00:08 -0400 (2 years 6 months ago) | Author: anthm | Changeset: 1508

update

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

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

update

1475 annotated / raw | Diffs: previous, other | Lines: 966 ( +3, -3 )

Created: 2006-05-16 13:08:21 -0400 (2 years 6 months ago) | Author: mikej | Changeset: 1475

normalize configuration parameters to use - instead of _.
Break everybody's configuration.

1413 annotated / raw | Diffs: previous, other | Lines: 966 ( +2, -2 )

Created: 2006-05-10 11:53:10 -0400 (2 years 6 months ago) | Author: anthm | Changeset: 1413

update

1412 annotated / raw | Diffs: previous, other | Lines: 966 ( +25, -25 )

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

XMLification (wave 4)

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

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

update

1401 annotated / raw | Diffs: previous, other | Lines: 965 ( +7, -6 )

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

XMLification (wave 1)

1311 annotated / raw | Diffs: previous, other | Lines: 964 ( +47, -35 )

Created: 2006-05-01 13:20:30 -0400 (2 years 7 months ago) | Author: anthm | Changeset: 1311

portaudio tweaks

1308 annotated / raw | Diffs: previous, other | Lines: 952 ( +4, -4 )

Created: 2006-04-30 21:35:01 -0400 (2 years 7 months ago) | Author: anthm | Changeset: 1308

update

1305 annotated / raw | Diffs: previous, other | Lines: 952 ( +2, -2 )

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

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

1300 annotated / raw | Diffs: previous, other | Lines: 952 ( +55, -55 )

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

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

1294 annotated / raw | Diffs: previous, other | Lines: 952 ( +51, -51 )

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

part 2 of many standardizing typedefed types to end in _t

1292 annotated / raw | Diffs: previous,