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
b2f9fae6d1
conference recording
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3139 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-21 21:19:40 +00:00
Michael Jerris
13e67a89e7
don;t think we need sqlite support in sndfile, and it was causing build issues on some freebsd boxes for some reason.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2912 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-01 04:32:52 +00:00
Michael Jerris
96e6e873bf
add mod_native_file to windows build.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2814 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-23 23:22:12 +00:00
Anthony Minessale
a3ce0d36d3
experimental new native code file eg name a ulaw file .PCMU etc
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2783 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-22 19:50:54 +00:00
Michael Jerris
1003a4d404
Cleanups from update to new build system for windows.
...
More to come.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2325 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-18 07:22:18 +00:00
Michael Jerris
ae380d58ec
Update to new build system for windows.
...
This fixes several issues when debugging code in the ide, and does better dependency tracking.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2317 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-17 19:58:55 +00:00
Michael Jerris
a90b88d201
revert static runtime change for msvc. Bad idea...
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2290 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-14 17:44:38 +00:00
Michael Jerris
fea5980a12
Change windows build to use static runtime to make it more easily portable to older windows, and to decrease startup time on windows.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2289 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-14 16:11:08 +00:00
Anthony Minessale
4395e55493
typo
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2185 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-27 15:45:19 +00:00
Anthony Minessale
da4ae7be4c
add metadata functions to sound file api
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2139 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-25 22:37:52 +00:00
Anthony Minessale
da8484382c
move unix builds to apr 1.2.7, sqlite 3.3.6 and libsndfile 1.0.16
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2112 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-25 15:11:15 +00:00
Michael Jerris
2a07e46e34
allow msvc build to work from source directory with a space in it.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1454 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-12 22:55:12 +00:00
Michael Jerris
c904577269
C++ says we can't use "interface" as a variable name.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1305 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-30 18:24:24 +00:00
Michael Jerris
14fee78470
part 3 of 3 standardizing typedefed types to end in _t.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1300 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-29 23:43:28 +00:00
Michael Jerris
73a3adac8f
part 2 of many standardizing typedefed types to end in _t
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1294 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-29 06:05:03 +00:00
Michael Jerris
026e8d39ca
Set log levels on many existing log messages. A huge thanks to James Martelletti for going through all the log calls to do this.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1173 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-16 06:05:53 +00:00
Brian West
559b8ab26c
Gut Logger and put it back modular style
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1117 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-11 21:13:44 +00:00
Michael Jerris
9db533862d
standardize to some more specific int types for frame size and rate variables.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1095 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-09 00:10:13 +00:00
Anthony Minessale
2356e4d43f
make mod_sndfile less chatty on startup
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1060 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-06 02:55:09 +00:00
Anthony Minessale
64507e70ca
icc changes part 1
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@982 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-30 23:02:50 +00:00
Michael Jerris
d126d8cd8d
Win32 build fixups.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@843 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-12 02:44:15 +00:00
Anthony Minessale
cbdfe1f72f
ok this is just being picky but on darwin and mac we really should call it .dylib instead of .so but this also gave me a chance to get better with the build system. /b
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@753 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-05 23:44:04 +00:00
Anthony Minessale
bdd2223542
more ivr stuff (not done)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@693 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-28 02:08:42 +00:00
Anthony Minessale
14072e8725
remove freeswitch's privates (couldn't resist)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@677 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-26 04:52:34 +00:00
Michael Jerris
681d2823e6
enable warnings as errors in msvc
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@637 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-20 19:07:41 +00:00
Michael Jerris
70739b6d2e
fix more msvc warnings. Fix mod_sndfile build on OSX
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@635 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-20 04:36:29 +00:00
Anthony Minessale
1ca8985b71
new headers pay off and reveal naughty modules with the wrong function prototype
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@611 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-14 16:59:31 +00:00
Michael Jerris
01f0481db1
Build system cleanup, initial piece of automatic build test system (thanks xachen)
...
minor mod- I kept build.sh in the root dir for now.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@560 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-08 00:57:35 +00:00
Anthony Minessale
597bc093bf
more build stuff
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@505 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-30 21:04:19 +00:00
Anthony Minessale
534db1947e
Add more IVR stuff and a test app (mod_ivrtest)
...
in dialplan (ivrtest <path to file>)
if the file is valid it will play the file and you will be expected to dial digits
until you dial 10 digits or press # or * (* will end the call) (# will repeat the test endlessly)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@462 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-27 21:33:45 +00:00
Anthony Minessale
48ae14726b
make test 'record' app in app_playback.c
...
You are best off doing wav (trust me)
It can record at 8 16 22 and 32 khz if you can manage to have a channel at that speed.
syntax [record /tmp/blah.wav]
dial * to end (dtmf only works in iax and portaudio {beg file to add it to mod_exosip})
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@453 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-27 01:46:14 +00:00
Michael Jerris
92628433da
fix oops (svn merge -r 418:417 http://svn.freeswitch.org/svn/freeswitch/trunk )
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@419 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-20 15:05:05 +00:00
Anthony Minessale
0ea203849f
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@418 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-20 02:02:03 +00:00
Anthony Minessale
1e04eb13b5
indent
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@417 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-20 00:41:30 +00:00
Anthony Minessale
ecfea1b594
update vcproj
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@274 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-03 23:14:28 +00:00
Anthony Minessale
d934a136f0
put mods in subdirs
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@269 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-03 22:36:56 +00:00
Anthony Minessale
6668d0282f
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@263 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-03 22:13:59 +00:00