Commit Graph

3365 Commits

Author SHA1 Message Date
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
Anthony Minessale 6326d5c7c2 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4830 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-02 15:36:05 +00:00
Michael Jerris 2847f41e70 fix nspr sun cc build on linux
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4829 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-01 23:12:57 +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
Michael Jerris 3de6a7e97e strip a few extra checks out of configure
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4825 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-01 20:52:29 +00:00
Michael Jerris 6c3abba824 fix srtp configure detection for byteswap.h to verify if bswap_64 is actually usable
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4822 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-01 19:28:34 +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
Brian West bd1d59a008 fix err when version only has 2 dots
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4818 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-31 17:25:10 +00:00
Brian West d566a1bece add
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4817 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-31 15:13:28 +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
Anthony Minessale e7d46a1a0e turbo_build.sh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4815 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-30 20:24:37 +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
Anthony Minessale 001c552e26 doh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4812 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-30 17:31:47 +00:00
Anthony Minessale 9a1945130b no more .noversion because it breaks things
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4811 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-30 17:31:21 +00:00
Anthony Minessale 101fd38e09 fix race
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4810 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-30 17:25:48 +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 324f6b00aa picky, picky
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4804 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-30 13:47:56 +00:00
Michael Jerris d292e9de4f don't export our private functions. fix crash protection build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4803 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-30 02:20:13 +00:00
Michael Jerris 92d726b995 use int64_t internally for storage of time_t values in the scheduler because at least then we know what format string to use to print them, and they are often that type anyways.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4802 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-30 01:40:50 +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 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 e6a60a20bc spring cleaning 2
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4796 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-29 22:34:40 +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
Michael Jerris a021945cef switch_malloc and switch_zmalloc macros that are fatal if malloc fails both in debug and release modes, switch_zmalloc includes a companion memset for the malloc'd block.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4794 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-29 17:37:42 +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 429ed0b811 even when the same size, we should use ld over d, because..... well who really knows?
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4791 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-29 12:53:12 +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 bc8a4855a6 use autoconf determined time_t printf format specifier
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4787 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-29 04:08:18 +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 24b1a46ceb we should never include off the installed includes, only the source tree ones.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4784 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-28 21:48:06 +00:00
Michael Jerris 4341b8e6e4 add --disable-resample configure option to build without resampler support
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4783 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-28 18:46:07 +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
Michael Jerris 0958553f39 add special make targets (from requests via irc)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4779 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-28 17:33:05 +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
Michael Jerris 34359cb61c fix seg.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4777 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-28 12:30:20 +00:00
Anthony Minessale 4450a80bd8 This patch adds 2 important variables to the originate subsystem
originate_retries:
		This variable controls how many times the system should retry the
		entire dialstring before exiting on failure (default 1)

originate_retry_sleep_ms: 
		This variable controls how long in milliseconds to pause between 
		retries (default 1000)

*NOTE*	when using the , and & symbols to call sequential or simultaneous channels in conjunction with this feature,
	the *entire* dialstring will be repeated as many times as you specify in ${originate_retries}

Here is an example using the bridge application to originate the call. (The feature will also work anywhere else 
an origination can be made.)

<extension name="1000">
  <condition field="destination_number" expression="^1000$">
    <action application="set" data="originate_retries=10"/>
    <action application="set" data="originate_retry_sleep_ms=1000"/>
    <action application="bridge" data="sofia/$${domain}/1000@somehost.com"/>
  </condition>
</extension>





git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4776 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-27 17:15:10 +00:00