415 Commits

Author SHA1 Message Date
Michael Jerris
622a2733dc 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.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6120 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-01 11:28:26 +00:00
Michael Jerris
358f9610ad fix for MODAPP-41
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6081 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-29 06:42:13 +00:00
Michael Jerris
3ccda4e25e fix segfaults on bad api command usage MODAPP-34
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6010 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-20 06:01:41 +00:00
Brian West
26621a667c tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5998 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-19 17:36:26 +00:00
Michael Jerris
16bfe51c0c move some modules to use .vsprops files to centralize where settings are made and to simplify the project files.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5962 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-18 06:28:27 +00:00
Michael Jerris
bbffdd99ab cleanup some project file properties and hopefully fix the release build enum issue.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5961 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-18 04:15:33 +00:00
Anthony Minessale
01e2f20bc0 smal fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5827 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-06 23:44:39 +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
6d2ff03bb1 add -bleg and -both flags to the transfer api command so you can transfer both sides or the opposite side of a call as well
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5770 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-01 14:57:15 +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
77d753fe8b line endings.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5608 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-19 00:18:34 +00:00
Michael Jerris
62cafc8e33 fix for FSCORE-44, implement uuid_setvar api command.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5568 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-04 06:03:33 +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
Michael Jerris
5991ca60e5 fix for FSCORE-41
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5552 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-03 03:44:27 +00:00
Anthony Minessale
7feef76fb2 add uuid fsapi function, last_file_position variable, and volume controls to js callback volume:+1 etc
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5498 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-07-05 17:03:14 +00:00
Anthony Minessale
4c98a5d5ea add break command
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5464 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-25 18:37:40 +00:00
Michael Jerris
a2a725f915 typo
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5407 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-20 08:44:14 +00:00
Michael Jerris
c257489e6c move mod_commands to use new module loader interfaces.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5397 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-20 03:26:52 +00:00
Anthony Minessale
365b8c515d finish up merge
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5380 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-16 03:43:13 +00:00
Anthony Minessale
4ca73d77e0 upgrade fax_detect to tone_detect
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5379 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-16 02:25:40 +00:00
Anthony Minessale
8d0a8a0d47 add session_displace api and app
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5366 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-15 01:47:48 +00:00
Anthony Minessale
95f007586f stage 1 of wrecking ball (duck!)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5347 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-13 20:40:06 +00:00
Michael Jerris
50fe6fbac8 merge mod_bridgecall, mod_echo, mod_park, and mod_playback all into mod_dptools. You will need to remove these from your modules.conf and configuration files.
move some applications to use the new module interface macros.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5342 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-13 16:00:14 +00:00
Anthony Minessale
a1d4140ce6 add timout to record and time tables to all the channel events
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5236 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-31 14:42:23 +00:00
Anthony Minessale
b7c985096c fix locking bug
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5183 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-15 02:21:53 +00:00
Michael Jerris
521eac756e create macro to define api command prototypes.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5167 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-12 21:36:15 +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
Michael Jerris
bf6a88e818 warnings cleanup.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5085 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-04 02:09:24 +00:00
Anthony Minessale
1be5b1ff45 general improvements
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5078 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-03 16:28:23 +00:00
Anthony Minessale
5a8bb14259 update msg txt
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5039 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-29 03:21:56 +00:00
Anthony Minessale
b37345c370 fix potential NULL fiasco
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5020 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-26 15:02:46 +00:00
Anthony Minessale
7e23633ab2 stop ken's whining
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5008 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-24 01:15:27 +00:00
Michael Jerris
d6fdf60fd6 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.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4999 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-22 01:25:02 +00:00
Michael Jerris
fabed21ea8 fix msvc build, declaration after statement.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4935 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-15 01:06:29 +00:00
Anthony Minessale
f3b1bec5fb update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4933 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-14 01:52:42 +00:00
Anthony Minessale
eb2124ae32 refactor to avoid some potential issues with channels that are hungup instantly after being answered
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4926 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-13 22:15:58 +00:00
Brian West
6355091e0b fix warning as error
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4890 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-08 04:41:10 +00:00
Brian West
2bb347ddfd fix segfault thanks bblack
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4889 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-08 03:53:35 +00:00
Anthony Minessale
7c82c7abd7 add some api commands
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4884 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-07 20:30:28 +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
Anthony Minessale
d518bc2119 add group param to shed_api
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4800 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-30 00:36:02 +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
643ca5c4e7 add 'show tasks' and sched_api api commands
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4797 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-30 00:10:33 +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
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