Quick Search:

Line History

line history graph

Show Arbitrary Diff

From to

Supports revisions and tags.

History

root: 9208 52

latest revision download Branch root:

9208 annotated / raw | Diffs: previous, other | Lines: 1672 ( +1, -1 )

Created: 2008-07-30 11:04:56 -0400 (30 days ago) | Author: anthm | Changeset: 9208

add new func to the core

9206 annotated / raw | Diffs: previous, other | Lines: 1672 ( +1, -1 )

Created: 2008-07-30 01:32:51 -0400 (30 days ago) | Author: mikej | Changeset: 9206

windows build cleanup

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

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

add some more stuff to sho

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

Created: 2008-07-16 13:44:54 -0400 (44 days ago) | Author: anthm | Changeset: 9056

add domain-based acl auth thingy

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

Created: 2008-07-15 13:39:16 -0400 (45 days ago) | Author: anthm | Changeset: 9040

update

8958 annotated / raw | Diffs: previous, other | Lines: 1667 ( +14, -0 )

Created: 2008-07-09 12:44:19 -0400 (51 days ago) | Author: anthm | Changeset: 8958

make codec pointers more reliable

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

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

vim extendtab is bad

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

Created: 2008-07-01 19:41:09 -0400 (58 days 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: 1650 ( +54, -58 )

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

indent pass 1

8683 annotated / raw | Diffs: previous, other | Lines: 1654 ( +46, -33 )

Created: 2008-05-26 22:30:37 -0400 (3 months 2 days ago) | Author: anthm | Changeset: 8683

dox

8664 annotated / raw | Diffs: previous, other | Lines: 1641 ( +5, -5 )

Created: 2008-05-26 13:08:39 -0400 (3 months 3 days ago) | Author: mikej | Changeset: 8664

doxygen tweaks

8657 annotated / raw | Diffs: previous, other | Lines: 1641 ( +42, -8 )

Created: 2008-05-26 05:55:20 -0400 (3 months 3 days ago) | Author: stkn | Changeset: 8657

More doxygen updates, stuff that needs work is marked with NEEDDESC

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

Created: 2008-05-25 21:56:31 -0400 (3 months 3 days ago) | Author: stkn | Changeset: 8653

some doxygen fixes

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

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

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

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

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

spring cleaning, lose some pointless code

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

Created: 2008-04-23 13:38:13 -0400 (4 months 6 days ago) | Author: anthm | Changeset: 8179

dunno, some stuff...

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

Created: 2008-04-23 12:46:24 -0400 (4 months 6 days ago) | Author: anthm | Changeset: 8176

update

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

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

make dtmf duration defaults tweakable

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

Created: 2008-04-16 18:02:06 -0400 (4 months 12 days ago) | Author: anthm | Changeset: 8122

time sync stuff for vps

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

Created: 2008-04-02 11:11:07 -0400 (4 months 27 days ago) | Author: anthm | Changeset: 8003

add execute_on_answer magic variable

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

Created: 2008-03-26 18:14:09 -0400 (5 months 2 days ago) | Author: anthm | Changeset: 7966

add acl stuff

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

Created: 2008-03-17 19:26:38 -0400 (5 months 11 days ago) | Author: anthm | Changeset: 7908

update

7889 annotated / raw | Diffs: previous, other | Lines: 1610 ( +13, -7 )

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

spray the core with scotchguard(tm)

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

Created: 2008-03-11 12:55:58 -0400 (5 months 18 days ago) | Author: anthm | Changeset: 7857

fix a bunch more stuff that broke from fixing it yesterday!

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

Created: 2008-03-05 22:11:20 -0500 (5 months 23 days ago) | Author: anthm | Changeset: 7800

update

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

Created: 2008-02-26 11:55:40 -0500 (6 months ago) | Author: anthm | Changeset: 7737

add in switch_core_signal_lock/unlock

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

Created: 2008-02-21 16:38:49 -0500 (6 months ago) | Author: anthm | Changeset: 7718

more protection

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

Created: 2008-02-15 11:01:12 -0500 (6 months ago) | Author: anthm | Changeset: 7618

update

7565 annotated / raw | Diffs: previous, other | Lines: 1590 ( +30, -0 )

Created: 2008-02-08 19:38:23 -0500 (6 months ago) | Author: anthm | Changeset: 7565

few core tweaks

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

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

set tab mode properly

7404 annotated / raw | Diffs: previous, other | Lines: 1560 ( +8, -8 )

Created: 2008-01-28 04:27:01 -0500 (7 months ago) | Author: mikej | Changeset: 7404

code analysis for hash functions.

7403 annotated / raw | Diffs: previous, other | Lines: 1560 ( +3, -3 )

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

code analysis, bounds checks, buffer overrun fixes.

7402 annotated / raw | Diffs: previous, other | Lines: 1560 ( +2, -2 )

Created: 2008-01-28 02:26:10 -0500 (7 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: 1560 ( +1, -1 )

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

cleanup and consistency.. blah rain @ PHX fun

7199 annotated / raw | Diffs: previous, other | Lines: 1560 ( +1, -1 )

Created: 2008-01-13 13:39:51 -0500 (7 months ago) | Author: anthm | Changeset: 7199

tweak

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

Created: 2008-01-12 15:30:48 -0500 (7 months ago) | Author: anthm | Changeset: 7193

Formatting DTMF as a string

a '+' separated list of DTMF strings

Each element in the list can contain an @ followed by
a duration in ms.

e.g.
1234@250+4321@500

sends the digits 1 2 3 4 at a rate of 250ms then
4 3 2 1 at a rate of 500


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

Created: 2008-01-10 19:43:49 -0500 (7 months ago) | Author: anthm | Changeset: 7165

try to use clock_gettime to make sure we don't care if the system time changes

7141 annotated / raw | Diffs: previous, other | Lines: 1557 ( +10, -6 )

Created: 2008-01-08 13:35:51 -0500 (7 months ago) | Author: anthm | Changeset: 7141

leak protection, better than mighty putty

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

Created: 2008-01-07 15:40:59 -0500 (7 months ago) | Author: anthm | Changeset: 7132

fix FSCORE-82

7058 annotated / raw | Diffs: previous, other | Lines: 1552 ( +1, -1 )

Created: 2008-01-02 02:00:07 -0500 (7 months ago) | Author: mikej | Changeset: 7058

correct param requirements

7034 annotated / raw | Diffs: previous, other | Lines: 1552 ( +1, -1 )

Created: 2007-12-30 18:26:03 -0500 (7 months ago) | Author: mikej | Changeset: 7034

make param optional

7031 annotated / raw | Diffs: previous, other | Lines: 1552 ( +62, -52 )

Created: 2007-12-30 16:42:15 -0500 (7 months ago) | Author: mikej | Changeset: 7031

code analysis

7029 annotated / raw | Diffs: previous, other | Lines: 1542 ( +7, -3 )

Created: 2007-12-29 23:32:28 -0500 (7 months ago) | Author: mikej | Changeset: 7029

code analysis.

7026 annotated / raw | Diffs: previous, other | Lines: 1538 ( +1, -1 )

Created: 2007-12-29 18:15:57 -0500 (7 months ago) | Author: mikej | Changeset: 7026

avoid seg on invalid params to record app.(MODAPP-63)

6954 annotated / raw | Diffs: previous, other | Lines: 1538 ( +54, -49 )

Created: 2007-12-21 20:00:10 -0500 (8 months ago) | Author: mikej | Changeset: 6954

more error checking.

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

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

dtmf overhaul testers wanted

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

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

fix FSCORE-74

6911 annotated / raw | Diffs: previous, other | Lines: 1530 ( +17, -14 )

Created: 2007-12-19 22:07:00 -0500 (8 months ago) | Author: mikej | Changeset: 6911

add more function details for code analysis.

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

Created: 2007-12-11 14:15:02 -0500 (8 months ago) | Author: anthm | Changeset: 6658

add rtp port allocator

6535 annotated / raw | Diffs: previous, other | Lines: 1525 ( +2, -2 )

Created: 2007-12-06 08:40:00 -0500 (8 months ago) | Author: mikej | Changeset: 6535

only set console when we have a console

6509 annotated / raw | Diffs: previous, other | Lines: 1525 ( +2, -2 )

Created: 2007-12-04 18:18:24 -0500 (8 months ago) | Author: mikej | Changeset: 6509

remove file logging from automatically being set on the core console handle.  You must now use mod_logfile to do file logging.

6418 annotated / raw | Diffs: previous, other | Lines: 1525 ( +1, -1 )

Created: 2007-11-28 15:44:18 -0500 (9 months ago) | Author: anthm | Changeset: 6418

add mime types to webserver

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

Created: 2007-11-26 18:41:00 -0500 (9 months ago) | Author: anthm | Changeset: 6399

improve voicemail

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

Created: 2007-11-23 13:35:38 -0500 (9 months ago) | Author: anthm | Changeset: 6389

add RECORD_ANSWER_REQ var

6121 annotated / raw | Diffs: previous, other | Lines: 1514 ( +8, -4 )

Created: 2007-11-01 07:55:00 -0400 (9 months ago) | Author: mikej | Changeset: 6121

const qualifiers in asr/tts interfaces.

6120 annotated / raw | Diffs: previous, other | Lines: 1510 ( +7, -7 )

Created: 2007-11-01 07:28:26 -0400 (9 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.

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

Created: 2007-10-23 11:56:23 -0400 (10 months ago) | Author: mikej | Changeset: 6033

add -u and -g command line args to set user and group.
properly handle portability for mlockall and setrlimit
Tested on linux, Freebsd, solaris, mac.
FSCORE-47

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

Created: 2007-10-18 12:17:42 -0400 (10 months ago) | Author: anthm | Changeset: 5967

improvements

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

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

a bunch of fixes

5790 annotated / raw | Diffs: previous, other | Lines: 1492 ( +1, -1 )

Created: 2007-10-03 19:43:01 -0400 (10 months ago) | Author: anthm | Changeset: 5790

add fsctl loglevel [<level>] fsctl command

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

Created: 2007-10-03 12:44:11 -0400 (10 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: 1484 ( +19, -24 )

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

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

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

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

Created: 2007-08-25 17:33:26 -0400 (12 months ago) | Author: anthm | Changeset: 5664

change javascript and confernece to use cached speech handles
This is for better performace and to take atvantage of mrcp connections.
There should be no apparent change in usage.
The conference now supports changing the voice via the text string
by starting a text blurb with #voice# eg

#william#This will sound like William.


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

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

stage 1 of wrecking ball (duck!)

5318 annotated / raw | Diffs: previous, other | Lines: 1481 ( +15, -2 )

Created: 2007-06-12 23:09:53 -0400 (14 months ago) | Author: anthm | Changeset: 5318

update

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

Created: 2007-06-12 17:00:26 -0400 (14 months ago) | Author: anthm | Changeset: 5314

hack up the core with a butcher knife

5236 annotated / raw | Diffs: previous, other | Lines: 1460 ( +1, -1 )

Created: 2007-05-31 10:42:23 -0400 (14 months ago) | Author: anthm | Changeset: 5236

add timout to record and time tables to all the channel events

5183 annotated / raw | Diffs: previous, other | Lines: 1460 ( +1, -1 )

Created: 2007-05-14 22:21:53 -0400 (15 months ago) | Author: anthm | Changeset: 5183

fix locking bug

5182 annotated / raw | Diffs: previous, other | Lines: 1460 ( +2, -2 )

Created: 2007-05-14 20:05:32 -0400 (15 months ago) | Author: anthm | Changeset: 5182

update

5165 annotated / raw | Diffs: previous, other | Lines: 1460 ( +6, -6 )

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

adding const qualifiers across the api as appropriate.

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

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

add some robustness to deal with runaway threads

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

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

general improvements

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

Created: 2007-04-21 21:25:02 -0400 (16 months ago) | Author: mikej | Changeset: 4999

add cumulative count of sessions from switch startup.  Resolves http://jira.freeswitch.org/browse/FSCORE-18.  Updated patch to change data type of session_id to avoid rollover (wouldn't that be nice) and added - 1 to accurately reflect count.  Thanks bkw for the patch.

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

Created: 2007-04-20 21:03:58 -0400 (16 months ago) | Author: anthm | Changeset: 4994

add app log

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

Created: 2007-04-20 19:45:14 -0400 (16 months ago) | Author: anthm | Changeset: 4993

add new execute_extension application to execute another extension in the current scope

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

Created: 2007-04-19 17:40:50 -0400 (16 months ago) | Author: anthm | Changeset: 4977

modest core framework for video stuff

4944 annotated / raw | Diffs: previous, other | Lines: 1395 ( +8, -7 )

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

<refactor>

4799 annotated / raw | Diffs: previous, other | Lines: 1394 ( +18, -18 )

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

indent again

4798 annotated / raw | Diffs: previous, other | Lines: 1394 ( +57, -112 )

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

indent

4795 annotated / raw | Diffs: previous, other | Lines: 1449 ( +129, -248 )

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

spring cleaning

4785 annotated / raw | Diffs: previous, other | Lines: 1568 ( +52, -1 )

Created: 2007-03-28 19:37:12 -0400 (17 months ago) | Author: anthm | Changeset: 4785

Addition of scheduler engine and a few applications to use it.

This patch adds a scheduler thread to the core and moves the heartbeat
event to use the new scheduler as an example.

Also The following features are implemented that use this scheduler:

sched_hangup dialplan application:

<action application="sched_hangup" data="+10 normal_clearing bleg"/>

** The cause code is optional and the optional bleg keyword will only hangup the
  channel the current channel is bridged to if the call is in a bridge.

sched_transfer dialplan application:

<action application="sched_transfer" data="+10 1000 XML default"/>

** The last 2 args (dialplan and context) are optional

sched_broadcast dialplan application:

<action application="sched_broadcast" data="+10 playback:/tmp/foo.wav"/>
<action application="sched_broadcast" data="+10 playback!normal_clearing:/tmp/foo.wav"/>

** The optional !<cause_code> can be added to make the channel hangup after broadcasting the file.


sched_hangup api function:

sched_hangup +10 <uuid_string> normal_clearing

** The cause code is optional

sched_transfer api function:

sched_transfer +10 <uuid_string> 1000 XML default

** The last 2 args (dialplan and context) are optional

sched_broadcast api function:

sched_broadcast +10 <uuid_str> playback:/tmp/foo.wav
sched_broadcast +10 <uuid_str> playback!normal_clearing:/tmp/foo.wav

** The optional !<cause_code> can be added to make the channel hangup after broadcasting the file.

The new C functions in the core are documented in the doxeygen.

*NOTE* This commit should satisfy at least 2 bounties on the wiki

4773 annotated / raw | Diffs: previous, other | Lines: 1517 ( +9, -0 )

Created: 2007-03-26 20:40:53 -0400 (17 months ago) | Author: anthm | Changeset: 4773

Add state change i/o hook to the core and change some spidermonkey behaviour.

The most important thing to check is you now must create a new session with a blank constructor:
s = new Session();
then call s.originate() with all the former args that were documented to be for the constructor
this will will return true or false to indicate if the call worked.

See below this sample code demonstrates all of the changes:

////////////////////////////////////////////////////////////////////////////////
function on_hangup(hup_session)
{
   console_log("debug", "HANGUP!!!! name: " + hup_session.name + " cause: " + hup_session.cause + "\n");
        //exit here would end the script so you could cleanup and just be done
        //exit();
}

//set the on_hangup function to be called when this session is hungup
session.setHangupHook(on_hangup);

//allocate a new b_session
var b_session = new Session();

//make a call with b_session.  If this fails, all we will be able to access is the b_session.cause attr
if (b_session.originate(session, "sofia/mydomain.com/888@conference.freeswitch.org")) {
        //Inform the scripting engine to automaticly hang this session up when the script ends
   b_session.setAutoHangup(true);
        //set the on_hangup function to be called when this session is hungup
   b_session.setHangupHook(on_hangup); 
        //bridge session with b_session
   bridge(session, b_session);
} else {
   console_log("debug", "Originate Failed.. cause: " + b_session.cause + "\n");
}
////////////////////////////////////////////////////////////////////////////////




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

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

update2

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

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

update

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

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

add management interface and some rtp goodies

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

Created: 2007-03-05 18:18:29 -0500 (17 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.

4432 annotated / raw | Diffs: previous, other | Lines: 1489 ( +3, -3 )

Created: 2007-03-02 18:38:01 -0500 (17 months ago) | Author: brian | Changeset: 4432

fix potential naughty bug you will need 'make sure'

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

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

cleanup

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

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

add heartbeat event and core uuid

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

Created: 2007-02-21 16:46:32 -0500 (18 months ago) | Author: anthm | Changeset: 4344

try to pass 2833-pt across calls

4339 annotated / raw | Diffs: previous, other | Lines: 1476 ( +9, -0 )

Created: 2007-02-20 16:54:23 -0500 (18 months ago) | Author: mikej | Changeset: 4339

add pool allocated printf function switch_core_sprintf

4319 annotated / raw | Diffs: previous, other | Lines: 1467 ( +9, -0 )

Created: 2007-02-18 21:21:27 -0500 (18 months ago) | Author: mikej | Changeset: 4319

add switch_core_session_sprintf which allocates from the session pool

4304 annotated / raw | Diffs: previous, other | Lines: 1458 ( +3, -3 )

Created: 2007-02-16 18:36:10 -0500 (18 months ago) | Author: mikej | Changeset: 4304

constify switch_core_hash functions and some of their consumers.

4264 annotated / raw | Diffs: previous, other | Lines: 1458 ( +1, -1 )

Created: 2007-02-14 14:14:53 -0500 (18 months ago) | Author: mikej | Changeset: 4264

switch_core_session_strdup now takes const char * arg.

4260 annotated / raw | Diffs: previous, other | Lines: 1458 ( +1, -1 )

Created: 2007-02-14 12:28:42 -0500 (18 months ago) | Author: mikej | Changeset: 4260

fix missing strdup in switch_ivr_menu_bind_function
change most char * values in ivr_menu functions to const char *
change switch_core_strdup to get passed const char * instead of char *
change switch_xml_find_child to get passed const char * instead of char *
change the ivr dialplan application to free the xml config as soon as it is done building the xml menu and not hold it until the menu is done being run, so that you can do a reloadxml while someone is in a menu without blocking.

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

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

constification for switch_core_hash_find and switch_event_create_subclass

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

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

lord of the rings

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

Created: 2007-02-12 21:31:26 -0500 (18 months ago) | Author: mikej | Changeset: 4220

use const for switch_core_permanent_strdup var.

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

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

update core

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

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

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

Created: 2007-02-08 20:34:01 -0500 (18 months ago) | Author: anthm | Changeset: 4174

improve core and basic flow

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

Created: 2007-02-07 14:18:15 -0500 (18 months ago) | Author: anthm | Changeset: 4151

timer mojo (cont)

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

Created: 2007-02-07 13:44:00 -0500 (18 months ago) | Author: anthm | Changeset: 4149

timer mojo

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

Created: 2007-01-31 18:09:33 -0500 (18 months ago) | Author: anthm | Changeset: 4105

core framework for reverse media bugs

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

Created: 2007-01-22 16:59:07 -0500 (19 months ago) | Author: anthm | Changeset: 4021

tweak core for build err and add core_get_var

3870 annotated / raw | Diffs: previous, other | Lines: 1423 ( +47, -0 )

Created: 2006-12-29 11:39:56 -0500 (20 months ago) | Author: anthm | Changeset: 3870

fix locking and add lock debugging as a define

3707 annotated / raw | Diffs: previous, other | Lines: 1376 ( +1, -1 )

Created: 2006-12-18 19:41:20 -0500 (20 months ago) | Author: anthm | Changeset: 3707

autodroolz

3690 annotated / raw | Diffs: previous, other | Lines: 1376 ( +2, -2 )

Created: 2006-12-17 19:48:34 -0500 (20 months ago) | Author: anthm | Changeset: 3690

build changed

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

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

build progress break everything

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

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

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

Created: 2006-11-18 20:05:06 -0500 (21 months ago) | Author: anthm | Changeset: 3408

Ringback (sponsored by Front Logic)

This addition lets you set artifical ringback on a channel
that is waiting for an originated call to be answered.

the syntax is

<action application="set" data="ringback=[data]"/>

where data is either the full path to an audio file
or a teletone generation script..


syntax of teletone scripts

LEGEND:

0-9,a-d,*,# (standard dtmf tones)

variables: c,r,d,v,>,<,+,w,l,L,%

c (channels)        - Sets the number of channels.
r (rate)            - Sets the sample rate.
d (duration)        - Sets the default tone duration.
v (volume)          - Sets the default volume.
> (decrease vol)    - factor to decrease volume by per frame (0 for even decrease across duration).
< (increase vol)    - factor to increase volume by per frame (0 for even increase across duration).
+ (step)            - factor to step by used by < and >.
w (wait)            - default silence after each tone.
l (loops)           - number of times to repeat each tone in the script.
L (LOOPS)           - number of times to repeat the the whole script.
% (manual tone)     - a generic tone specified by a duration, a wait and a list of frequencies.

standard tones can have custom duration per use with the () modifier
7(1000, 500) to generate DTMF 7 for 1 second then pause .5 seconds

EXAMPLES

UK Ring Tone [400+450 hz on for 400ms off for 200ms then 400+450 hz on for 400ms off for 2200ms]
%(400,200,400,450);%(400,2200,400,450)

US Ring Tone [440+480 hz on for 2000ms off for 4000ms]
%(2000,4000,440,480)

ATT BONG [volume level 4000, even decay, step by 2, # key for 60ms with no wait, volume level 2000, 350+440hz {us dialtone} for 940ms
v=4000;>=0;+=2;#(60,0);v=2000;%(940,0,350,440)

SIT Tone 913.8 hz for 274 ms with no wait, 1370.6 hz for 274 ms with no wait, 1776.7 hz for 380ms with no wait
%(274,0,913.8);%(274,0,1370.6);%(380,0,1776.7)

ATTN TONE (phone's off the hook!) 1400+2060+2450+2600 hz for 100ms with 100ms wait
%(100,100,1400,2060,2450,2600)

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

Created: 2006-11-16 14:43:25 -0500 (21 months ago) | Author: anthm | Changeset: 3388

vg mode

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

Created: 2006-11-11 12:36:44 -0500 (21 months ago) | Author: anthm | Changeset: 3313

dox

3291 annotated / raw | Diffs: previous, other | Lines: 1355 ( +95, -24 )

Created: 2006-11-09 00:39:04 -0500 (21 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: 1284 ( +1, -0 )

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

Christmas Presence

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

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

refactoring and general improvement (do a make sure)

3006 annotated / raw | Diffs: previous, other | Lines: 1265 ( +8, -7 )

Created: 2006-10-08 22:24:43 -0400 (22 months ago) | Author: anthm | Changeset: 3006

refine code

2781 annotated / raw | Diffs: previous, other | Lines: 1264 ( +1, -1 )

Created: 2006-09-22 11:22:31 -0400 (23 months ago) | Author: anthm | Changeset: 2781

fixes

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

Created: 2006-09-20 16:25:26 -0400 (23 months ago) | Author: anthm | Changeset: 2765

small core refactoring use -hp arg to gain high priority mode, add fsctl command USAGE: fsctl [hupall|pause|resume|shutdown]

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

Created: 2006-09-18 18:22:25 -0400 (23 months ago) | Author: anthm | Changeset: 2747

pull down stack size another 128k, make the sql use mem cache and add session count to the status command

2669 annotated / raw | Diffs: previous, other | Lines: 1236 ( +14, -0 )

Created: 2006-09-12 18:23:45 -0400 (23 months ago) | Author: anthm | Changeset: 2669

enhance timers and make rtp use it that way

2590 annotated / raw | Diffs: previous, other | Lines: 1222 ( +1, -1 )

Created: 2006-09-08 23:50:04 -0400 (23 months ago) | Author: anthm | Changeset: 2590

dox

2589 annotated / raw | Diffs: previous, other | Lines: 1222 ( +1, -1 )

Created: 2006-09-08 23:47:56 -0400 (23 months ago) | Author: anthm | Changeset: 2589

dox

2588 annotated / raw | Diffs: previous, other | Lines: 1222 ( +48, -1 )

Created: 2006-09-08 23:39:28 -0400 (23 months ago) | Author: anthm | Changeset: 2588

Adding bugs to the core

This is the primary commit to add bugs to the core (media bugs that is)
Media bugs are kind of like what ChanSpy is in Asterisk only cooler (I wrote ChanSpy too so I can say that)

Here is an example of using them to record a call by the higher level switch_ivr functionality passed
up to the dialplan via mod_playback.

The call will be recorded while the some.wav plays then stop for the rest of the call (when some_other.wav plays)

The bugs may have bugs since this is 1 day's work so happy hunting ......

<extension name="42">
 <condition field="destination_number" expression="^42$">
  <action application="set" data="RECORD_TITLE=recording test"/>
  <action application="set" data="RECORD_ARTIST=FreeSWITCH"/>
   <action application="record_session" data="/tmp/rtest.wav"/>
   <action application="playback" data="/tmp/some.wav"/>
   <action application="stop_record_session" data="/tmp/rtest.wav"/>
   <action application="playback" data="/tmp/some_other.wav"/>
 </condition>
</extension>

2555 annotated / raw | Diffs: previous, other | Lines: 1175 ( +1, -1 )

Created: 2006-09-07 11:15:39 -0400 (23 months ago) | Author: anthm | Changeset: 2555

what comes up must come down

2548 annotated / raw | Diffs: previous, other | Lines: 1175 ( +1, -1 )

Created: 2006-09-07 10:23:31 -0400 (23 months ago) | Author: anthm | Changeset: 2548

fix namespace

2542 annotated / raw | Diffs: previous, other | Lines: 1175 ( +1, -1 )

Created: 2006-09-07 01:35:08 -0400 (23 months ago) | Author: mikej | Changeset: 2542

update build on windows from latest core changes.

2540 annotated / raw | Diffs: previous, other | Lines: 1175 ( +53, -1 )

Created: 2006-09-06 23:58:01 -0400 (23 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


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

Created: 2006-08-28 21:13:38 -0400 (2 years ago) | Author: anthm | Changeset: 2420

tweaks

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

Created: 2006-08-19 14:51:22 -0400 (2 years ago) | Author: mikej | Changeset: 2336

Add switch_core_init_and_modload to core, from switch.c.  Add additional shutdown functionality to switch_core_destroy.  move around more code in switch.c and fix freeswitch -stop on windows.

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

Created: 2006-08-17 21:28:50 -0400 (2 years 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();
   }
}



2185 annotated / raw | Diffs: previous, other | Lines: 1105 ( +3, -3 )

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

typo

2139 annotated / raw | Diffs: previous, other | Lines: 1105 ( +19, -0 )

Created: 2006-07-25 18:37:52 -0400 (2 years 1 month ago) | Author: anthm | Changeset: 2139

add metadata functions to sound file api

2048 annotated / raw | Diffs: previous, other | Lines: 1086 ( +1, -1 )

Created: 2006-07-22 17:52:53 -0400 (2 years 1 month ago) | Author: anthm | Changeset: 2048

dox

1988 annotated / raw | Diffs: previous, other | Lines: 1086 ( +1, -1 )

Created: 2006-07-19 14:34:28 -0400 (2 years 1 month ago) | Author: anthm | Changeset: 1988

name change for c++ compate

1846 annotated / raw | Diffs: previous, other | Lines: 1086 ( +19, -2 )

Created: 2006-07-12 14:39:19 -0400 (2 years 1 month ago) | Author: anthm | Changeset: 1846

rearrange the furnature

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

Created: 2006-07-07 14:59:14 -0400 (2 years 1 month ago) | Author: anthm | Changeset: 1788

add session counter and make all sessions hang up elegantly on shutdown

1596 annotated / raw | Diffs: previous, other |