Commit Graph

48 Commits

Author SHA1 Message Date
Anthony Minessale 8b99df5d44 more tones
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15388 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-06 20:05:26 +00:00
Anthony Minessale e1d7177b4e fix build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14965 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-24 16:43:57 +00:00
Michael Jerris b1377e015b update api visibility macros for windows
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12547 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-10 15:45:29 +00:00
Michael Jerris bbdf4744aa inital work on x64 windows build (FSBUILD-125)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12215 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-21 00:56:56 +00:00
Michael Jerris 9d82fff528 fix suncc visibility support
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12157 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-19 05:06:04 +00:00
Michael Jerris 62779a64ff fix suncc visibility support in libteletone
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12156 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-19 05:00:52 +00:00
Michael Jerris 0a5cf546b4 fix suncc visibility support in libteletone
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12155 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-19 04:57:50 +00:00
Michael Jerris 02d780ce16 fix suncc visibility support in libteletone
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12154 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-19 04:41:38 +00:00
Michael Jerris ffe2ad4bbd API visibility support (GCC/SUNCC) (FSCORE-264)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12061 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-16 18:17:01 +00:00
Anthony Minessale ba77f23278 clean up tone_detect
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11738 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 00:16:36 +00:00
Michael Jerris 1005e93b63 LBTEL-1 Build error "array subscript is above array bounds"
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10741 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-12 19:45:34 +00:00
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
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
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 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
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 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 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
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 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 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