Quick Search:

Line History

line history graph

Show Arbitrary Diff

From to

Supports revisions and tags.

History

root: 8894 131

latest revision download Branch root:

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

Created: 2008-07-03 15:12:26 -0400 (22 hours ago) | Author: mikej | Changeset: 8894

vim extendtab is bad

8881 annotated / raw | Diffs: previous, other | Lines: 1482 ( +0, -8 )

Created: 2008-07-02 13:18:34 -0400 (48 hours ago) | Author: anthm | Changeset: 8881

tweak ping behaviour

8880 annotated / raw | Diffs: previous, other | Lines: 1490 ( +139, -29 )

Created: 2008-07-01 19:41:09 -0400 (66 hours ago) | Author: anthm | Changeset: 8880

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

8686 annotated / raw | Diffs: previous, other | Lines: 1380 ( +83, -81 )

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

indent pass 1

8510 annotated / raw | Diffs: previous, other | Lines: 1378 ( +3, -3 )

Created: 2008-05-21 17:31:17 -0400 (43 days ago) | Author: stkn | Changeset: 8510

switch_url_encode now takes the full length of the buffer and null-terminates the string properly (Klocwork #1030)

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

Created: 2008-05-16 13:25:43 -0400 (49 days ago) | Author: mikej | Changeset: 8445

handle edgecase leak on platforms without vasprintf. Found by Klockwork (www.klocwork.com)

8444 annotated / raw | Diffs: previous, other | Lines: 1375 ( +1, -1 )

Created: 2008-05-16 13:18:57 -0400 (49 days ago) | Author: mikej | Changeset: 8444

remove redundant null check. Found by Klockwork (www.klocwork.com)

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

Created: 2008-05-16 13:07:10 -0400 (49 days ago) | Author: mikej | Changeset: 8443

don't leak after allocation failure. Found by Klockwork (www.klocwork.com)

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

Created: 2008-05-16 12:59:34 -0400 (49 days ago) | Author: mikej | Changeset: 8441

tweak asserts. Found by Klockwork (www.klocwork.com)

8418 annotated / raw | Diffs: previous, other | Lines: 1372 ( +12, -2 )

Created: 2008-05-15 16:29:08 -0400 (49 days ago) | Author: anthm | Changeset: 8418

add patch from MDXMLINT-27

8366 annotated / raw | Diffs: previous, other | Lines: 1362 ( +1, -1 )

Created: 2008-05-12 12:58:44 -0400 (53 days ago) | Author: anthm | Changeset: 8366

fix build prob

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

Created: 2008-05-06 17:43:42 -0400 (58 days ago) | Author: anthm | Changeset: 8279

fix fifo logic bug

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

Created: 2008-05-02 09:58:44 -0400 (2 months 2 days ago) | Author: anthm | Changeset: 8247

make callback stuff work on mod_perl

8214 annotated / raw | Diffs: previous, other | Lines: 1360 ( +1, -1 )

Created: 2008-04-29 19:34:26 -0400 (2 months 4 days ago) | Author: anthm | Changeset: 8214

update

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

Created: 2008-04-11 11:53:25 -0400 (2 months 23 days ago) | Author: anthm | Changeset: 8087

small fix

7901 annotated / raw | Diffs: previous, other | Lines: 1365 ( +4, -3 )

Created: 2008-03-17 12:25:53 -0400 (3 months 17 days ago) | Author: mikej | Changeset: 7901

tweak

7897 annotated / raw | Diffs: previous, other | Lines: 1364 ( +2, -2 )

Created: 2008-03-16 14:31:27 -0400 (3 months 17 days ago) | Author: mikej | Changeset: 7897

an array of any other size.....

7891 annotated / raw | Diffs: previous, other | Lines: 1364 ( +96, -185 )

Created: 2008-03-14 12:21:13 -0400 (3 months 20 days ago) | Author: anthm | Changeset: 7891

some more stuff

7889 annotated / raw | Diffs: previous, other | Lines: 1453 ( +107, -5 )

Created: 2008-03-13 23:47:45 -0400 (3 months 20 days ago) | Author: anthm | Changeset: 7889

spray the core with scotchguard(tm)

7841 annotated / raw | Diffs: previous, other | Lines: 1351 ( +2, -2 )

Created: 2008-03-07 21:11:21 -0500 (3 months 26 days ago) | Author: anthm | Changeset: 7841

update

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

Created: 2008-03-03 14:32:42 -0500 (4 months ago) | Author: anthm | Changeset: 7775

add reloadxml event

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

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

set tab mode properly

7424 annotated / raw | Diffs: previous, other | Lines: 1350 ( +8, -12 )

Created: 2008-01-29 14:01:35 -0500 (5 months 3 days ago) | Author: mikej | Changeset: 7424

cleanup

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

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

cleanup and consistency.. blah rain @ PHX fun

7392 annotated / raw | Diffs: previous, other | Lines: 1354 ( +1, -8 )

Created: 2008-01-27 12:36:53 -0500 (5 months 6 days ago) | Author: brian | Changeset: 7392

code formating cleanup,  More when I land at PHX

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

Created: 2008-01-25 18:09:33 -0500 (5 months 7 days ago) | Author: anthm | Changeset: 7363

add resistance on blocking writes to stdout

7334 annotated / raw | Diffs: previous, other | Lines: 1356 ( +16, -15 )

Created: 2008-01-23 16:14:38 -0500 (5 months 9 days ago) | Author: anthm | Changeset: 7334

change xml_lookups to take an event as params instead of url string this will break your xml_curl scripts please update

7333 annotated / raw | Diffs: previous, other | Lines: 1355 ( +75, -0 )

Created: 2008-01-23 15:59:25 -0500 (5 months 9 days ago) | Author: anthm | Changeset: 7333

change xml_lookups to take an event as params instead of url string this will break your xml_curl scripts please update

7312 annotated / raw | Diffs: previous, other | Lines: 1280 ( +261, -0 )

Created: 2008-01-21 13:17:12 -0500 (5 months 11 days ago) | Author: anthm | Changeset: 7312

add func to expand event headers from a template string

7186 annotated / raw | Diffs: previous, other | Lines: 1019 ( +4, -4 )

Created: 2008-01-12 02:14:48 -0500 (5 months 21 days ago) | Author: mikej | Changeset: 7186

constify functions

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

Created: 2008-01-03 16:34:44 -0500 (5 months 29 days ago) | Author: anthm | Changeset: 7075

cross t's and dot i's

7069 annotated / raw | Diffs: previous, other | Lines: 1016 ( +84, -103 )

Created: 2008-01-02 20:21:26 -0500 (6 months ago) | Author: anthm | Changeset: 7069

cleanup events

7068 annotated / raw | Diffs: previous, other | Lines: 1035 ( +10, -10 )

Created: 2008-01-02 20:01:04 -0500 (6 months ago) | Author: anthm | Changeset: 7068

fix indent

6951 annotated / raw | Diffs: previous, other | Lines: 1035 ( +8, -2 )

Created: 2007-12-21 13:15:33 -0500 (6 months ago) | Author: anthm | Changeset: 6951

update

6707 annotated / raw | Diffs: previous, other | Lines: 1029 ( +6, -6 )

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

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

6677 annotated / raw | Diffs: previous, other | Lines: 1029 ( +6, -2 )

Created: 2007-12-11 17:19:49 -0500 (6 months ago) | Author: anthm | Changeset: 6677

add more data to cdr_csv and debug option to dump all the vars

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

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

cleanup, null checks. etc.

6661 annotated / raw | Diffs: previous, other | Lines: 1024 ( +25, -25 )

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

use switch_assert macro

6452 annotated / raw | Diffs: previous, other | Lines: 1024 ( +13, -0 )

Created: 2007-11-30 16:57:49 -0500 (7 months ago) | Author: anthm | Changeset: 6452

add hostname and ip to every event

6038 annotated / raw | Diffs: previous, other | Lines: 1011 ( +1, -1 )

Created: 2007-10-23 17:56:31 -0400 (8 months ago) | Author: anthm | Changeset: 6038

fix stupidness

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

Created: 2007-10-16 09:56:44 -0400 (8 months ago) | Author: anthm | Changeset: 5886

add channel_originate event

5800 annotated / raw | Diffs: previous, other | Lines: 1010 ( +8, -2 )

Created: 2007-10-04 16:22:37 -0400 (8 months ago) | Author: anthm | Changeset: 5800

more cleanup

5796 annotated / raw | Diffs: previous, other | Lines: 1004 ( +26, -14 )

Created: 2007-10-04 13:25:06 -0400 (9 months ago) | Author: anthm | Changeset: 5796

a bunch of fixes

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

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

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

5768 annotated / raw | Diffs: previous, other | Lines: 992 ( +37, -11 )

Created: 2007-09-30 16:05:18 -0400 (9 months ago) | Author: anthm | Changeset: 5768

add log and event object recycling to reduce malloc per sec in high call load

5765 annotated / raw | Diffs: previous, other | Lines: 966 ( +41, -6 )

Created: 2007-09-28 21:06:08 -0400 (9 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: 931 ( +0, -0 )

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

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

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

Created: 2007-08-03 12:56:54 -0400 (11 months ago) | Author: mikej | Changeset: 5565

fix for FSCORE-37

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

Created: 2007-07-24 17:26:04 -0400 (11 months ago) | Author: anthm | Changeset: 5541

fix up some event issues

5465 annotated / raw | Diffs: previous, other | Lines: 926 ( +1, -1 )

Created: 2007-06-25 17:25:33 -0400 (12 months ago) | Author: anthm | Changeset: 5465

update

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

Created: 2007-06-23 01:41:07 -0400 (12 months ago) | Author: anthm | Changeset: 5448


Add events around all application execution:

fire SWITCH_EVEHT_CHANNEL_EXECUTE
<execute app>
fire SWITCH_EVEHT_CHANNEL_EXECUTE_COMPLETE

This can be used in async socket connections to tell
when a queued application has finished executing.



Add the "event" application to the dialplan:

<action application="event" data="header1=val1,header2=val2"/>

Events fired from this applcation will always have the type SWITCH_EVENT_CHANNEL_APPLICATION.

You can add up to 25 headers of your own to the event via the application arguements.



5403 annotated / raw | Diffs: previous, other | Lines: 924 ( +1, -1 )

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

add more modules to new mod loader macros/api.

5379 annotated / raw | Diffs: previous, other | Lines: 924 ( +1, -1 )

Created: 2007-06-15 22:25:40 -0400 (12 months ago) | Author: anthm | Changeset: 5379

upgrade fax_detect to tone_detect

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

Created: 2007-06-08 11:17:43 -0400 (12 months ago) | Author: anthm | Changeset: 5291

fix accidental missing event enum name

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

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

general improvements

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

Created: 2007-04-02 16:20:46 -0400 (15 months ago) | Author: anthm | Changeset: 4832

cleanup

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

Created: 2007-03-30 13:25:48 -0400 (15 months ago) | Author: anthm | Changeset: 4810

fix race

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

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

indent again

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

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

indent

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

Created: 2007-03-29 20:10:33 -0400 (15 months ago) | Author: anthm | Changeset: 4797

add 'show tasks' and sched_api api commands

4795 annotated / raw | Diffs: previous, other | Lines: 919 ( +74, -74 )

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

spring cleaning

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

Created: 2007-03-09 15:44:13 -0500 (15 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.

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

Created: 2007-03-05 15:55:41 -0500 (15 months ago) | Author: anthm | Changeset: 4453

add TRAP event

4443 annotated / raw | Diffs: previous, other | Lines: 923 ( +42, -34 )

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

fix more comments

4347 annotated / raw | Diffs: previous, other | Lines: 915 ( +11, -10 )

Created: 2007-02-22 12:38:34 -0500 (16 months ago) | Author: anthm | Changeset: 4347

add heartbeat event and core uuid

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

Created: 2007-02-19 16:06:27 -0500 (16 months ago) | Author: brian | Changeset: 4327

making private events fire (please test)

4251 annotated / raw | Diffs: previous, other | Lines: 913 ( +1, -1 )

Created: 2007-02-13 22:22:43 -0500 (16 months ago) | Author: mikej | Changeset: 4251

constification for switch_core_hash_find and switch_event_create_subclass

4249 annotated / raw | Diffs: previous, other | Lines: 913 ( +4, -4 )

Created: 2007-02-13 21:53:23 -0500 (16 months ago) | Author: mikej | Changeset: 4249

constify the fmt string on all printf like functions

4226 annotated / raw | Diffs: previous, other | Lines: 913 ( +9, -9 )

Created: 2007-02-12 23:43:49 -0500 (16 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: 913 ( +1, -1 )

Created: 2007-02-08 21:36:03 -0500 (16 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

4116 annotated / raw | Diffs: previous, other | Lines: 913 ( +7, -5 )

Created: 2007-02-04 14:12:14 -0500 (16 months ago) | Author: mikej | Changeset: 4116

don't use uninitialized value of data, return error if null fmt string passed.

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

Created: 2007-02-03 12:06:57 -0500 (16 months ago) | Author: anthm | Changeset: 4113

fix events with large bodies

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

Created: 2006-12-15 22:00:56 -0500 (18 months ago) | Author: anthm | Changeset: 3676

fix probe presence stuff on conference, do a make sure

3674 annotated / raw | Diffs: previous, other | Lines: 905 ( +2, -2 )

Created: 2006-12-15 13:02:54 -0500 (18 months ago) | Author: anthm | Changeset: 3674

fix mem issue

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

Created: 2006-12-07 17:56:17 -0500 (18 months ago) | Author: anthm | Changeset: 3570

improve gateway stuff and minor tweak to event serialize

3485 annotated / raw | Diffs: previous, other | Lines: 900 ( +5, -5 )

Created: 2006-11-29 12:10:40 -0500 (19 months ago) | Author: anthm | Changeset: 3485

api tweaks

3481 annotated / raw | Diffs: previous, other | Lines: 900 ( +42, -3 )

Created: 2006-11-28 23:57:01 -0500 (19 months ago) | Author: ptinsley | Changeset: 3481

Fix for event serialization, multi-ilne variables or crazy characters in a line could cause parsing errors in consumers of serialized events.

All values are now url encoded to ensure they don't have "dangerous" characters in them.  make sure you url_decode in your language of choice when consuming events in plain format from the event socket.

For those perl or pcre heads out there you can use the following regex:
$value =~ s/\%([A-Fa-f0-9]{2})/pack('C', hex($1))/sego;

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

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

3316 annotated / raw | Diffs: previous, other | Lines: 850 ( +15, -3 )

Created: 2006-11-11 14:40:41 -0500 (19 months ago) | Author: anthm | Changeset: 3316

let's make sure realloc works

3314 annotated / raw | Diffs: previous, other | Lines: 838 ( +36, -32 )

Created: 2006-11-11 14:32:45 -0500 (19 months ago) | Author: anthm | Changeset: 3314

make event_serialize dynamic

3291 annotated / raw | Diffs: previous, other | Lines: 834 ( +11, -8 )

Created: 2006-11-09 00:39:04 -0500 (19 months 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


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

Created: 2006-10-18 18:57:35 -0400 (20 months ago) | Author: anthm | Changeset: 3083

Christmas Presence

3068 annotated / raw | Diffs: previous, other | Lines: 828 ( +1, -1 )

Created: 2006-10-16 23:41:05 -0400 (20 months ago) | Author: mikej | Changeset: 3068

typo

3064 annotated / raw | Diffs: previous, other | Lines: 828 ( +3, -3 )

Created: 2006-10-16 15:56:42 -0400 (20 months ago) | Author: anthm | Changeset: 3064

find missing ret = and put them back

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

Created: 2006-10-11 20:59:09 -0400 (20 months ago) | Author: anthm | Changeset: 3035

refactoring and general improvement (do a make sure)

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

Created: 2006-09-18 01:08:55 -0400 (21 months ago) | Author: mikej | Changeset: 2734

Attribution.

2721 annotated / raw | Diffs: previous, other | Lines: 824 ( +89, -3 )

Created: 2006-09-17 14:03:32 -0400 (21 months ago) | Author: anthm | Changeset: 2721

trying paul's patch

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

Created: 2006-09-06 23:58:01 -0400 (21 months ago) | Author: anthm | Changeset: 2540

Mega Changes

adding mod_park for putting channels in limbo state for remote control.
adding stuff to mod_event_socket to let you do the bgapi <command> <args>
this will let you execute a job in the bg and the result will be sent as an event with an
indicated uuid to match the reply to the command

adding switch_core_port_allocator (to be used soon)
adding "make sure" to do a full rebild of the freeswitch object files

There will be more to this committed as the week progresses

make sure you do a rebuild after this update or you'll be sowwie
./configure && make sure


2438 annotated / raw | Diffs: previous, other | Lines: 735 ( +1, -1 )

Created: 2006-08-29 19:52:45 -0400 (22 months ago) | Author: mikej | Changeset: 2438

change date format so output of show channels does not have another comma in a comma sep list.

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

Created: 2006-08-29 11:17:06 -0400 (22 months ago) | Author: anthm | Changeset: 2425

add some events

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

Created: 2006-08-24 21:33:28 -0400 (22 months ago) | Author: anthm | Changeset: 2387

codec sql

2323 annotated / raw | Diffs: previous, other | Lines: 732 ( +10, -1 )

Created: 2006-08-17 21:28:50 -0400 (22 months ago) | Author: anthm | Changeset: 2323

Upgrade Dingaling to meet new googletalk spec upgrade your client if you have issues.
codecs need more work...

Expose events into javascript so you can create and fire events and
and pick up chat events with chat-enabled clients like googletalk
EXAMPLE:

session.answer();

e = new Event("custom", "JS::Custom");
e.addHeader("subject", "cool");
e.addBody("hello this is a test");
e.fire;

while(session.ready()) {
   session.execute("sleep", "1000");
   event = session.getEvent();
   if (event) {
     str = event.serialize(); // or ("xml")
     console_log("debug", "Dump Event:\n" + str + "\n");


       e = new Event("custom", "JS::Chat");
       e.addHeader("works", "yes");
       e.addBody("you said: " + event.getBody());
       session.sendEvent(e);
     event.destroy();
   }
}



2297 annotated / raw | Diffs: previous, other | Lines: 723 ( +2, -2 )

Created: 2006-08-15 12:17:03 -0400 (22 months ago) | Author: mikej | Changeset: 2297

make vsnprintf check work

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

Created: 2006-08-15 11:57:20 -0400 (22 months ago) | Author: mikej | Changeset: 2296

fix segfault

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

Created: 2006-07-25 10:14:07 -0400 (23 months ago) | Author: anthm | Changeset: 2109

Change the socket protocol and the sample client to use multiline input

valid input:

-------------------------
<command>[ <args>]

-------------------------
or
-------------------------
<command>[ <args>]
Header1: Val
HeaderN: Val

-------------------------



2047 annotated / raw | Diffs: previous, other | Lines: 720 ( +30, -7 )

Created: 2006-07-22 17:49:52 -0400 (23 months ago) | Author: anthm | Changeset: 2047

Add mod_event_socket remote client module and sample client.

To Test:

uncomment or add from modules.conf
make installall again to compile it
uncomment the load line from freeswitch.xml

the default values are to bind to 127.0.0.1 port 8021

telnet to port 8021
enter "auth ClueCon" to authenticate

from here you can do the following:
*) events [xml|plain] <list of events to log or all for all>
*) noevents
*) log <level> // same as the console.conf values
*) nolog
*) api <command> <arg>
*) exit

there is a perl client in scripts/socket called fs.pl

with the module up and loaded:
cd scripts/socket
perl fs.pl <optional log level>

you can enter a few api commands like "show or status"


1542 annotated / raw | Diffs: previous, other | Lines: 697 ( +1, -1 )

Created: 2006-06-05 13:37:24 -0400 (2 years ago) | Author: anthm | Changeset: 1542

update queue len

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

Created: 2006-05-11 17:36:57 -0400 (2 years 1 month ago) | Author: anthm | Changeset: 1435

update

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

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

update

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

Created: 2006-05-04 13:51:53 -0400 (2 years 1 month ago) | Author: anthm | Changeset: 1351

gather 2833 into RTP core and a few tweaks

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

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

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

1300 annotated / raw | Diffs: previous, other | Lines: 622 ( +12, -12 )

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

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

1294 annotated / raw | Diffs: previous, other | Lines: 622 ( +8, -8 )

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

part 2 of many standardizing typedefed types to end in _t

1292 annotated / raw | Diffs: previous, other | Lines: 622 ( +40, -33 )

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

part 1 of many standardizing typedefed types to end in _t

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

Created: 2006-04-27 17:09:58 -0400 (2 years 2 months ago) | Author: anthm | Changeset: 1281

crash prevention

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

Created: 2006-04-26 15:29:56 -0400 (2 years 2 months ago) | Author: anthm | Changeset: 1265

update

1260 annotated / raw | Diffs: previous, other | Lines: 612 ( +17, -6 )

Created: 2006-04-26 13:18:33 -0400 (2 years 2 months ago) | Author: anthm | Changeset: 1260

add nitrous oxide tank to core event sql backend

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

Created: 2006-04-25 19:11:56 -0400 (2 years 2 months ago) | Author: anthm | Changeset: 1255

adjust

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

Created: 2006-04-21 18:31:08 -0400 (2 years 2 months ago) | Author: anthm | Changeset: 1222

add VAD

1173 annotated / raw | Diffs: previous, other | Lines: 598 ( +2, -2 )

Created: 2006-04-16 02:05:53 -0400 (2 years 2 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.

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

Created: 2006-04-12 12:44:57 -0400 (2 years 2 months ago) | Author: brian | Changeset: 1127

fix leak

1117 annotated / raw | Diffs: previous, other | Lines: 597 ( +3, -3 )

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

Gut Logger and put it back modular style

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

Created: 2006-04-11 10:55:14 -0400 (2 years 2 months ago) | Author: brian | Changeset: 1115

add some events and more data to core DB

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

Created: 2006-04-04 17:26:21 -0400 (2 years 2 months ago) | Author: anthm | Changeset: 1044

internal tweaks

1043 annotated / raw | Diffs: previous, other | Lines: 593 ( +8, -5 )

Created: 2006-04-04 14:47:34 -0400 (2 years 2 months ago) | Author: anthm | Changeset: 1043

fix event system

982 annotated / raw | Diffs: previous, other | Lines: 590 ( +15, -12 )

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

icc changes part 1

960 annotated / raw | Diffs: previous, other | Lines: 587 ( +30, -6 )

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

optimize

716 annotated / raw | Diffs: previous, other | Lines: 563 ( +15, -3 )

Created: 2006-03-01 12:06:10 -0500 (2 years 4 months ago) | Author: anthm | Changeset: 716

fix lots of BS

674 annotated / raw | Diffs: previous, other | Lines: 551 ( +53, -75 )

Created: 2006-02-25 19:12:17 -0500 (2 years 4 months ago) | Author: anthm | Changeset: 674

add high and low priority event queues

655 annotated / raw | Diffs: previous, other | Lines: 573 ( +0, -7 )

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

get rid of unnecessary pragmas.

644 annotated / raw | Diffs: previous, other | Lines: 580 ( +6, -2 )

Created: 2006-02-21 13:34:32 -0500 (2 years 4 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: 576 ( +3, -0 )

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

block unimportant warnings in core.

634 annotated / raw | Diffs: previous, other | Lines: 573 ( +10, -16 )

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

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

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

Created: 2006-02-13 18:59:14 -0500 (2 years 4 months ago) | Author: anthm | Changeset: 606

add zerconf (the howl depend lib needs work sigh)

419 annotated / raw | Diffs: previous, other | Lines: 576 ( +32, -34 )

Created: 2006-01-20 10:05:05 -0500 (2 years 5 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: 578 ( +34, -32 )

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

update

416 annotated / raw | Diffs: previous, other | Lines: 576 ( +32, -34 )

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

indent

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

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

what's up doc

261 annotated / raw | Diffs: previous, other | Lines: 579 ( +41, -41 )

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

cleanup and formating

207 annotated / raw | Diffs: previous, other | Lines: 579 ( +1, -1 )

Created: 2005-12-26 14:45:58 -0500 (2 years 6 months ago) | Author: anthm | Changeset: 207

cleanup

204 annotated / raw | Diffs: previous, other | Lines: 579 ( +24, -31 )

Created: 2005-12-23 16:09:36 -0500 (2 years 6 months ago) | Author: anthm | Changeset: 204

event cleanup from windows perspective

196 annotated / raw | Diffs: previous, other | Lines: 586 ( +42, -3 )

Created: 2005-12-22 21:24:56 -0500 (2 years 6 months ago) | Author: anthm | Changeset: 196

xmppmas

192 annotated / raw | Diffs: previous, other | Lines: 547 ( +6, -5 )

Created: 2005-12-22 17:17:25 -0500 (2 years 6 months ago) | Author: anthm | Changeset: 192

fix

191 annotated / raw | Diffs: previous, other | Lines: 546 ( +136, -75 )

Created: 2005-12-22 13:53:33 -0500 (2 years 6 months ago) | Author: anthm | Changeset: 191

use more of apr-utils in the event stuff

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

Created: 2005-12-21 20:57:32 -0500 (2 years 6 months ago) | Author: anthm | Changeset: 190

get uuid from apr-utils for channel events

188 annotated / raw | Diffs: previous, other | Lines: 501 ( +21, -5 )

Created: 2005-12-21 17:25:22 -0500 (2 years 6 months ago) | Author: anthm | Changeset: 188

more events and some build changes

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

Created: 2005-12-21 11:24:37 -0500 (2 years 6 months ago) | Author: anthm | Changeset: 184

update

174 annotated / raw | Diffs: previous, other | Lines: 480 ( +2, -2 )

Created: 2005-12-19 15:03:37 -0500 (2 years 6 months ago) | Author: anthm | Changeset: 174

make it work on w32

173 annotated / raw | Diffs: previous, other | Lines: 480 ( +36, -9 )

Created: 2005-12-19 14:57:32 -0500 (2 years 6 months ago) | Author: anthm | Changeset: 173

more event stuff
you should now be able to bind an event handler to a
paticiular file or function not just a paticular event
when using the custom event

like "file:somefile.c"
or "func:somefunc"

also events now have headers which can be added
with varargs and should be created and delivered with api calls


switch_event *event;

regular event:
if (switch_event_create(&event, SWITCH_EVENT_STARTUP) == SWITCH_STATUS_SUCCESS) {
        switch_event_add_header(event, "event_info", "System Ready");
        switch_event_fire(&event);
}

custom event:
if (switch_event_create_subclass(&event, SWITCH_EVENT_CUSTOM, "some_subclass_string") == SWITCH_STATUS_SUCCESS) {
        switch_event_add_header(event, "event_info", "hello world %d", 42);
        switch_event_fire(&event);
}

switch_event_add_header(event, "test %d", 42);

also you can serialize and event into a buffer in
a printable/transferrable format with optional body

char buf[1024];

with body:
switch_event_serialize(event, buf, sizeof(buf), "This is a body my favorite number is %d", 42);

no body:
switch_event_serialize(event, buf, sizeof(buf), NULL);




172 annotated / raw | Diffs: previous, other | Lines: 453 ( +185, -25 )

Created: 2005-12-19 13:55:31 -0500 (2 years 6 months ago) | Author: anthm | Changeset: 172

yet more rearrangment of events ;-)

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

Created: 2005-12-15 18:56:21 -0500 (2 years 6 months ago) | Author: anthm | Changeset: 159

add untested event changes

158 annotated / raw | Diffs: previous, other | Lines: 288 ( +11, -8 )

Created: 2005-12-15 15:20:57 -0500 (2 years 6 months ago) | Author: anthm | Changeset: 158

update

156 annotated / raw | Diffs: previous, other | Lines: 285 ( +64, -33 )

Created: 2005-12-15 14:10:43 -0500 (2 years 6 months ago) | Author: anthm | Changeset: 156

make eventing cooler, yeah I know it's only 1 day old but... *shrug*

153 annotated / raw | Diffs: previous, other | Lines: 254 ( +43, -3 )

Created: 2005-12-14 17:46:09 -0500 (2 years 6 months ago) | Author: anthm | Changeset: 153

more event code

152 annotated / raw | Diffs: previous, other | Lines: 214 ( +49, -44 )

Created: 2005-12-14 16:29:46 -0500 (2 years 6 months ago) | Author: anthm | Changeset: 152

make events queue in the bg

151 annotated / raw | Diffs: previous, other | Lines: 209 ( +114, -14 )

Created: 2005-12-14 15:22:19 -0500 (2 years 6 months ago) | Author: anthm | Changeset: 151

update

146 annotated / raw | Diffs: previous, other | Lines: 109 ( +1, -1 )

Created: 2005-12-13 20:40:51 -0500 (2 years 6 months ago) | Author: anthm | Changeset: 146

update

131 new annotated / raw | Lines: 109 ( +109, -0 )

Created: 2005-12-13 15:52:33 -0500 (2 years 6 months ago) | Author: anthm | Changeset: 131

events