Michael Jerris
712976653d
fix paramater checking on switch_ivr_phrase_macro and it's consumers.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4187 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-09 22:55:48 +00:00
Michael Jerris
d41b3e14dc
Add session.sayPhrase from Mike Murdock.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4186 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-09 21:56:44 +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
4128cf7ba9
the garbage collector race/deadlock issue was fixed by the previous commit to the makefile to define JS_THREDSAFE for the spidermonkey modules. This code is unnecessary.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4160 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-08 04:24:43 +00:00
Michael Jerris
56e85a9458
we need to build the mods w/ JS_THREADSAFE defined so it gets the header stuff right.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4159 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-08 01:56:55 +00:00
Michael Jerris
1a99ecc6e9
Yet another attempt to get the garbage collector code right. Patch worked out with Bret McDanel
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4094 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-30 18:00:58 +00:00
Anthony Minessale
16fce97f7a
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4004 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-19 21:56:31 +00:00
Anthony Minessale
0b8c737cfc
add system to js
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3871 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-29 20:42:16 +00:00
Michael Jerris
9b3b7ce0ab
change case now fileDelete instead of FileDelete
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3855 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-27 23:03:54 +00:00
Michael Jerris
6e4ef8920d
add FileDelete function to spidermonkey takes 1 param, the path of the file to delete, using / as the path seperator, regardless of unix vs. windows. returns true is it was successfull, otherwise false
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3854 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-27 22:47:46 +00:00
Anthony Minessale
988dd68675
fix mod_perl
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3832 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-26 18:13:43 +00:00
Michael Jerris
746948e05e
get spidermonkey building again, we still have a build issue with the file object that is not quite right.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3823 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-24 02:36:45 +00:00
Anthony Minessale
591c9b87aa
ruin everything, sorry jamesdotcom
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3815 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-23 16:40:37 +00:00
Anthony Minessale
fea601f454
update js
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3812 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-23 01:39:27 +00:00
Michael Jerris
fdc28b5724
avoid namespace collision.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3801 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-22 19:37:13 +00:00
Michael Jerris
109b2cf3ec
add uuid to session properties for spidermonkey
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3800 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-22 19:25:38 +00:00
Michael Jerris
ce3fd3fce4
merge changes to mod_python from jkr888 branch. Thanks Johny.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3781 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-21 17:11:43 +00:00
Michael Jerris
6d9679b164
move mod_spidermonkey_etpan to use in tree lib
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3771 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-21 03:36:05 +00:00
Michael Jerris
9db9fae8a2
Fix includes on spidermonkey modules for windows builds to point to the new in-tree locations.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3765 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-20 21:02:16 +00:00
Michael Jerris
5626cdd351
add curl 7.16.0 to in tree libs
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3744 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-20 02:08:00 +00:00
Anthony Minessale
aeeaa8b3a8
wip
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3697 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-18 18:31:38 +00:00
Brian West
b9245b3fe4
wip
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3696 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-18 18:10:31 +00:00
Anthony Minessale
d7400bf319
build changed
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3690 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-18 00:48:34 +00:00
Anthony Minessale
1d53a51f9d
let scripts continue to run after calls end. All session members will return false once the call is dead (not these 2 funcs)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3642 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-14 01:25:59 +00:00
Anthony Minessale
ed76905326
let scripts continue to run after calls end. All session members will return false once the call is dead
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3641 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-14 01:23:03 +00:00
Michael Jerris
99399ca28c
don't clobber the ldflags
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3537 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-05 02:40:14 +00:00
Anthony Minessale
4b52830415
move include above declarations
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3533 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-04 16:18:39 +00:00
Anthony Minessale
2b1572c9c1
remove patch line that doesn't exist
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3532 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-04 15:53:57 +00:00
Anthony Minessale
3f2ebf479d
try adding the gc code
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3515 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-02 05:40:58 +00:00
Anthony Minessale
af5336563a
add odbc support to javascript
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3514 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-02 02:41:24 +00:00
Michael Jerris
07a6c2e21d
move email to etpan, cleanup the new stubs.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3510 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-01 19:16:46 +00:00
Michael Jerris
c8b129df56
initial stubs for odbc and libetpan modules for spidermonkey. These do not do anything yet.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3507 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-01 17:59:58 +00:00
Anthony Minessale
d138ed71b7
adjustments to the core do a make sure
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3504 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-01 15:26:37 +00:00
Michael Jerris
1f8b1ee421
cast tweak to make compiler happy
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3498 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-30 22:57:16 +00:00
Anthony Minessale
f6fd954631
api tweaks
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3485 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-29 17:10:40 +00:00
Anthony Minessale
4ebf67c27a
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3478 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-28 22:37:53 +00:00
Anthony Minessale
bf4d94affe
doh
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3476 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-28 21:59:27 +00:00
Anthony Minessale
d288ae58a8
add timelimit to record
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3475 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-28 21:46:29 +00:00
Anthony Minessale
fe376294fc
fix a few js issues
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3474 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-28 20:54:26 +00:00
Anthony Minessale
8c541bdc30
fix a few js issues
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3473 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-28 20:53:26 +00:00
Anthony Minessale
d3758afbae
fix a few js issues
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3472 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-28 20:52:04 +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
dcc6c5ef82
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3410 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-19 01:09:10 +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
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