Anthony Minessale
75c3314ad7
add dl_pres
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4871 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-06 16:20:07 +00:00
Michael Jerris
d874ea6b94
we can just use the flags that configure detects
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4870 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-06 09:49:16 +00:00
Michael Jerris
778a82cc92
a bit better on the mysql detection
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4869 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-06 09:38:11 +00:00
Michael Jerris
af5e635e60
fix windows build
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4868 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-06 08:57:20 +00:00
Anthony Minessale
4fdf7af7b9
fix
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4864 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-05 20:29:14 +00:00
Anthony Minessale
9b9723cbe8
fix rtp issue
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4863 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-05 19:29:48 +00:00
Anthony Minessale
ff484e6abb
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4862 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-05 17:52:35 +00:00
Anthony Minessale
a0875bef18
fix contact thing for gateway calls
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4860 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-05 14:58:07 +00:00
Michael Jerris
6b031361fc
silly cast.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4858 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-05 10:54:08 +00:00
Anthony Minessale
098d7274a0
add avatars for dingalaing
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4850 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-04 22:22:55 +00:00
Anthony Minessale
ceb98915bb
add looping buffers
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4849 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-04 18:22:59 +00:00
Anthony Minessale
79e54b1fd1
add odbc support for dingaling
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4848 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-04 17:32:56 +00:00
Anthony Minessale
af4ac7adbc
make invites use the same contact as the gateway when using a gateway to make calls
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4847 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-04 16:44:08 +00:00
Anthony Minessale
4d62a1adb2
add core ODBC
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4846 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-04 03:08:17 +00:00
Michael Jerris
c593f2fdce
take 4 fixing dependencies for proper make -j build
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4844 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-03 13:11:57 +00:00
Michael Jerris
3cbadae68d
another try on proper deps
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4843 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-03 12:29:18 +00:00
Michael Jerris
6bbe06fd59
fix dependencies to handle make -j
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4842 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-03 12:04:14 +00:00
Michael Jerris
a7d2f5d8be
add auto generated mod_* targets (generated from modules.conf. A step towards make -j support for the module builds.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4840 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-03 10:53:47 +00:00
Anthony Minessale
c4a882f078
wtf
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4837 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-03 01:24:24 +00:00
Anthony Minessale
5daac67023
fix
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4836 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-03 01:08:14 +00:00
Anthony Minessale
f79369002d
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4835 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-02 23:34:58 +00:00
Anthony Minessale
1eafc86063
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4834 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-02 21:31:03 +00:00
Anthony Minessale
db22cc416f
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4833 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-02 20:33:06 +00:00
Anthony Minessale
e47596fca5
cleanup
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4832 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-02 20:20:46 +00:00
Anthony Minessale
2b76e3e72f
cleanup
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4831 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-02 19:54:25 +00:00
Michael Jerris
a75defc898
fix mod_cdr build.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4827 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-01 22:18:53 +00:00
Brian West
0cb39cba02
add event
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4821 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-01 16:22:23 +00:00
Anthony Minessale
bba24931de
make name more specific to avoid namespace bs
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4820 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-01 01:16:16 +00:00
Michael Jerris
41d9cf2989
breaking up is hard to do
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4819 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-31 19:01:33 +00:00
Anthony Minessale
ad7a1b2e67
hold stuff
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4816 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-30 22:13:19 +00:00
Michael Jerris
c7753b06d4
some cleanup in the Makefiles
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4814 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-30 20:22:38 +00:00
Michael Jerris
b99db9aabf
I was told that the rules for spanish are the same as for english. So for now, I will add an interface using the same module and functions for "es". If there are changes to be made in the future, we can split this up into multiple modules.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4809 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-30 17:14:28 +00:00
Anthony Minessale
5b1bb9bd83
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4808 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-30 17:07:49 +00:00
Anthony Minessale
5e23936fa6
cleanup
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4807 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-30 16:41:12 +00:00
Anthony Minessale
33efc5eeb5
tweaks
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4805 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-30 14:57:06 +00:00
Anthony Minessale
d518bc2119
add group param to shed_api
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4800 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-30 00:36:02 +00:00
Anthony Minessale
c15d7892c0
indent again
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4799 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-30 00:15:25 +00:00
Anthony Minessale
debdfb1aab
indent
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4798 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-30 00:13:31 +00:00
Anthony Minessale
643ca5c4e7
add 'show tasks' and sched_api api commands
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4797 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-30 00:10:33 +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
6e2b76eb75
finishing touch on nomedia with mutiple bridges
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4793 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-29 15:21:42 +00:00
Michael Jerris
677ebfff2b
fix bsd make compile of mod_cdr
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4792 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-29 14:47:31 +00:00
Michael Jerris
617d581d10
fix freebsd build
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4790 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-29 12:41:13 +00:00
Michael Jerris
490f53c183
use better tricks in mod_cdr Makefile.am so we don't get warnings about duplicate targets, and so we can move all our tricks into configure soon
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4786 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-29 02:58:02 +00:00
Anthony Minessale
8a4406ece2
Addition of scheduler engine and a few applications to use it.
...
This patch adds a scheduler thread to the core and moves the heartbeat
event to use the new scheduler as an example.
Also The following features are implemented that use this scheduler:
sched_hangup dialplan application:
<action application="sched_hangup" data="+10 normal_clearing bleg"/>
** The cause code is optional and the optional bleg keyword will only hangup the
channel the current channel is bridged to if the call is in a bridge.
sched_transfer dialplan application:
<action application="sched_transfer" data="+10 1000 XML default"/>
** The last 2 args (dialplan and context) are optional
sched_broadcast dialplan application:
<action application="sched_broadcast" data="+10 playback:/tmp/foo.wav"/>
<action application="sched_broadcast" data="+10 playback!normal_clearing:/tmp/foo.wav"/>
** The optional !<cause_code> can be added to make the channel hangup after broadcasting the file.
sched_hangup api function:
sched_hangup +10 <uuid_string> normal_clearing
** The cause code is optional
sched_transfer api function:
sched_transfer +10 <uuid_string> 1000 XML default
** The last 2 args (dialplan and context) are optional
sched_broadcast api function:
sched_broadcast +10 <uuid_str> playback:/tmp/foo.wav
sched_broadcast +10 <uuid_str> playback!normal_clearing:/tmp/foo.wav
** The optional !<cause_code> can be added to make the channel hangup after broadcasting the file.
The new C functions in the core are documented in the doxeygen.
*NOTE* This commit should satisfy at least 2 bounties on the wiki
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4785 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-28 23:37:12 +00:00
Michael Jerris
e5dff3e822
add checking for successful re-sampler allocation. Add ifdefs to disable build with re-sampler.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4782 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-28 18:21:00 +00:00
Anthony Minessale
e6718b876c
fix null pointer issue
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4778 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-28 15:15:01 +00:00
Anthony Minessale
d9de1807ee
Add state change i/o hook to the core and change some spidermonkey behaviour.
...
The most important thing to check is you now must create a new session with a blank constructor:
s = new Session();
then call s.originate() with all the former args that were documented to be for the constructor
this will will return true or false to indicate if the call worked.
See below this sample code demonstrates all of the changes:
////////////////////////////////////////////////////////////////////////////////
function on_hangup(hup_session)
{
console_log("debug", "HANGUP!!!! name: " + hup_session.name + " cause: " + hup_session.cause + "\n");
//exit here would end the script so you could cleanup and just be done
//exit();
}
//set the on_hangup function to be called when this session is hungup
session.setHangupHook(on_hangup);
//allocate a new b_session
var b_session = new Session();
//make a call with b_session. If this fails, all we will be able to access is the b_session.cause attr
if (b_session.originate(session, "sofia/mydomain.com/888@conference.freeswitch.org")) {
//Inform the scripting engine to automaticly hang this session up when the script ends
b_session.setAutoHangup(true);
//set the on_hangup function to be called when this session is hungup
b_session.setHangupHook(on_hangup);
//bridge session with b_session
bridge(session, b_session);
} else {
console_log("debug", "Originate Failed.. cause: " + b_session.cause + "\n");
}
////////////////////////////////////////////////////////////////////////////////
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4773 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-27 00:40:53 +00:00
Michael Jerris
f628a159af
don't double switch_xml_free
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4771 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-26 21:35:19 +00:00
Michael Jerris
880f17d33b
refactor in mod_dialplan_xml. Factor out a function for the hint string generation/xml_locate so that we do not need to generate the xml hint string when using a static file. Dont add blank items from the caller profile to the hint string.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4766 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-25 15:21:22 +00:00