Anthony Minessale
99026e02e7
event socket / ESL improvements
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12228 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-21 23:19:58 +00:00
Anthony Minessale
f125872c73
FSCORE-297
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12173 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-20 01:10:59 +00:00
Anthony Minessale
da507c5f1e
add resampler to speech handles
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12141 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-18 18:53:28 +00:00
Michael Jerris
12de5b8621
tweak
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12056 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-16 17:52:16 +00:00
Anthony Minessale
29b2be9da3
FSCORE-298
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12046 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-16 13:59:13 +00:00
Brian West
babb2f83f5
update copyright
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12004 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-13 23:37:37 +00:00
Brian West
ae220d3341
update email
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11643 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-04 21:20:54 +00:00
Anthony Minessale
0463541d61
change low res sleep func api names
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11486 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-25 21:23:07 +00:00
Anthony Minessale
f60f17d391
pause media bugs while not in a bridge while inside mod_fifo
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11466 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-23 18:44:25 +00:00
Anthony Minessale
ec3f6f4ec6
add chat interface EXTRAGUY-00
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11319 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-20 20:49:47 +00:00
Anthony Minessale
ea5c385281
numerous fixes from regression testing
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11104 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-09 20:34:01 +00:00
Anthony Minessale
e9d7a4a4a0
adjustment
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10876 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-18 23:07:32 +00:00
Anthony Minessale
9b98c2d512
cleaning up stupid mess (lesson in regressions for Math`)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10472 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-20 02:27:59 +00:00
Anthony Minessale
412fc926ea
wait for reply of refer
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10471 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-20 02:07:59 +00:00
Anthony Minessale
a36eccb8ee
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10417 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-15 15:19:28 +00:00
Anthony Minessale
2ed601f934
more stuff
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10410 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-14 23:31:21 +00:00
Anthony Minessale
1d74ab745b
more ref checking
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10375 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-13 17:40:25 +00:00
Anthony Minessale
9f3f08e7c5
possible fix for FSCORE-221
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10346 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-12 11:44:13 +00:00
Anthony Minessale
49f353b74e
Adjust core and add video caps to mod_conference with video follow audio (first cut)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10314 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-10 18:26:41 +00:00
Michael Jerris
837b2c9bed
tweak windows build
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10271 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-06 16:35:48 +00:00
Michael Jerris
af0d0d28c4
remove extra ;s
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10251 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-05 17:12:26 +00:00
Anthony Minessale
c217d45cf0
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10244 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-05 00:20:30 +00:00
Anthony Minessale
c9a24dd36e
Add ability to choose uuid from originate string (use at your own risk)
...
[origination_uuid=someid]sofia/default/100@dom.com
it's only valid in [], cannot be used on 2 existing calls at once and is not
reccommended if you don't need it.
event_socket users can use it to do
api create_uuid
#### (then save uuid into a local variable say $uuid) ###
filter unique-id $uuid
events all
originate [origination_uuid=$uuid]sofia/default/100@dom.com
Then you can get all the events in anticipation on that channel.
Anything people do to cause problems misusing this will not be supported.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10239 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-04 16:46:33 +00:00
Anthony Minessale
44b6886c7a
add tz stuff to mod_say_en, other langs need similar code
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10214 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-31 20:24:06 +00:00
Anthony Minessale
81c1dc0de9
redo some stuff
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10206 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-30 22:40:39 +00:00
Anthony Minessale
42dd42ebb6
simplify switch_core_service_session to protect against a race condition
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10136 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-23 23:48:11 +00:00
Anthony Minessale
d288630b64
add scheduler support for heartbeat
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10089 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-21 16:22:38 +00:00
Anthony Minessale
e4dfc81579
doh
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10048 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-17 00:10:49 +00:00
Anthony Minessale
b83dce5c1d
avoiding deadlock
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10045 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-16 16:34:52 +00:00
Anthony Minessale
f9d1c7990d
cleanup
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10009 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-14 18:03:14 +00:00
Anthony Minessale
584669c25e
add switch_core_session_get_id function
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9899 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-08 20:59:16 +00:00
Anthony Minessale
fc0c89c642
add session heartbeat feature
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9882 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-07 21:03:37 +00:00
Michael Jerris
1227d506df
move mod_timezone functions into core (part 2/3)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9738 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-29 16:58:31 +00:00
Michael Jerris
9fc927a8b4
move mod_timezone functions into core (part 1/2)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9736 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-29 15:44:19 +00:00
Michael Jerris
b2985ea2a2
tweak
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9658 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-26 16:40:16 +00:00
Anthony Minessale
1c15146866
add patch from MODAPP-86
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9653 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-26 15:50:12 +00:00
Anthony Minessale
b1e72c8b6e
improve shutdown/unload
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9573 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-16 17:12:14 +00:00
Robert Joly
59d134c73a
Added some const kerywords to parameters.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9476 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-07 03:59:39 +00:00
Anthony Minessale
b734a677d4
add new func to the core
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9208 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-30 15:04:56 +00:00
Michael Jerris
ce1badf9c8
windows build cleanup
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9206 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-30 05:32:51 +00:00
Anthony Minessale
3d486a3445
add some more stuff to sho
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9134 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-22 17:19:26 +00:00
Anthony Minessale
4722de507b
add domain-based acl auth thingy
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9056 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-16 17:44:54 +00:00
Anthony Minessale
bc2fc3fa14
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9040 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-15 17:39:16 +00:00
Anthony Minessale
55399ddf61
make codec pointers more reliable
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8958 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-09 16:44:19 +00:00
Michael Jerris
64997c4d8e
vim extendtab is bad
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8894 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-03 19:12:26 +00:00
Anthony Minessale
43b712b7b1
add some write locks to the core and a function to unregister event bindings
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8880 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-01 23:41:09 +00:00
Anthony Minessale
3c349c274e
indent pass 1
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8686 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-27 04:30:03 +00:00
Anthony Minessale
54bda58a95
dox
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8683 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-27 02:30:37 +00:00
Michael Jerris
699dd0ca9d
doxygen tweaks
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8664 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-26 17:08:39 +00:00
Stefan Knoblich
b69a34c778
More doxygen updates, stuff that needs work is marked with NEEDDESC
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8657 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-26 09:55:20 +00:00
Stefan Knoblich
f18773c5c5
some doxygen fixes
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8653 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-26 01:56:31 +00:00
Anthony Minessale
1ea027f37f
add var_event down into the endpoints so chans with no parents can still pass options
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8416 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-15 19:29:35 +00:00
Anthony Minessale
c4a18a09c2
spring cleaning, lose some pointless code
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8310 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-08 19:19:47 +00:00
Anthony Minessale
8b6dc52cb9
dunno, some stuff...
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8179 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-23 17:38:13 +00:00
Anthony Minessale
0564d81e09
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8176 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-23 16:46:24 +00:00
Anthony Minessale
96ff2abcd7
make dtmf duration defaults tweakable
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8126 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-18 17:03:34 +00:00
Anthony Minessale
412e45dd62
time sync stuff for vps
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8122 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-16 22:02:06 +00:00
Anthony Minessale
d3be2ae749
add execute_on_answer magic variable
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8003 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-02 15:11:07 +00:00
Anthony Minessale
bba65f4a1e
add acl stuff
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7966 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-26 22:14:09 +00:00
Anthony Minessale
6667eed75e
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7908 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-17 23:26:38 +00:00
Anthony Minessale
1cf6273641
spray the core with scotchguard(tm)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7889 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-14 03:47:45 +00:00
Anthony Minessale
2294d90653
fix a bunch more stuff that broke from fixing it yesterday!
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7857 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-11 16:55:58 +00:00
Anthony Minessale
a9235b1b22
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7800 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-06 03:11:20 +00:00
Anthony Minessale
be1abfe573
add in switch_core_signal_lock/unlock
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7737 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-26 16:55:40 +00:00
Anthony Minessale
26df42f28c
more protection
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7718 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-21 21:38:49 +00:00
Anthony Minessale
1f52fe1eca
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7618 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-15 16:01:12 +00:00
Anthony Minessale
a3081374a1
few core tweaks
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7565 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-09 00:38:23 +00:00
Brian West
b0ad7ab50c
set tab mode properly
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7500 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-03 22:14:57 +00:00
Michael Jerris
7efeb68228
code analysis for hash functions.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7404 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-28 09:27:01 +00:00
Michael Jerris
284d03e5e1
code analysis, bounds checks, buffer overrun fixes.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7403 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-28 08:47:55 +00:00
Michael Jerris
482badffca
code analysis, clean up asserts related to switch_core_session_get_channel.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7402 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-28 07:26:10 +00:00
Brian West
84161010ab
cleanup and consistency.. blah rain @ PHX fun
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7396 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-27 20:01:02 +00:00
Anthony Minessale
58a8979c6e
tweak
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7199 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-13 18:39:51 +00:00
Anthony Minessale
3a5a239846
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
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7193 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-12 20:30:48 +00:00
Anthony Minessale
143bed09a3
try to use clock_gettime to make sure we don't care if the system time changes
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7165 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-11 00:43:49 +00:00
Anthony Minessale
9f6f77014f
leak protection, better than mighty putty
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7141 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-08 18:35:51 +00:00
Anthony Minessale
59ac0a27a2
fix FSCORE-82
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7132 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-07 20:40:59 +00:00
Michael Jerris
ee82edb170
correct param requirements
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7058 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-02 07:00:07 +00:00
Michael Jerris
5fac88fdf1
make param optional
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7034 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-30 23:26:03 +00:00
Michael Jerris
2f360ae1f4
code analysis
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7031 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-30 21:42:15 +00:00
Michael Jerris
78d31805e6
code analysis.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7029 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-30 04:32:28 +00:00
Michael Jerris
33bd22a308
avoid seg on invalid params to record app.(MODAPP-63)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7026 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-29 23:15:57 +00:00
Michael Jerris
2847d1c04e
more error checking.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6954 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-22 01:00:10 +00:00
Anthony Minessale
2931fc9109
dtmf overhaul testers wanted
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6952 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-22 00:32:20 +00:00
Anthony Minessale
8433c7e088
fix FSCORE-74
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6921 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-20 21:42:00 +00:00
Michael Jerris
e3c48c6ac1
add more function details for code analysis.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6911 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-20 03:07:00 +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
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
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
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
Anthony Minessale
6481a0d11b
add RECORD_ANSWER_REQ var
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6389 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-23 18:35:38 +00:00
Michael Jerris
7b6182aa13
const qualifiers in asr/tts interfaces.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6121 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-01 11:55:00 +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
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
Anthony Minessale
42644022e1
improvements
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5967 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-18 16:17:42 +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
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
Anthony Minessale
1a091c1ad2
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.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5664 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-25 21:33:26 +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
Anthony Minessale
f1bede824c
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5318 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-13 03:09:53 +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
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
Anthony Minessale
46043b05e0
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5182 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-15 00:05:32 +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
1cb336eaf0
add some robustness to deal with runaway threads
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5140 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-11 00:27:55 +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
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
Anthony Minessale
7da3873056
add app log
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4994 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-21 01:03:58 +00:00
Anthony Minessale
b5a10d5a14
add new execute_extension application to execute another extension in the current scope
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4993 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-20 23:45:14 +00:00
Anthony Minessale
a1725ad334
modest core framework for video stuff
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4977 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-19 21:40:50 +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
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
Anthony Minessale
d9de1807ee
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");
}
////////////////////////////////////////////////////////////////////////////////
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4773 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-27 00:40:53 +00:00
Brian West
ffde2ff0af
update2
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4600 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-15 01:58:41 +00:00
Anthony Minessale
d69cde6367
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4598 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-15 00:36:14 +00:00
Anthony Minessale
5131ee1cae
add management interface and some rtp goodies
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4464 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-07 18:34:22 +00:00
Michael Jerris
ec3fcde87d
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.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4454 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-05 23:18:29 +00:00
Brian West
0ddffd3ef6
fix potential naughty bug you will need 'make sure'
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4432 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-02 23:38:01 +00:00
Anthony Minessale
ed76b25241
cleanup
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4419 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-01 17:23:02 +00:00
Anthony Minessale
a88da36253
add heartbeat event and core uuid
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4347 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-22 17:38:34 +00:00
Anthony Minessale
6c0152ca2f
try to pass 2833-pt across calls
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4344 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-21 21:46:32 +00:00
Michael Jerris
915944b7ed
add pool allocated printf function switch_core_sprintf
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4339 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-20 21:54:23 +00:00
Michael Jerris
bbf3c290d9
add switch_core_session_sprintf which allocates from the session pool
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4319 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-19 02:21:27 +00:00
Michael Jerris
9fc1f45ebd
constify switch_core_hash functions and some of their consumers.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4304 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-16 23:36:10 +00:00
Michael Jerris
2b507706c9
switch_core_session_strdup now takes const char * arg.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4264 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 19:14:53 +00:00
Michael Jerris
251723ba41
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.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4260 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 17:28:42 +00:00
Michael Jerris
258e28dd11
constification for switch_core_hash_find and switch_event_create_subclass
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4251 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 03:22:43 +00:00
Anthony Minessale
a62d9fd951
lord of the rings
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4230 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 15:47:15 +00:00
Michael Jerris
db5557983a
use const for switch_core_permanent_strdup var.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4220 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 02:31:26 +00:00
Anthony Minessale
f03226debb
update core
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4181 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-09 20:03:07 +00:00
Michael Jerris
f359f847f7
fix magic emacs and vi formatting comments in the bottom of our source files to use tabs instead of spaces
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4176 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-09 02:36:03 +00:00
Anthony Minessale
ed41805c17
improve core and basic flow
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4174 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-09 01:34:01 +00:00
Anthony Minessale
cb587626ea
timer mojo (cont)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4151 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-07 19:18:15 +00:00
Anthony Minessale
66feec2da5
timer mojo
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4149 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-07 18:44:00 +00:00
Anthony Minessale
59ed99a9a8
core framework for reverse media bugs
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4105 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-31 23:09:33 +00:00
Anthony Minessale
d3e1f400e5
tweak core for build err and add core_get_var
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4021 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-22 21:59:07 +00:00
Anthony Minessale
c4717f9077
fix locking and add lock debugging as a define
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3870 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-29 16:39:56 +00:00
Anthony Minessale
81452c2679
autodroolz
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3707 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-19 00:41:20 +00:00
Anthony Minessale
d7400bf319
build changed
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3690 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-18 00:48:34 +00:00
Anthony Minessale
44cc7d5cfe
build progress break everything
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3682 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-17 01:01:09 +00:00
Michael Jerris
44649c70b4
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:
*/
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3462 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-27 22:30:48 +00:00
Anthony Minessale
d7baa16132
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)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3408 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-19 01:05:06 +00:00
Anthony Minessale
89989bc34f
vg mode
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3388 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-16 19:43:25 +00:00