Michael Jerris
e46266fb4f
cleanup, null checks. etc.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6673 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-11 21:31:57 +00:00
Michael Jerris
55a194e54e
use switch_assert macro
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6661 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-11 19:23:57 +00:00
Anthony Minessale
efb1b62938
add rtp port allocator
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6658 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-11 19:15:02 +00:00
Michael Jerris
cc71ce69e0
handle invalid log level strings. (FSCORE-69)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6604 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-10 19:16:50 +00:00
Michael Jerris
46f2418092
don't blow up on shutdown in -nc mode.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6560 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-07 02:04:23 +00:00
Anthony Minessale
8bf63d3d8c
add mod_cdr_csv
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6542 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-06 19:51:55 +00:00
Michael Jerris
18ca278d9b
only set console when we have a console
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6535 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-06 13:40:00 +00:00
Michael Jerris
7b34d76091
remove file logging from automatically being set on the core console handle. You must now use mod_logfile to do file logging.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6509 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-04 23:18:24 +00:00
Michael Jerris
955b8d8625
better file open failure check (FSCORE-67)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6478 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-03 16:17:28 +00:00
Anthony Minessale
a05c09a69a
add mime types to webserver
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6418 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-28 20:44:18 +00:00
Anthony Minessale
60c783c636
rss feeds of your voicemail
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6417 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-28 19:56:25 +00:00
Anthony Minessale
f64d7e43ce
improve voicemail
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6399 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-26 23:41:00 +00:00
Michael Jerris
e49f38e855
add some missing \n's to switch_log_printf messages.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6390 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-23 18:50:54 +00:00
Anthony Minessale
6c7a868c6e
add global_setvar/getvar api command
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6195 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-09 16:12:11 +00:00
Anthony Minessale
06bab2c04e
add set_global
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6194 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-09 15:55:40 +00:00
Anthony Minessale
23aa165dff
make mailer app name a config option
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6163 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-05 18:45:26 +00:00
Michael Jerris
b382c0a41f
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
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6033 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-23 15:56:23 +00:00
Michael Jerris
5884f34806
fix windows build
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5944 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-17 20:14:19 +00:00
Anthony Minessale
bcc8316df0
add global vars of default ip
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5927 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-17 15:38:57 +00:00
Anthony Minessale
fa51dce82d
auto-create sounds dir
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5902 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-16 17:30:42 +00:00
Anthony Minessale
230a77714d
EXECUTE ORDER 66
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5846 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-12 03:28:59 +00:00
Anthony Minessale
d484959bc9
add loglevel param to switch.conf
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5822 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-05 18:59:18 +00:00
Anthony Minessale
7bf2a6ca5d
add max_sessions fsctl command
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5812 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-05 13:42:11 +00:00
Anthony Minessale
6d091447b1
add sps count to the status output
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5804 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-04 21:35:50 +00:00
Anthony Minessale
2222933908
a bunch of fixes
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5796 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-04 17:25:06 +00:00
Anthony Minessale
0b9482f1fd
add adjustable log level and sps via fsctl
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5793 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-04 14:19:51 +00:00
Anthony Minessale
1667112b3b
add fsctl loglevel [<level>] fsctl command
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5790 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-03 23:43:01 +00:00
Anthony Minessale
bd6bd9ad57
add softtimer to the core, begin framework for static modules and reduces calls to gettimeofday for timestamps
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5784 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-03 16:44:11 +00:00
Anthony Minessale
ffb989e435
tear the hell out of everything and rip it up into itsy bitsy pieces and put it all back together
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5765 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-29 01:06:08 +00:00
Michael Jerris
5bea2ea06c
svn:eol-style properties, and make eol-style consistent in some files.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5738 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-21 18:49:14 +00:00
Michael Jerris
f1222ba2fd
fix for FSCORE-40
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5566 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-03 21:29:01 +00:00
Anthony Minessale
d04d8ffea1
fix startup race
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5502 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-07-06 16:29:25 +00:00
Anthony Minessale
b2b4db1473
rm newline
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5309 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-12 01:24:29 +00:00
Anthony Minessale
bcd32125d0
dox
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5176 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-14 17:10:46 +00:00
Michael Jerris
606199ff20
create macro to define scheduler function prototypes.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5168 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-12 21:43:41 +00:00
Michael Jerris
a4ff7e88da
adding const qualifiers across the api as appropriate.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5165 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-12 14:48:14 +00:00
Anthony Minessale
fc85172efd
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5141 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-11 00:30:23 +00:00
Anthony Minessale
ab34a26079
make crash protection a runtime option instead of a compile-time option
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5123 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-10 16:56:29 +00:00
Anthony Minessale
5d09c438ac
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5046 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-30 23:56:27 +00:00
Michael Jerris
9b1f96a8fc
fix windows build
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4892 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-08 16:16:00 +00:00
Anthony Minessale
3f6520a559
added patch from http://jira.freeswitch.org/browse/FSCORE-25
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4881 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-07 03:07:43 +00:00
Anthony Minessale
101fd38e09
fix race
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4810 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-30 17:25:48 +00:00
Anthony Minessale
33efc5eeb5
tweaks
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4805 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-30 14:57:06 +00:00
Michael Jerris
d292e9de4f
don't export our private functions. fix crash protection build.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4803 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-30 02:20:13 +00:00
Anthony Minessale
c15d7892c0
indent again
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4799 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-30 00:15:25 +00:00
Anthony Minessale
debdfb1aab
indent
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4798 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-30 00:13:31 +00:00
Anthony Minessale
3a54126261
spring cleaning
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4795 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-29 22:31:56 +00:00
Michael Jerris
a021945cef
switch_malloc and switch_zmalloc macros that are fatal if malloc fails both in debug and release modes, switch_zmalloc includes a companion memset for the malloc'd block.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4794 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-29 17:37:42 +00:00
Michael Jerris
bc8a4855a6
use autoconf determined time_t printf format specifier
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4787 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-29 04:08:18 +00:00
Anthony Minessale
8a4406ece2
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
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4785 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-28 23:37:12 +00:00