Commit Graph

103 Commits

Author SHA1 Message Date
Michael Jerris
9eda3ca0a6 having trouble with double globs, just include english for now.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8379 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-13 07:45:58 +00:00
Brian West
5de06fb3d5 kaboom
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6319 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-17 21:13:12 +00:00
Brian West
7482226e87 cleanup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6284 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-15 18:43:49 +00:00
Brian West
294c5915d9 more fun
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6283 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-15 18:27:26 +00:00
Brian West
9c10c49237 fixes
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6282 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-15 18:23:03 +00:00
Brian West
266858e9be tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6279 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-15 18:07:23 +00:00
Anthony Minessale
423567be6e mess with config
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6264 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-14 21:11:54 +00:00
Anthony Minessale
92476db4b9 make preprocessor also be a tag for everyone who keeps begging for it
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6259 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-14 20:29:19 +00:00
Brian West
5026727c48 lets be specific now
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6216 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-10 00:51:14 +00:00
Brian West
4663a4dd59 smack it
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6203 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-09 18:17:13 +00:00
Brian West
b8496490a9 again with the fun fun fun stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6200 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-09 18:14:32 +00:00
Anthony Minessale
ae31d229e0 add mod_limit
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6135 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-01 19:05:48 +00:00
Brian West
cba6a5da3a more tweaks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5929 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-17 16:08:14 +00:00
Brian West
73235d51f6 tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5928 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-17 16:06:03 +00:00
Brian West
bffda29c3c tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5921 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-16 23:19:31 +00:00
Anthony Minessale
9b7928ee85 tweak defaults
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5879 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-15 18:02:21 +00:00
Anthony Minessale
230a77714d EXECUTE ORDER 66
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5846 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-12 03:28:59 +00:00
Michael Jerris
e69fe7e336 initial import of mod_java from Damjan Jovanovic
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5755 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-25 13:21:17 +00:00
Traun Leyden
fa204ef943 sample openmrcp config
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5622 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-20 15:53:04 +00:00
Anthony Minessale
f4c1039a16 add prototype for local_stream test it and let me know what you think
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5461 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-24 23:09:28 +00:00
Michael Jerris
b6749d2106 merge MODAPP-16 (add curl support to mod_xml_cdr), thanks Bret.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5456 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-24 19:57:24 +00:00
Anthony Minessale
8e5e3bd5a4 fix config
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5056 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-01 19:20:48 +00:00
Michael Jerris
48ca4cc864 updates, cleanups, and clarifications to the sample conf files. Uses more of the preprocessor variables for simplicity. FSBUILD-2 from Mark D. Anderson. Thanks Mark.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5034 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-28 19:27:17 +00:00
Anthony Minessale
0e76a69718 mod_alsa (pa impersonator)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5023 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-26 22:15:07 +00:00
Michael Jerris
feb1adf163 add mod_cdr config files.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4867 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-06 08:55:37 +00:00
Anthony Minessale
d866c0fef8 fix typo
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4050 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-24 20:28:54 +00:00
Anthony Minessale
211cac30b5 fix typo (ya ya very funny)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4040 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-23 18:22:42 +00:00
Anthony Minessale
3241200072 xml preprocessor (calling all documentors and default config composers!!)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4026 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-23 01:12:47 +00:00
Anthony Minessale
a4dd01a0ee add late negotiation mode for sofia
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4008 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-20 18:51:57 +00:00
Anthony Minessale
c845cf2839 auto ip stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4000 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-19 19:11:44 +00:00
Anthony Minessale
39a9e94305 New mod_portaudio (sponspred by eWorldCom http://www.eworldcom.hu/)
This updates mod_portaudio to use the new v19 api and also contains
major behavioural changes.  This initial check-in should be tested to find
any obscure use cases that lead to crashes etc...

All of the old api interface commands are now depricated and any attempt to
use them should cause a polite warning asking you to try the new single "pa" command.

New Features:
*) Mulitiple calls with hold/call switching.
*) Inbound calls can play a ring file on specified device. (global and per call)
*) Optional hold music for backgrounded calls. (global and per call)


Example dialplan usage:

<extension name="2000">
  <condition field="destination_number" expression="^2000$">
    <!--if the next 3 lines are omitted the defaults will be used from portaudio.conf-->
    <action application="set" data="pa_ring_file=/sounds/myring.wav"/>
    <action application="set" data="pa_hold_file=/sounds/myhold.wav"/>
    <action application="set" data="export_vars=pa_ring_file,pa_hold_file"/>
    <action application="bridge" data="portaudio"/>
  </condition>
</extension>


Example API interface usage:

call extension 1000
> pa call 1000

call extension 1001 putting the other call on hold
> pa call 1001

swap the calls between hold and active
> pa switch

view the current calls
> pa list

forground the call with id 1 
> pa switch 1

background all calls
> pa switch none

send a dtmf string (1234) to the current call
> pa dtmf 1234

answer the oldest unanswered inbound call
> pa answer

answer the call with id 1
> pa answer 1

hangup the active call
> pa hangup

hangup the call with id 1
> pa hangup 1

get device info
> pa dump

print usage summary
> pa help


USAGE:
--------------------------------------------------------------------------------
pa help
pa dump
pa call <dest> [<dialplan> <cid_name> <cid_num> <rate>]
pa answer [<call_id>]
pa hangup [<call_id>]
pa list
pa switch [<call_id>|none]
pa_dtmf <digit string>
--------------------------------------------------------------------------------

The source of the portaudio v19 library will also be checked in for the 
sake of the build system.




git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3981 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-17 19:10:03 +00:00
Anthony Minessale
e37559eb0e update conference to add lock sounds, sound prefix, and use say: syntax
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3943 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-11 18:14:02 +00:00
Anthony Minessale
6aaedb918c update phrase interface
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3901 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-03 16:43:59 +00:00
Anthony Minessale
57c0d4bdc9 add strepoch api call and more say stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3900 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-03 00:50:11 +00:00
Anthony Minessale
bcd1cab882 update example conf to show sofia inbound-no-media param
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3867 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-29 03:55:21 +00:00
Michael Jerris
0dd04e9308 tweak comments.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3831 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-26 16:04:03 +00:00
Michael Jerris
d53878f39d add conference caller control example.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3830 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-26 15:48:35 +00:00
Anthony Minessale
b6721ed4ed add config samples for phrase wip
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3808 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-22 22:40:10 +00:00
Anthony Minessale
b7dbea6407 add pelim say stuff, module framework, xml parser, dialplan app, and add new channel var called sound_prefix for audio files
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3766 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-20 21:25:14 +00:00
Anthony Minessale
4254ae7008 add example config re: auth to xml_curl
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3650 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-14 15:13:01 +00:00
Anthony Minessale
5a8db2cf1b update config
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3630 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-12 20:46:25 +00:00
Anthony Minessale
5daa2313a6 formatting
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3605 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-11 19:02:14 +00:00
Anthony Minessale
01ddfdcba5 separate xml gateway code from mod_xml_rpc into it's own mod_xml_curl
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3592 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-10 02:02:30 +00:00
Justin Cassidy
8df4913d01 Updating FreeSWITCH services in default configuration file. My yearly commit really... :D
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3577 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-08 04:25:19 +00:00
Michael Jerris
da95d6ef8f Example config for the new ivr application.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3531 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-04 12:41:03 +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
Anthony Minessale
60434decf5 ENUM Support
mod_enum can be used as a dialplan app, an api call from the console or as a dialplan interface.


Dialplan Interface:
put enum as the dialplan parameter in an endpoint module
i.e. instead of "XML" set it to "enum" or "enum,XML" for fall through.

Dialplan App:
This example will do a lookup and set the a variable that is the proper
dialstring to call all of the possible routes in order of preference according to 
the lookup and the order of the routes in the enum.conf section.

<extension name="tollfree">
  <condition field="destination_number" expression="^(18(0{2}|8{2}|7{2}|6{2})\d{7})$">
    <action application="enum" data="$1"/>
    <action application="bridge" data="${enum_auto_route}"/>
  </condition>
</extension>

You can also pick an alrernate root:
<action application="enum" data="$1 myroot.org"/>	


API command:
at the console you can say:
enum <number> [<root>]

The root always defaults to the one in the enum.conf section.




git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3494 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-30 21:28:32 +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
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
Anthony Minessale
71043450c7 A change has been made to the user directory.
the <param> tags that was in the <user>
are now nested in thier own <params> tag.


Also when using dingaling in component mode you can add a <vcard> to the
user that will be deliverd when requested when using an id like 

user+stpeter@jabber.org assuming the comonent subdomain is jabber.org





git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3152 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-22 04:49:46 +00:00