Commit Graph

117 Commits

Author SHA1 Message Date
Anthony Minessale 5668dbe0b2 fix compiler warning
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10730 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-12 15:09:44 +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
Michael Jerris 20ab270879 code analysis and fixes for teletone.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7614 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-14 18:13:50 +00:00
Anthony Minessale 4945769369 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6806 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-15 15:32:41 +00:00
Anthony Minessale 3f581d06d0 add uuid_dump
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6801 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-14 23:11:14 +00:00
Michael Jerris d0f7f0f137 cleanup build warnings.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6786 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-14 03:56:11 +00:00
Michael Jerris 4110f73cf3 add msvc 2008 sln/project files
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6690 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-12 01:40:13 +00:00
Anthony Minessale 0f1d4b9a70 don't link to installed libs, patch from stkn (fix for MODLANG-47)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6480 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-03 16:29:07 +00:00
Anthony Minessale a8433a1956 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6454 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-30 23:30:40 +00:00
Anthony Minessale 620508cc80 off by 1 err pointed out by trixter from irc
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6388 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-23 18:09:23 +00:00
Michael Jerris f3b2b20c5b silence warning
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6312 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-16 20:18:01 +00:00
Anthony Minessale 565ab1d66d double trouble
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6292 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-15 22:27:33 +00:00
Michael Jerris 797d7c5701 fix sun studio build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6241 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-13 20:06:22 +00:00
Anthony Minessale de8928f33b sync
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6180 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-07 21:16:38 +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 6c6ac9a7d9 fix for FSBUILD-12
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5558 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-03 05:02:25 +00:00
Michael Jerris 3f025790ea fix windows build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5381 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-16 03:56:44 +00:00
Anthony Minessale 8f6e8d6e65 fix tones stuff on 64bit
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5378 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-16 00:21:01 +00:00
Michael Jerris 989f0b61fc solaris requires us to use inline not __inline__
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5295 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-08 16:15:03 +00:00
Michael Jerris d46578dbcf fix build, sync with our working copy.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5279 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-07 03:50:08 +00:00
Michael Jerris d90df53666 switch teletone to use float.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5278 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-07 01:02:39 +00:00
Anthony Minessale 607bb13d5a update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5277 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-07 00:21:16 +00:00
Anthony Minessale 88fdfab48f update teletone see wiki for syntax changes in TTML
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5276 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-06 23:28:00 +00:00
Anthony Minessale 4156571ea6 add license exception to teleton for openzap
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5196 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-17 13:56:10 +00:00
Michael Jerris 6ba96a7913 spring cleaning on msvc build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4801 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-30 01:22:45 +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
Michael Jerris 55b0057eb2 some little cleanup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4731 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-22 15:57:12 +00:00
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