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
ee4118ab86
tweak
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3378 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-15 03:59:40 +00:00
Michael Jerris
f3ffaff015
merge mod_python fixes from Johny Kadarisman <jkr888 at gmail.com>. mod_python actually works now, please report problems.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3366 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-14 06:13:04 +00:00
Anthony Minessale
bfb6127d57
try it on 10 boxes and you are bound to find one that still complains about the same code yay for gcc
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3322 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-12 00:42:51 +00:00
Anthony Minessale
68bab16e37
make event_serialize dynamic
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3314 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-11 19:32:45 +00:00
Michael Jerris
4fde6dd0c8
windows build for new spidermonkey modules.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3310 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-11 06:06:18 +00:00
Anthony Minessale
4e1d518c0e
spidermonkey has it's own loadable modules now good luck
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3307 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-10 21:49:57 +00:00
Michael Jerris
2a645dbc6c
fix segfault when no filename is available to log.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3305 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-10 16:04:22 +00:00
Anthony Minessale
18998f3382
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3303 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-10 15:51:40 +00:00
Anthony Minessale
964e2e9886
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3299 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-10 01:40:22 +00:00
Michael Jerris
855b312ae6
Initialize. Was not set in some codepaths.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3293 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-09 16:01:47 +00:00
Anthony Minessale
44fc26f7d4
Finalization of speech detect interface and API
...
This changes the core to have the necessary tools to create
a speech detection interface.
It also changes the code in javascript (mod_spidermonkey)
there are a few api changes in how it handles callbacks
It also adds grammars as a system dir to store asr grammars
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3291 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-09 05:39:04 +00:00
Anthony Minessale
7872f795ea
swig stuff
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3289 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-09 05:34:42 +00:00
Anthony Minessale
8b6be74043
swig stuff
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3288 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-09 05:33:30 +00:00
Anthony Minessale
b22e11c36a
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3206 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-25 20:05:16 +00:00
Brian West
614010db63
Rename ani2 to aniii and ANI2 to ANI-II where appropriate. Because its not ANI2 its ANI II (eye eye)
...
What is ANI II ?
Refer to:
http://en.wikipedia.org/wiki/Automatic_number_identification
Thanks,
/b
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3073 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-17 23:33:32 +00:00
Anthony Minessale
6a96670267
refine code
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3006 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-09 02:24:43 +00:00
Michael Jerris
c822f94125
add syntax to api structures, use them for usage returns, do more checking on valid usage and cleanup some output of api commands.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3001 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-08 07:11:42 +00:00
Michael Jerris
2b53e80e34
add syntax field to the api interface struct.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3000 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-08 05:04:34 +00:00
Anthony Minessale
28770b3b30
auth
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2859 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-28 21:21:44 +00:00
James Green
ddbd762574
More checks.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2795 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-23 04:53:20 +00:00
Anthony Minessale
1c22b9453f
changes to language stuff
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2768 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-20 21:59:50 +00:00
Brian West
b2c6786f25
this code absolutely doesn't work
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2745 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-18 17:37:46 +00:00
Brian West
c4fbc3efb5
tweak and remove stuff that is cearly from the php makefile.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2741 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-18 13:30:11 +00:00
Michael Jerris
98408e357c
revert
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2740 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-18 13:26:41 +00:00
Brian Fertig
33621e87b1
Fix linking problem
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2739 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-18 11:47:25 +00:00
Brian West
449d11a073
Ok email address added for pdt ;) WE LOVE YOU MANsvn status Makefile.amsvn status Makefile.am
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2732 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-18 03:06:55 +00:00
Brian Fertig
3969362f6e
Enable threads on Python
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2727 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-17 22:06:47 +00:00
Brian Fertig
d08d2fbff0
Enable threads on Python
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2726 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-17 22:03:24 +00:00
Brian West
1b48735d8c
Ok small nitpicks for OS X....
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2724 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-17 21:28:31 +00:00
Brian Fertig
24ee2c2744
Update to swig files
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2723 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-17 21:15:08 +00:00
Anthony Minessale
32198c36e4
trying paul's patch
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2721 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-17 18:03:32 +00:00
Brian West
e25d85bc5d
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2718 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-17 01:35:17 +00:00
Brian West
4cc5e0d70b
ok rename it back
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2717 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-17 01:34:40 +00:00
Anthony Minessale
aa2a793e28
optimizations and disable the conditional thing till we see why it dies at 100cps X 800 calls
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2708 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-15 21:43:18 +00:00
James Green
78c7eff787
Changes needed to build correctly, tested under linux, please let me know how other platforms go.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2701 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-14 14:48:26 +00:00
James Green
7e3eaee3b3
Accidently importing into a subdir.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2673 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-12 23:39:18 +00:00
Anthony Minessale
8c41b90906
make sure it compiles
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2668 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-12 22:11:47 +00:00
James Green
c6763869fe
Importing mod_mono, hoorah, still need to import managed stuff.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2661 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-12 13:03:23 +00:00
Anthony Minessale
a75720b76a
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2659 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-12 12:43:27 +00:00
Anthony Minessale
e4759fc8f8
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2658 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-12 12:41:44 +00:00
Anthony Minessale
fd33ce1e0f
apply api change from yesterday
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2657 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-12 12:38:26 +00:00
Michael Jerris
64517ea7f9
set -fno-strict-aliasing on mod_php for gcc. we really need to not be doing this, but this is because of an issue in the php header files. Please note, the affects our ability to do any real optimization on this module. The best details I found on this issue are at: http://www.opensolaris.org/jive/thread.jspa?threadID=1923&tstart=0 .
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2654 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-12 04:02:13 +00:00
Michael Jerris
fb4c59351a
windows warnings fixes and formatting for mod_php.c
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2652 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-12 03:20:56 +00:00
Brian Fertig
941d97f8a2
Updates working on crash
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2651 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-12 03:18:39 +00:00
Anthony Minessale
cb2da2328a
pass cause from originate
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2647 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-12 01:32:04 +00:00
Brian Fertig
3cb83d21d8
PHP Goes Beta
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2646 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-12 01:23:53 +00:00
Brian Fertig
1688a62e6c
Yet another fix. PHP now doesnt crash :)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2639 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-11 12:06:27 +00:00
Brian Fertig
dd704bca72
Yet another fix. PHP now doesnt crash :)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2638 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-11 11:23:56 +00:00
Brian Fertig
5e0ed731e4
Initial Release of Ruby
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2637 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-11 11:22:15 +00:00