Anthony Minessale
4d2dfa633b
add a new dialplan module
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6205 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-09 19:25:46 +00:00
Anthony Minessale
713afbd975
add some logic tools
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6189 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-08 23:46:26 +00:00
Anthony Minessale
d2bd9c4fa3
add more nested var tricks
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6174 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-07 18:34:56 +00:00
Anthony Minessale
43092c75f7
add more nested var tricks
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6173 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-07 18:28:33 +00:00
Anthony Minessale
14396001d2
fix nested brackets
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6172 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-07 02:14:57 +00:00
Anthony Minessale
3c470c8943
doh
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6171 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-07 01:33:31 +00:00
Anthony Minessale
22d52836e0
recurse variable expansion in api variables
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6169 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-07 00:00:51 +00:00
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
Anthony Minessale
10d7d619f6
make channel hangup with media_timeout cause when rtp timeout occurs
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6095 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-31 13:08:45 +00:00
Anthony Minessale
592ee146fb
sigh
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6023 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-23 01:29:37 +00:00
Anthony Minessale
6b1fa2191b
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5992 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-19 15:31:02 +00:00
Anthony Minessale
65b2ec6990
change var parser to ${func(arg)}
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5979 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-18 21:36:57 +00:00
Anthony Minessale
c6231acb7c
change dialplan a little (part2)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5939 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-17 18:37:18 +00:00
Anthony Minessale
7c8b72b9fe
change dialplan a little
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5938 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-17 18:26:08 +00:00
Anthony Minessale
cdb5862d40
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5831 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-09 15:29:18 +00:00
Anthony Minessale
b293f4874e
now support 3pcc (forgot this)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5819 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-05 17:42:21 +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
50390a7083
improve mod-fifo
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5779 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-02 19:58:06 +00:00
Anthony Minessale
cbac77fa9f
refactor xml cdr and some cleanup
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5778 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-02 16:38:15 +00:00
Michael Jerris
8f963f4aea
windows build fixes.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5767 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-30 16:59:32 +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
Anthony Minessale
d33b5670f0
fix some races and alter core (do a full rebuild)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5751 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-24 19:34:25 +00:00
Anthony Minessale
981c4371bf
fix for FSCORE-51 (maybe 2)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5750 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-24 16:56:40 +00:00
Anthony Minessale
76f7bf6fdb
fix for FSCORE-51 (maybe)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5749 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-24 16:10:12 +00:00
Anthony Minessale
2e741ff1c9
fix backlash from profile clone change
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5705 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-12 22:36:26 +00:00
Anthony Minessale
c02f435a30
let hangup app optionally take a digit string for exact cause
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5497 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-07-03 21:05:41 +00:00
Anthony Minessale
333fa35773
add reset state (make sure you do full rebuild)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5493 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-07-03 02:10:35 +00:00
Anthony Minessale
fdf9a8f052
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5465 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-25 21:25:33 +00:00
Michael Jerris
d2d87cf6a1
protect the hash.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5451 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-24 04:06:05 +00:00
Anthony Minessale
fc9195fe60
avoiding deadlock
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5423 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-20 14:50:02 +00:00
Michael Jerris
5b27ad1332
add userdata param to switch_log_printf so we can pass uuid or other session or other identification information to the logger.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5412 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-20 09:19:45 +00:00
Anthony Minessale
efca0c8087
hack up the core with a butcher knife
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5314 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-12 21:00:26 +00:00
Anthony Minessale
724de2b52d
add selective challenge to sofia via reject app
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5297 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-08 22:28:32 +00:00
Anthony Minessale
0e3b4cada3
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5267 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-05 16:50:51 +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
d6efffd9bc
these aren't the droids you're looking for....
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5115 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-09 19:44:15 +00:00
Michael Jerris
ac065100b6
fix build on msvc.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5037 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-29 01:51:32 +00:00
Anthony Minessale
6a392d2577
add locking to vars
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5035 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-28 21:48:03 +00:00
Anthony Minessale
8755dea7b8
add backslash to escape the backslash escape char in channel variable expansion
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4996 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-21 14:23:12 +00:00
Anthony Minessale
d73dc724ef
add backslash escape char in channel variable expansion
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4995 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-21 14:17:43 +00:00
Anthony Minessale
f40f87ebca
<refactor>
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4944 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-16 16:53:30 +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
Anthony Minessale
ad7a1b2e67
hold stuff
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4816 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-30 22:13:19 +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
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
Michael Jerris
34359cb61c
fix seg.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4777 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-28 12:30:20 +00:00
Anthony Minessale
9bacb04df9
cleanup
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4720 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-21 21:23:40 +00:00
Anthony Minessale
78c058423b
tweaks to file buffering
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4575 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-12 20:17:34 +00:00