Commit Graph

40 Commits

Author SHA1 Message Date
Michael Jerris
22b2343275 fix linux 64 build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4687 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-20 18:38:06 +00:00
Anthony Minessale
ec23a61287 let multitone support unitone
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4685 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-20 18:10:21 +00:00
Michael Jerris
8bdbdfef95 remove more generated files
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4678 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-20 06:51:36 +00:00
Michael Jerris
cc384fb515 removing most of the generated files from tree. You will need to run bootstrap.sh and configure again after you do this update and have autoconf, automake, and libtool installed on the box.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4662 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-19 19:26:25 +00:00
Michael Jerris
4fcdb2c057 add .update files to the libs that we can use to force rebuilds of libs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4622 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-16 21:22:04 +00:00
Michael Jerris
5312a255a2 update in tree generated files. THe whole tree now cleanly bootstraps.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4547 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-11 12:30:24 +00:00
Michael Jerris
0cb629b45f git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4522 d0543943-73ff-0310-b7d9-9358b9ac24b2 2007-03-11 07:06:37 +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
Brian West
a5a81439cd I have figured out the best way to do this without using xcode
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3852 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-27 20:26:06 +00:00
Brian West
29499696f7 update project file.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3846 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-27 07:46:02 +00:00
Brian West
25489cf3e0 update project file.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3845 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-27 07:43:20 +00:00
Brian West
db123e7428 update plist for teletone
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3843 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-27 07:29:48 +00:00
Brian West
77b6113846 proper xcodeproj files
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3842 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-27 07:22:12 +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
Michael Jerris
2ce49f8f0b silence silly warning
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3404 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-18 16:39:45 +00:00
Michael Jerris
2450b0e624 teletone dll needs to built to the dest dir, not to the intermediate dir.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3304 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-10 16:02:31 +00:00
Michael Jerris
4a871ba503 remove sum unnecessary files, add a missing one
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2953 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-02 18:21:02 +00:00
Anthony Minessale
d687aef4b6 add .so version number
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2881 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-30 02:42:06 +00:00
Michael Jerris
32fce49ba3 solaris\sun studio porting
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2880 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-30 02:40:39 +00:00
Anthony Minessale
82d7918546 solaris port of libteletone. part 2/2
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2873 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-29 21:28:23 +00:00
Michael Jerris
561009aed3 solaris port of libteletone. part 1/2
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2872 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-29 20:24:54 +00:00
Anthony Minessale
4368a2cbd5 remove static make name from makefile
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2864 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-29 05:39:07 +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
7712c6637c messaging stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1902 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-17 14:12:07 +00:00
Anthony Minessale
3030915703 nog
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@887 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-21 16:26:49 +00:00
Anthony Minessale
a688382c3c update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@880 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-20 23:41:21 +00:00
Michael Jerris
9977f2b8dd msvc build fixes
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@797 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-08 03:29:56 +00:00
Michael Jerris
a73ef856cf fix mod_spidermonkey load on windows
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@738 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-03 08:24:25 +00:00
Michael Jerris
92a326c1da add curl and teletone to mod_spidermonkey. fix /tmp/ dir for windows, added global temp dir var. Multiple type fixes.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@713 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-01 06:25:56 +00:00
Anthony Minessale
45d1b5cc87 1 of many PRI/SIP gateway related updates
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@652 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-22 18:32:15 +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
fc341792be turn on higher warning level in msvc for the core and libteletone and resolve warnings.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@634 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-20 00:23:25 +00:00
Anthony Minessale
8d1967d7eb cleanup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@633 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-19 21:34:16 +00:00
Michael Jerris
51f566fbd4 add msvc build to libteletone
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@632 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-19 21:24:29 +00:00
Anthony Minessale
cf67dbefd4 make teletone use all doubles
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@631 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-19 21:01:55 +00:00
Anthony Minessale
374097970d cant ever get it right on the first try that'd be too easy
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@630 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-19 20:30:51 +00:00
Anthony Minessale
b3b8dc6eae Add in new tone detection/generation library "libteletone"
Thanks to coppice, trixter, mikej and bkw for research, hints and or code examples.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@629 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-19 20:28:24 +00:00