Anthony Minessale
a2b11dd93d
in the name of interop
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3043 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-12 20:37:08 +00:00
Anthony Minessale
ba46200539
refactoring and general improvement (do a make sure)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3035 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-12 00:59:09 +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
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
bc7a378c4e
Modify Originate input syntax
...
This adds the | to the originate syntax
making it possible to put a list of urls to call and attempt
to call them one at a time until one of them is successful or there
are none of them left
The original & delimited list is valid for each step in the | separated
list
Example
sofia/test-int/3920@10.3.3.104|sofia/test-int/3910@10.3.3.104&sofia/test-int/3920@10.3.3.104
first call 1 location and if that results in a failure, try 2 at once on the next go
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2996 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-07 22:19:24 +00:00
Anthony Minessale
741b8329b9
Modifying the behaviour of the dialplan engine
...
the 'data' field in action tags may now refer to variables and api functions
to be expanded at runtime.
Syntax:
$varname
${varname}
&func_name(func args)
Exception:
variables that are numeric are still expanded at dialplan compile time based on the regex eg $1 $2 etc
Example:
<extension name="1000">
<condition field="destination_number" expression="^(1000)$">
<action appplication="my_route_app" data="$1"/>
<action appplication="bridge" data="$destination"/>
</condition>
</extension>
Here the $1 is ecaluated before the call begins setting it to 1000 based on the regex ^(1000)$
$destination is evaluated on the fly in execution once the my_route_app has run and has had a
chance to set the variable 'destination' to the correct value.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2994 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-07 19:54:04 +00:00
Anthony Minessale
0d23976f2a
Insane amounts of yucky satanic code to make transfer and that kind of thing work.
...
Transfers work better when both legs of the call live in thier own channel eg bridged calls
A -> B where you want a to make B -> C
when you route a call to an IVR or playback app you are not really bridging you have
A all alone executing the script so it's hard to transfer that.
I do have it aparently working but it's goofy and you are better off
putting your IVR on it's own switch so they are all inbound calls
then you have A -> B -> IVR
now A can happily transfer B who can stay on line with IVR without stopping
the execution. You can also accomplish this by calling in a loop back to the same box
if you dont want to have 2 boxes.
Also the beginning effort at bridging calls with no media is here
set this magic variable in your dialplan to convince mod_sofia
to pass A's sdp as it's own to B and return B's sdp back to A on 200 or 183
<action application="set" data="no_media=true"/>
<action application="bridge" data="sofia/id@host.com"/>
You will need a new sofia tarball for this version
There is a bunch of other odds and ends added like a function or 2 etc
Oh,
And don't be suprised if it introduces all kinds of bugs!
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2992 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-06 22:39:49 +00:00
Anthony Minessale
f993cd6791
more sofia stuff
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2978 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-05 14:24:25 +00:00
Anthony Minessale
7de068b9ac
sip work in progress changes
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2969 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-04 23:11:11 +00:00
Michael Jerris
ea0d99efd7
update docs
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2909 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-01 01:36:44 +00:00
Michael Jerris
18fc21a9cb
update docs
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2908 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-01 01:35:14 +00:00
Anthony Minessale
fa5767ebf7
fixes
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2781 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-22 15:22:31 +00:00
Anthony Minessale
90815616cc
small core refactoring use -hp arg to gain high priority mode, add fsctl command USAGE: fsctl [hupall|pause|resume|shutdown]
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2765 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-20 20:25:26 +00:00
Michael Jerris
cd74bf6501
tweak types
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2754 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-19 19:09:10 +00:00
Anthony Minessale
ccb32b0eb6
add uuid_bridge api call and ivr function Usage: uuid_bridge <uuid> <other_uuid> *should* take 2 existing channels and bridge them
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2748 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-19 02:18:24 +00:00
Anthony Minessale
19446804c7
pull down stack size another 128k, make the sql use mem cache and add session count to the status command
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2747 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-18 22:22:25 +00:00
Michael Jerris
849822f64e
add switch_yield for windows
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2729 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-17 22:40:19 +00:00
Michael Jerris
fa4a1c4317
tweak softimer to not int type truncate microsecond interval time.c
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2728 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-17 22:13:51 +00:00
Anthony Minessale
1386d84694
use usleep when possible, ./configure && make sure when you update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2722 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-17 18:44:53 +00:00
Anthony Minessale
56827bc9ec
enhance timers and make rtp use it that way
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2669 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-12 22:23:45 +00:00
Anthony Minessale
b3c437630f
use steve's g711 (thanks steve), chage the conditional mutex based on paul T's input (thanks paul) and take the yield away on switch_yield and just sleep
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2663 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-12 17:17:02 +00:00
Michael Jerris
10e3b22f8a
use our inline macro, really
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2649 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-12 03:14:52 +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
Anthony Minessale
95249aff5c
dox
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2590 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-09 03:50:04 +00:00
Anthony Minessale
5e575f143c
dox
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2589 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-09 03:47:56 +00:00
Anthony Minessale
ae9d56e288
Adding bugs to the core
...
This is the primary commit to add bugs to the core (media bugs that is)
Media bugs are kind of like what ChanSpy is in Asterisk only cooler (I wrote ChanSpy too so I can say that)
Here is an example of using them to record a call by the higher level switch_ivr functionality passed
up to the dialplan via mod_playback.
The call will be recorded while the some.wav plays then stop for the rest of the call (when some_other.wav plays)
The bugs may have bugs since this is 1 day's work so happy hunting ......
<extension name="42">
<condition field="destination_number" expression="^42$">
<action application="set" data="RECORD_TITLE=recording test"/>
<action application="set" data="RECORD_ARTIST=FreeSWITCH"/>
<action application="record_session" data="/tmp/rtest.wav"/>
<action application="playback" data="/tmp/some.wav"/>
<action application="stop_record_session" data="/tmp/rtest.wav"/>
<action application="playback" data="/tmp/some_other.wav"/>
</condition>
</extension>
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2588 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-09 03:39:28 +00:00
Anthony Minessale
eed1180192
add dynamic buffers
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2585 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-08 19:17:23 +00:00
Anthony Minessale
f689b62fb6
add dynamic buffers
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2583 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-08 18:57:24 +00:00
Anthony Minessale
5816256ce3
let g729 be setup for pass through compile like this... MOD_CFLAGS="-DG729_PASSTHROUGH" make installall
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2575 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-08 15:43:45 +00:00
Anthony Minessale
086676f6e9
what comes up must come down
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2555 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-07 15:15:39 +00:00
Anthony Minessale
a4c778a00c
fix namespace
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2548 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-07 14:23:31 +00:00
Michael Jerris
69933df109
update build on windows from latest core changes.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2542 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-07 05:35:08 +00:00
Anthony Minessale
80722357a6
Mega Changes
...
adding mod_park for putting channels in limbo state for remote control.
adding stuff to mod_event_socket to let you do the bgapi <command> <args>
this will let you execute a job in the bg and the result will be sent as an event with an
indicated uuid to match the reply to the command
adding switch_core_port_allocator (to be used soon)
adding "make sure" to do a full rebild of the freeswitch object files
There will be more to this committed as the week progresses
make sure you do a rebuild after this update or you'll be sowwie
./configure && make sure
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2540 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-07 03:58:01 +00:00
Anthony Minessale
f4cef83070
tweak
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2491 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-03 14:35:35 +00:00
Anthony Minessale
231144f3b0
compiler warning cleanup (part 3 [getting old])
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2489 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-03 14:28:08 +00:00
Anthony Minessale
f48d50f0ce
compiler warning cleanup (part 2)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2488 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-03 14:22:56 +00:00
Anthony Minessale
76ed494b2e
compiler warning cleanup
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2487 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-03 14:15:02 +00:00
Anthony Minessale
6a91e4f3f9
cleanup
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2486 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-03 13:29:13 +00:00
Anthony Minessale
94571e3c75
dox
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2484 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-03 03:49:57 +00:00
Anthony Minessale
8543778b7c
pack this mutha %^%$^&
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2483 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-02 23:04:25 +00:00
Michael Jerris
1bfe008b7f
add inline macro for msvc for upcoming inline functions.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2481 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-02 18:33:29 +00:00
Anthony Minessale
884cfc4465
fix event_socket bugs
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2430 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-29 20:27:43 +00:00
Anthony Minessale
d94e810630
add some events
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2425 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-29 15:17:06 +00:00
Anthony Minessale
fede17f4e0
tweaks
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2420 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-29 01:13:38 +00:00
Anthony Minessale
353f936095
tweaks
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2417 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-28 23:05:26 +00:00
Anthony Minessale
aa196711a1
codec sql
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2387 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-25 01:33:28 +00:00
Anthony Minessale
4f17ab7714
bunch of tweaks to make ivr more fun
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2350 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-21 19:14:51 +00:00
Michael Jerris
c15da98579
Add switch_core_init_and_modload to core, from switch.c. Add additional shutdown functionality to switch_core_destroy. move around more code in switch.c and fix freeswitch -stop on windows.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2336 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-19 18:51:22 +00:00
Anthony Minessale
47192db741
Upgrade Dingaling to meet new googletalk spec upgrade your client if you have issues.
...
codecs need more work...
Expose events into javascript so you can create and fire events and
and pick up chat events with chat-enabled clients like googletalk
EXAMPLE:
session.answer();
e = new Event("custom", "JS::Custom");
e.addHeader("subject", "cool");
e.addBody("hello this is a test");
e.fire;
while(session.ready()) {
session.execute("sleep", "1000");
event = session.getEvent();
if (event) {
str = event.serialize(); // or ("xml")
console_log("debug", "Dump Event:\n" + str + "\n");
e = new Event("custom", "JS::Chat");
e.addHeader("works", "yes");
e.addBody("you said: " + event.getBody());
session.sendEvent(e);
event.destroy();
}
}
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2323 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-18 01:28:50 +00:00
Michael Jerris
ae380d58ec
Update to new build system for windows.
...
This fixes several issues when debugging code in the ide, and does better dependency tracking.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2317 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-17 19:58:55 +00:00
Anthony Minessale
78d060c6a7
*deep breath*
...
Ok,
This one adds a bunch of stuff on top of the framework restructuring from yesterday.
1) originate api function:
Usage: originate <call url> <exten> [<dialplan>] [<context>] [<cid_name>] [<cid_num>] [<timeout_sec>]
This will call the specified url then transfer the call to the specified extension
example: originate exosip/1000@somehost 1000 XML default
2) mutiple destinations in outbound calls:
This means any dialstring may contain an '&' separated list of call urls
When using mutiple urls in this manner it is possible to map a certian key as required
indication of an accepted call. You may also supply a filename to play possibly instructing the
call recipiant to press the desired key etc...
The example below will call 2 locations playing prompt.wav to any who answer and
completing the call to the first offhook recipiant to dial "4"
<extension name="3002">
<condition field="destination_number" expression="^3002$">
<action application="set" data="call_timeout=60"/>
<action application="set" data="group_confirm_file=/path/to/prompt.wav"/>
<action application="set" data="group_confirm_key=4"/>
<action application="bridge" data="iax/guest@somebox/1234&exosip/1000@somehost"/>
</condition>
</extension>
The following is the equivilant but the confirm data is passed vial the bridge parameters
(This is for situations where there is no originating channel to set variables to)
<extension name="3002">
<condition field="destination_number" expression="^3002$">
<action application="bridge" data=/path/to/prompt.wav:4"confirm=iax/guest@somebox/1234&exosip/1000@somehost"/>
</condition>
</extension>
Omitting the file and key stuff will simply comeplete the call to whoever answers first.
(this is similar to how other less fortunate software handles the situation with thier best effort.)
This logic should be permitted in anything that establishes an outgoing call with
switch_ivr_originate()
Yes! That means even in this new originate api command you can call mutiple targets and send
whoever answers first to an extension that calls more mutiple targets. (better test it though!)
Oh, and you should be able to do the same in the mod_conference dial and dynamic conference features
please report any behaviour contrary to this account to me ASAP cos i would not be terribly
suprised if I forgot some scenerio that causes an explosion I did all this in 1 afternoon so it probably needs tuning still.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2311 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-17 00:53:09 +00:00
Anthony Minessale
6175062b27
consolidate code in conference into todays changes
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2303 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-16 00:35:02 +00:00
Anthony Minessale
a29d426c8c
setting waypoint
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2300 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-15 19:38:14 +00:00
Anthony Minessale
a675393bb7
performance tweaks
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2298 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-15 17:52:12 +00:00
Michael Jerris
2bec16256a
fix typo.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2267 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-12 00:38:51 +00:00
Anthony Minessale
7ccdd37a71
socket code
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2257 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-11 15:25:49 +00:00
Anthony Minessale
9fedc12934
move pcre into core do a ./configure again (part 2)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2212 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-31 23:56:27 +00:00
Anthony Minessale
4395e55493
typo
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2185 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-27 15:45:19 +00:00
Anthony Minessale
c4d890e0a4
Modify XML Dialplan
...
BTW, forget what I said yesterday RE: the strftime app I was at McDonalds, how can I concentrate there eh?
see below....
The Definitive Guide To XML Dialplan:
The "dialplan" section of the freeswitch.xml meta document may contain several contexts
<?xml version="1.0"?>
<document type="freeswitch/xml">
<section name="dialplan" description="Regex/XML Dialplan">
<!-- the default context is a safe start -->
<context name="default">
<!-- one or more extension tags -->
</context>
<!-- more optional contexts -->
</section>
</document>
The important thing to remember is that the dialplan is parsed once when the call
hits the dialplan parser in the RING state. With one pass across the XML the result
will be a complete list of instructions installed into the channel based on
parsed <action> or <anti-action> tags.
Those accustomed to Asterisk may expect the call to follow the dialplan by executing the
applications as it parses them allowing data obtained from one action to influence the next action.
This not the case with the exception being the %{api func} {api arg} field type where an pluggable api call from
a module may be executed as the parsing occurs but this is meant to be used to draw realtime info such as
date and time or other quickly accessible information and shold *not* be abused.
The anatomy of an <extension> tag.
Legend:
Text wrapped in [] indicates optional and is not part of the actual code.
a '|' inside [] indicates mutiple possible values and also is not part of the code.
Text wrapped in {} indicates it's a description of the parameter in place of the param itself.
<extension name="{exten_name}" [continue="[true|false]"]>
continue=true means even if an extension executes to continue
parsing the next extension too
The {exten_name} above may anything but if it's
an exact match with the destination number the parser will leap to this extension
to begin the searching that does not mean it will execute the extension.
Searching will either begin at the first extension in the context or at the point
the the parser has jumped to in the case described above.
Each condition is parsed in turn first taking the 'field' param.
The parser will apply the perl regular expression to each 'field' param encountered.
If the expression matches, it will parse each existing <action> tag in turn and add
the data from the <application> tags to the channels todo list.
If a matched expression contains any data wrapped in () the variables
$1,$2..$N will be valid and expanded in any of 'data' params from the subsequent action tags.
If the expression does NOT match, it will parse each <anti-action> tag in turn and add
the data from the <application> tags to the channels todo list.
*NOTE* since there was no match the () feature is not availabe in anti-actions
The 'break' param indicates how to behave in relation to matching:
*) 'on-true' - stop searching conditions after the first successful match.
*) 'on-false' - stop searching after the first unsuccessful match.
*) 'always' - stop at this conditon regardless of a match or non-match.
*) 'never' - continue searching regardless of a match or non-match.
<condition field="[{field name}|${variable name}|%{api func} {api arg}]" expression="{expression}" break="[on-true|on-false|always|never]">
<action application="{app name}" data="{app arg}"/>
<anti-action application="{app name}" data="{app arg}"/>
</condition>
<!-- any number of condition tags may follow where the same rules apply -->
</extension>
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2167 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-26 20:12:49 +00:00
Anthony Minessale
da4ae7be4c
add metadata functions to sound file api
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2139 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-25 22:37:52 +00:00
Anthony Minessale
da8484382c
move unix builds to apr 1.2.7, sqlite 3.3.6 and libsndfile 1.0.16
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2112 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-25 15:11:15 +00:00
Anthony Minessale
9727efd842
Change the socket protocol and the sample client to use multiline input
...
valid input:
-------------------------
<command>[ <args>]
-------------------------
or
-------------------------
<command>[ <args>]
Header1: Val
HeaderN: Val
-------------------------
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2109 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-25 14:14:07 +00:00
Michael Jerris
e80c5808fb
fix windows issue when building with C++.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2074 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-24 06:48:01 +00:00
Michael Jerris
85d442615e
fix C linkage when using templates issue when building C++ modules in msvc that stems from including some windows header files inside of an extern C block, when building with C++.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2070 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-24 04:31:28 +00:00
Anthony Minessale
9ef48b6e1f
dox
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2048 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-22 21:52:53 +00:00
Anthony Minessale
9c79c2a3fb
Add mod_event_socket remote client module and sample client.
...
To Test:
uncomment or add from modules.conf
make installall again to compile it
uncomment the load line from freeswitch.xml
the default values are to bind to 127.0.0.1 port 8021
telnet to port 8021
enter "auth ClueCon" to authenticate
from here you can do the following:
*) events [xml|plain] <list of events to log or all for all>
*) noevents
*) log <level> // same as the console.conf values
*) nolog
*) api <command> <arg>
*) exit
there is a perl client in scripts/socket called fs.pl
with the module up and loaded:
cd scripts/socket
perl fs.pl <optional log level>
you can enter a few api commands like "show or status"
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2047 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-22 21:49:52 +00:00
Anthony Minessale
72d0128f95
name change for c++ compate
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1988 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-19 18:34:28 +00:00
Anthony Minessale
8c51cc2934
small fix to sql shipping stuff
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1963 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-19 01:19:46 +00:00
Anthony Minessale
541a27bf1b
dox
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1876 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-14 12:17:01 +00:00
Anthony Minessale
e73ee221d2
add mod_dptools, for set variable and sleep from the dialplan
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1864 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-13 13:20:20 +00:00
Anthony Minessale
d77e574d4e
rearrange the furnature
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1846 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-12 18:39:19 +00:00
Anthony Minessale
2838ad4a9b
restructure codec code
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1818 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-10 22:08:02 +00:00
Anthony Minessale
b5a19020f7
add session counter and make all sessions hang up elegantly on shutdown
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1788 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-07 18:59:14 +00:00
Anthony Minessale
3ba26db705
move iana codes to the implementations.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1666 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-06-23 20:14:29 +00:00
Anthony Minessale
ce2a9d2636
add more mutexed flag ops
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1664 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-06-23 16:59:47 +00:00
Anthony Minessale
f56e07842f
add set/clear flag locked macros
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1661 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-06-22 23:38:44 +00:00
Michael Jerris
76dfa310c0
add access or function for channel variable iterator
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1612 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-06-13 01:49:18 +00:00
Anthony Minessale
40e7848917
dox
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1596 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-06-11 01:55:50 +00:00
Anthony Minessale
fe32a839df
use channel flag to tell when to read from channel during some stuff
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1590 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-06-09 22:59:13 +00:00
Anthony Minessale
d607494ac0
add mlockall
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1584 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-06-09 15:39:12 +00:00
Anthony Minessale
5c57580955
ivr stuff (part 1)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1573 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-06-08 19:22:54 +00:00
Anthony Minessale
7b4cc868e4
ivr stuff
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1569 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-06-08 01:58:37 +00:00
Michael Jerris
9c2442886d
merge anthm fix for atoi(NULL) segfault. Thanks jart for identifying the problem.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1560 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-06-07 21:55:17 +00:00
Anthony Minessale
9a43ccab24
add mod_rss
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1551 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-06-06 23:07:37 +00:00
Anthony Minessale
5337872ce8
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1545 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-06-05 18:36:02 +00:00
Anthony Minessale
7c7c42a6bf
update queue len
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1542 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-06-05 17:37:24 +00:00
Anthony Minessale
ebd871ff10
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1538 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-06-03 17:06:39 +00:00
Anthony Minessale
15b99a3bbf
make extensions linkable (thanks mishehu)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1537 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-06-03 17:06:06 +00:00
Anthony Minessale
cfae7d1581
fix sample goodies
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1525 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-30 17:19:01 +00:00
Anthony Minessale
baa257f2fe
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1513 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-27 00:24:32 +00:00
Anthony Minessale
ab3f42c9c4
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1508 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-26 16:00:08 +00:00
Anthony Minessale
21c2b5812e
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1476 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-17 00:58:21 +00:00
Anthony Minessale
9d68a23929
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1467 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-15 18:16:43 +00:00
Michael Jerris
73ff3c89a6
move switch_version.h to be a private header.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1463 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-15 15:00:10 +00:00
Anthony Minessale
6bf06c5227
sox
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1448 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-12 19:38:02 +00:00
Anthony Minessale
d53d9d3997
rearrange some things please see conf/freeswitch.xml as there is a significant change to the conf that will break your stuff
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1446 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-12 19:28:21 +00:00
Anthony Minessale
d314140374
cleanup
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1445 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-12 15:33:49 +00:00
Anthony Minessale
174ad6edc8
sip reg
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1433 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-11 21:11:20 +00:00
Michael Jerris
64c80bd894
fix dox
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1428 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-10 21:28:28 +00:00
Anthony Minessale
8977778bd3
dox
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1426 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-10 20:02:01 +00:00
Anthony Minessale
295424544d
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1425 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-10 19:07:38 +00:00
Michael Jerris
ead82d86fd
msvc types tweaks.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1416 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-10 16:37:56 +00:00
Anthony Minessale
f09491a69b
XMLification (wave 4)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1412 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-10 15:47:54 +00:00
Michael Jerris
a9a5a48209
export switch_xml_free for use by modules.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1409 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-10 04:10:23 +00:00
Michael Jerris
1b97a9b8a8
msvc build fixes to core from XMLification commit.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1408 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-10 04:06:01 +00:00
Anthony Minessale
93666f6dd7
XMLification (wave 1)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1401 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-10 03:23:05 +00:00
Michael Jerris
e00f82c550
solaris updates.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1394 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-08 04:07:30 +00:00
Anthony Minessale
67ff0782a1
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1379 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-05 21:58:13 +00:00
Anthony Minessale
8b26a521cc
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1377 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-05 21:31:19 +00:00
Anthony Minessale
3058335e80
add xml
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1376 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-05 21:05:11 +00:00
Anthony Minessale
a4b1fdc709
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1357 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-04 20:38:01 +00:00
Anthony Minessale
51241ad37f
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1355 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-04 20:19:23 +00:00
Anthony Minessale
23d6224dab
gather 2833 into RTP core and a few tweaks
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1351 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-04 17:51:53 +00:00
Michael Jerris
c1a255075b
make sqlite a dynamic lib for msvc.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1349 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-04 16:03:26 +00:00
Anthony Minessale
e61acfba16
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1342 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-04 01:15:38 +00:00
Michael Jerris
b6545379d6
add interfaces to sqlite db table for quick show api commands (coming soon)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1313 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-01 19:44:21 +00:00
Michael Jerris
c904577269
C++ says we can't use "interface" as a variable name.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1305 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-30 18:24:24 +00:00
Anthony Minessale
7bacd1a0ad
forgot a t
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1304 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-30 17:54:05 +00:00
Michael Jerris
14fee78470
part 3 of 3 standardizing typedefed types to end in _t.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1300 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-29 23:43:28 +00:00
Anthony Minessale
76f4a10a18
dox
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1299 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-29 21:36:10 +00:00
Michael Jerris
73a3adac8f
part 2 of many standardizing typedefed types to end in _t
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1294 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-29 06:05:03 +00:00
Michael Jerris
d0347b2a95
part 1 of many standardizing typedefed types to end in _t
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1292 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-29 01:00:52 +00:00
Michael Jerris
751ca005d3
use macro for EXTERN "C" begin and end lines in header files to clean up the headers, and to eliminate a format bug in emacs.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1291 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-28 20:04:08 +00:00
Anthony Minessale
35dc32018c
add transfer capability and small ways to test it
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1290 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-28 19:46:57 +00:00
Anthony Minessale
5ab733c606
crash prevention
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1281 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-27 21:09:58 +00:00
Anthony Minessale
31e31566a5
set some key functions to report the file func line of the caller not of the actual function
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1278 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-27 15:02:35 +00:00
Anthony Minessale
7d2756f14a
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1266 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-26 20:15:16 +00:00
Michael Jerris
a70b4a15a6
silence warning on msvc
...
C4132: 'object' : const object should be initialized
This is firing when there is a prototype for a const object declared later in the file.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1259 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-26 17:07:39 +00:00
Anthony Minessale
92bba4dbe6
adjust
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1255 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-25 23:11:56 +00:00
Anthony Minessale
ba6b7651b2
improve bridge code
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1251 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-25 18:02:12 +00:00
Michael Jerris
a8e506e6f1
revert unintentional removal.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1250 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-25 16:59:53 +00:00
Anthony Minessale
c096cd7137
add c99 setting to Makefile
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1249 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-25 16:54:33 +00:00
Anthony Minessale
a3d0b78ea0
tweak loadable module code to allow registration for langauges that can in turn fully implement modules of thier own (e.g. mono)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1244 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-25 00:33:00 +00:00
Anthony Minessale
cfdc15bc67
dox
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1241 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-24 16:19:11 +00:00
Anthony Minessale
6b57636823
causes part 3
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1232 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-22 18:12:17 +00:00
Anthony Minessale
1748885aae
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1229 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-22 16:06:55 +00:00
Anthony Minessale
1eb4d491a5
causes part 2
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1226 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-22 03:05:25 +00:00
Anthony Minessale
377090fa46
cause part 1
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1223 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-21 23:16:26 +00:00
Anthony Minessale
a9f86cb58a
add VAD
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1222 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-21 22:31:08 +00:00
Anthony Minessale
a680625e0a
add load command
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1209 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-20 00:58:06 +00:00
Anthony Minessale
ed53c98d67
add yucky hacks to make googletalk work with ilbc (shame on them)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1204 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-19 20:38:02 +00:00
Anthony Minessale
a128d3179e
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1198 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-19 16:44:01 +00:00
Michael Jerris
f2812dbcea
fix build on msvc when building with non-english default codepage (strange carachters in a spidermonkey header file)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1197 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-19 16:30:51 +00:00
Michael Jerris
6deb8b35df
create typedef for payload type\iana code
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1188 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-18 16:50:34 +00:00
Anthony Minessale
c0891ce9db
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1186 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-18 16:20:47 +00:00
Anthony Minessale
021ea0e724
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1181 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-18 00:24:52 +00:00
Michael Jerris
c3a77d23bb
improvements
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1176 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-17 18:25:43 +00:00
Michael Jerris
026e8d39ca
Set log levels on many existing log messages. A huge thanks to James Martelletti for going through all the log calls to do this.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1173 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-16 06:05:53 +00:00
Michael Jerris
d0a103a343
Addition of mod_syslog for *nix. Thanks to James Martelletti.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1158 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-14 16:45:31 +00:00
Anthony Minessale
d5457f8eca
backend for session to session event trading
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1157 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-14 16:43:49 +00:00
Brian West
a9a23aed22
file/func specific logging
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1128 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-12 17:51:47 +00:00
Anthony Minessale
e2cae5587c
dox
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1126 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-12 16:34:34 +00:00
Michael Jerris
9ac4da17f6
add stdio.h include for msvc, remove truncating cast warning, change to dynamic runtime on msvc. You can not pass FILE * between mods with differrent runtimes on msvc.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1125 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-12 15:25:26 +00:00
Brian West
53706b9fe2
dox and add a func to logger
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1124 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-12 15:04:26 +00:00
Brian West
1bb893efae
enhance logger stuff
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1123 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-12 14:41:35 +00:00
Anthony Minessale
56b9ed852d
dox
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1118 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-11 21:26:37 +00:00
Brian West
559b8ab26c
Gut Logger and put it back modular style
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1117 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-11 21:13:44 +00:00
Brian West
628e59a3ae
add some events and more data to core DB
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1115 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-11 14:55:14 +00:00
Anthony Minessale
4dda1b7b9a
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1108 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-10 18:28:46 +00:00
Brian West
82c1907380
2nd pass to add secure RTP
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1104 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-10 17:14:53 +00:00
Brian West
7a578a8951
1st pass to add secure RTP
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1102 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-10 16:11:24 +00:00
Michael Jerris
9db533862d
standardize to some more specific int types for frame size and rate variables.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1095 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-09 00:10:13 +00:00
Brian West
78e37908bc
Add optional packetization and VAD buster options to RTP
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1090 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-07 17:32:14 +00:00
Anthony Minessale
394a0c3c02
add payload accessor functions to rtp
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1071 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-06 21:08:30 +00:00
Anthony Minessale
a2f709698f
fix doxygen
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1070 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-06 20:59:25 +00:00
Anthony Minessale
a203f3138e
retool RTP API and downgrade previous constructor to back-compat convience function
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1069 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-06 20:56:29 +00:00
Anthony Minessale
0af60e1b2f
move CNG into the core and rearrange a few things
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1066 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-06 19:50:53 +00:00
Anthony Minessale
a55bb56ff2
petty dox typo
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1064 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-06 03:28:23 +00:00
Anthony Minessale
0eafe269bf
add a new Protocol
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1063 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-06 03:15:41 +00:00
Anthony Minessale
ce699a59b4
fix oversights in fix to oversights in recent doxygen commit
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1062 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-06 03:13:41 +00:00
Anthony Minessale
2e0c7b4cae
fix oversights in recent doxygen commit
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1061 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-06 03:09:26 +00:00
Anthony Minessale
de88d7e8bd
clean up some of the mess from the RTP additions and add doxygen comments
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1059 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-06 02:47:11 +00:00
Anthony Minessale
650ae09f06
let sip have stun and make suncc happy
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1054 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-05 22:46:50 +00:00
Anthony Minessale
35b309e91b
add stun to dingaling
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1049 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-05 20:17:22 +00:00
Michael Jerris
cd06692667
sun cc flexible array members must be defined as [] not [0]
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1047 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-05 00:55:22 +00:00
Anthony Minessale
fc9be366fd
internal tweaks
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1044 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-04 21:26:21 +00:00
Anthony Minessale
fb796a0180
ice ice baby
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1040 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-04 17:22:06 +00:00
Michael Jerris
0fe4db12d0
move stun to the core
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1038 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-04 16:50:35 +00:00
Anthony Minessale
48792eb5fc
a stunning new change
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1037 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-04 16:08:30 +00:00
Anthony Minessale
4fa64dd6d2
a stunning new change
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1036 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-04 16:07:40 +00:00
Michael Jerris
271d4b48c0
correct types on invalid_handler
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1029 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-04 04:46:49 +00:00
Michael Jerris
7f03b92fe6
switch_rtp windows tweaks and type changes.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1026 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-04 04:15:39 +00:00
Anthony Minessale
ab65eb3873
migrate everything to apr sockets
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1025 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-04 02:28:11 +00:00
Anthony Minessale
18fe30cdf0
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1019 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-03 23:31:07 +00:00
Michael Jerris
32817ef343
msvc tweaks, more to come.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1018 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-03 22:58:40 +00:00
Anthony Minessale
6427e320df
try out new builtin RTP using srtp lib
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1013 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-03 21:02:40 +00:00
Anthony Minessale
828e03715f
try out new builtin RTP using srtp lib
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1012 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-03 21:00:13 +00:00
Michael Jerris
f8ec13115a
win32 build tweaks
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1008 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-02 06:28:02 +00:00
Michael Jerris
93cfc4d616
tweak
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1006 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-02 00:31:34 +00:00
Anthony Minessale
3ad6d92294
icc compat tweak
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@993 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-31 16:48:58 +00:00
Michael Jerris
74d14b25f7
tweak to repair some damage from icc tweaks
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@992 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-31 16:10:00 +00:00
Anthony Minessale
64507e70ca
icc changes part 1
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@982 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-30 23:02:50 +00:00
Anthony Minessale
9ed06edb96
optimize
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@963 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-29 21:27:35 +00:00
Anthony Minessale
fac7b4a64e
optimize
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@960 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-29 19:11:20 +00:00
Michael Jerris
07a6d60efb
add missing } for extern C
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@915 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-24 21:28:46 +00:00
Anthony Minessale
f27b9f5b9f
tweak
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@901 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-22 20:55:58 +00:00
Michael Jerris
a2c448e118
windows build update to use more dynamic libs, fix some type issues, and fix jrtp build.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@862 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-17 02:45:19 +00:00
Michael Jerris
0c99fa6025
msvc build tweak
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@832 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-10 08:48:47 +00:00
Michael Jerris
781107bcc6
doxygen fixes
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@793 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-07 20:31:48 +00:00
Brian West
e08d9c86d3
update platform info
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@790 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-07 19:12:25 +00:00
Michael Jerris
3a0038330d
add perl dir to the path at runtime on windows.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@759 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-06 03:23:34 +00:00
Michael Jerris
ce0bd79277
mod_perl build on windows.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@755 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-06 00:02:45 +00:00
Anthony Minessale
32a7b3c2ca
add mod_perl
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@740 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-03 16:57:21 +00:00
Anthony Minessale
79e34c97db
extra db approach in js
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@737 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-02 22:32:42 +00:00
Anthony Minessale
c2398be31b
make mac like cepstral
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@734 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-02 21:05:07 +00:00
Anthony Minessale
b464421d3f
doxygen
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@732 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-02 20:39:59 +00:00
Anthony Minessale
acc02b4c94
get rid of pesky *
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@731 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-02 20:35:15 +00:00
Anthony Minessale
f6afa2d5b3
add file io and sqlite native ability to js
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@729 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-02 17:36:23 +00:00
Anthony Minessale
e9ba607a6c
add optional pool arguement to outgoing channel to allow pre-created pools to be donated to the new session
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@726 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-02 14:49:23 +00:00
Anthony Minessale
4799ec8b8a
break everything
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@720 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-01 22:55:28 +00:00
Anthony Minessale
7665bf3e8e
fix lots of BS
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@716 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-01 17:06:10 +00:00
Michael Jerris
92a326c1da
add curl and teletone to mod_spidermonkey. fix /tmp/ dir for windows, added global temp dir var. Multiple type fixes.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@713 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-01 06:25:56 +00:00
Anthony Minessale
ae4c68d880
add dtmf callback to brige (not tested good luck)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@710 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-01 05:52:42 +00:00
Anthony Minessale
7542843deb
add record to js
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@706 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-01 04:47:34 +00:00
Anthony Minessale
dec2ae05a5
more ivr goodies
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@705 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-01 00:58:32 +00:00
Michael Jerris
12094ad7a0
make global directory struct work on windows.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@703 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-28 23:00:34 +00:00
Anthony Minessale
62e510c9b1
general haphazzard rearrangement
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@702 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-28 21:21:48 +00:00
Michael Jerris
4363c224f5
fix msvc warnings. fix high priority on windows.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@695 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-28 05:55:22 +00:00
Anthony Minessale
bdd2223542
more ivr stuff (not done)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@693 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-28 02:08:42 +00:00
Brian West
5938cee550
Ok make up your mind please :P
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@689 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-27 04:52:56 +00:00
Michael Jerris
56727a4712
more tts interface fixes
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@688 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-27 04:48:51 +00:00
Michael Jerris
5fdc0232c4
add mod_cepstral, more tweaks to the tts interface
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@687 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-27 04:33:58 +00:00
Michael Jerris
e42dd48d7f
add mod_spidermonkey to msvc build, tweak mod_spidermonkey warnings, fix tts interface.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@686 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-27 04:01:38 +00:00
Brian West
3089e7abf7
Fix a few signedness issues.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@684 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-27 00:47:58 +00:00
Anthony Minessale
9369bfba5a
add mod_cepstral to test tts backend
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@681 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-26 20:23:23 +00:00
Anthony Minessale
14072e8725
remove freeswitch's privates (couldn't resist)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@677 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-26 04:52:34 +00:00
Anthony Minessale
fb9b21144b
mess around on win32 a little
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@675 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-26 03:13:01 +00:00
Anthony Minessale
7174e8ae8a
add high and low priority event queues
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@674 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-26 00:12:17 +00:00
Anthony Minessale
5cd80803f7
fix doxygen
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@670 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-24 22:27:10 +00:00
Anthony Minessale
d8146aa7c7
add timetable
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@669 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-24 22:22:43 +00:00
Anthony Minessale
50b78f79ee
tweaks for daemon mode and wanpipe
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@665 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-24 19:11:49 +00:00
Michael Jerris
a54191c42f
silence another unnecessary warning in msvc.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@664 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-24 16:58:40 +00:00
Anthony Minessale
9bfd7ae25a
*) Add support for unified config:
...
When config file does not exist the system will
browse freeswitch.conf (if it exists) for an embedded file.
Embeded files denoted with +file.conf
Terminated by either another [+XXX] or EOF
eg
[+iax.conf]
...
[+exosip.conf]
...
EOF
*) Change default examples to use this method
*) Fix small bug in core to pass along failure when outgoing channel fails.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@663 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-24 16:47:22 +00:00
Michael Jerris
dbdad46049
fix msvc compile. Cleanup some warnings.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@660 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-24 00:02:02 +00:00
Anthony Minessale
01fd1c3af4
More PRI/SIP gateway stuff
...
**ATTENTION** you will need to libs/jrtplib/.complete ; make installall
to get it to compile on existing builds as the jrtplib required changes.
Added teletone DTMF to mod_wanpipe and rfc2933 DTMF to mod_exosip
Added temporary poor man's daemon
freeswitch -nc > /var/log/freeswitch.log
then it will await a HUP
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@659 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-23 22:41:08 +00:00
Michael Jerris
26d698de34
update PACKED
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@656 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-22 23:07:23 +00:00
Anthony Minessale
172b62785c
1 of many PRI/SIP gateway related updates
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@654 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-22 21:14:22 +00:00
Anthony Minessale
3dcc973c9d
1 of many PRI/SIP gateway related updates
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@653 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-22 21:04:53 +00:00
Anthony Minessale
e84fb76ac2
1 of many PRI/SIP gateway related updates
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@650 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-22 17:16:47 +00:00
Anthony Minessale
fe3e994237
adding some inter channel communication and other code for real-world usage (not totally done)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@646 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-22 02:50:33 +00:00
Michael Jerris
fea14e6d90
block unimportant warnings in core.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@642 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-21 17:55:38 +00:00
Anthony Minessale
2bea53541b
cleanup some warnings
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@639 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-21 15:05:18 +00:00
Michael Jerris
241903ba4e
fix more msvc warnings.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@636 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-20 06:13:56 +00:00
Michael Jerris
70739b6d2e
fix more msvc warnings. Fix mod_sndfile build on OSX
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@635 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-20 04:36:29 +00:00
Michael Jerris
fc341792be
turn on higher warning level in msvc for the core and libteletone and resolve warnings.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@634 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-20 00:23:25 +00:00
Anthony Minessale
847b7160bd
Add multicast event module
...
This does 2 things when loaded:
1) All events are serialized and sent to the multicast destination.
2) Any serialized event received on the socket will be reconstituted into
an event and fired on the local box
So, if you make another local event handler listen for the custom event from
mod_event_multicast "multicast::event" you will be able to react to events
on other instances of FreeSWITCH
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@616 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-14 21:13:53 +00:00
Michael Jerris
93d822b66f
add mod_zeroconf to msvc build, and fix compile error.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@614 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-14 18:18:40 +00:00
Anthony Minessale
bc241ba425
add headers for module funcs to avoid warnings
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@610 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-14 16:53:15 +00:00
Anthony Minessale
176908397b
add zerconf (the howl depend lib needs work sigh)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@606 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-13 23:59:14 +00:00
Anthony Minessale
1bd8aaa8f1
Add mod_ldap as directory example
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@580 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-09 22:37:44 +00:00
Anthony Minessale
95fbe70503
Initial framework for directory interface modules (ldap etc)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@575 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-09 16:28:49 +00:00
Anthony Minessale
472e08dd51
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@555 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-07 20:56:16 +00:00
Anthony Minessale
9e85723e3f
Fresh updates (Beware... all coded today)
...
*) Rename *event_handler* to state_handler to avoid confusion with newer eventing engine.
*) Allow application level of state_handler to be layered/stacked (up to 30)
*) Add new core global state_handler stack (also up to 30.. seems reasonable, constant in switch_types.h)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@554 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-07 20:47:15 +00:00
Anthony Minessale
0d8c8b1e16
de-e speeech
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@499 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-30 16:23:26 +00:00
Anthony Minessale
6021832880
Windows updates
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@466 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-27 23:47:45 +00:00
Anthony Minessale
3a802221be
fix doxygen
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@463 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-27 22:21:02 +00:00
Anthony Minessale
534db1947e
Add more IVR stuff and a test app (mod_ivrtest)
...
in dialplan (ivrtest <path to file>)
if the file is valid it will play the file and you will be expected to dial digits
until you dial 10 digits or press # or * (* will end the call) (# will repeat the test endlessly)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@462 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-27 21:33:45 +00:00
Anthony Minessale
17e06cf6bc
Add framework for speech modules (asr/tts)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@457 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-27 16:43:57 +00:00
Anthony Minessale
48ae14726b
make test 'record' app in app_playback.c
...
You are best off doing wav (trust me)
It can record at 8 16 22 and 32 khz if you can manage to have a channel at that speed.
syntax [record /tmp/blah.wav]
dial * to end (dtmf only works in iax and portaudio {beg file to add it to mod_exosip})
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@453 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-27 01:46:14 +00:00
Michael Jerris
3bbfb94a22
add switch_ivr.h include to switch.h
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@450 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-26 18:19:48 +00:00
Anthony Minessale
569be50b63
IVR groundwork (move playback into the core and add timing option)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@448 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-26 18:00:27 +00:00
Anthony Minessale
613060fd29
IVR groundwork (move playback into the core and add timing option)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@447 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-26 17:57:25 +00:00
Anthony Minessale
2a329aa5e7
make all buffers the same size
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@384 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-14 16:44:52 +00:00
Anthony Minessale
54664b3dab
fix iax and add regex dialplan
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@381 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-14 16:01:52 +00:00
Michael Jerris
ba43278132
doxygen cleanups\changes.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@319 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-10 20:10:38 +00:00
Michael Jerris
1c0683f59a
add main page to the doxygen docs.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@318 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-10 16:00:40 +00:00
Michael Jerris
1de742993f
added docs to msvc project, fixed some doxygen warnings.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@317 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-10 15:09:26 +00:00
Michael Jerris
950175a2d8
fix sqlite docs.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@314 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-10 00:28:31 +00:00
Michael Jerris
cf661fbaca
misc. cleanup.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@313 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-09 22:30:58 +00:00
Anthony Minessale
4133798aa0
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@311 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-09 22:03:35 +00:00
Anthony Minessale
4a211d8e04
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@310 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-09 20:13:13 +00:00
Anthony Minessale
061c1ecb1b
inter session communication goodies
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@309 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-09 19:48:20 +00:00
Anthony Minessale
208ec3ff7a
stream id stuff
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@307 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-09 18:40:56 +00:00
Michael Jerris
5ddfc55d23
compete sqlite documentation. more cleanup to come.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@306 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-09 18:06:09 +00:00
Michael Jerris
39223008df
sqlite docs are all in there now, time for cleanup.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@305 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-09 14:52:48 +00:00
Michael Jerris
9b4a9cb040
More sqlite doxygen cleanup and remove a no longer used project file.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@304 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-09 05:46:43 +00:00
Michael Jerris
c028235080
Fix some warnings in MSVC (no more deprecated warnings again), fixed g729 build in msvc broken when the files in the lib moved when it was autotooled. Add details in readme about msvc requirements when using VC++ express 2005.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@303 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-09 02:36:00 +00:00
Anthony Minessale
718551016a
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@301 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-06 20:03:42 +00:00
Anthony Minessale
b93b22e318
version stuff
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@299 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-06 17:44:19 +00:00
Michael Jerris
df6e1cf2ba
First bit of sqlite docs... still needs quite a bit o work..
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@298 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-06 16:12:33 +00:00
Anthony Minessale
883efd4e76
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@296 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-06 02:01:11 +00:00
Anthony Minessale
f276ac9e68
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@295 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-06 01:44:52 +00:00
Michael Jerris
e787af53bc
tweak fix for apr doxygen.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@291 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-05 23:30:07 +00:00
Michael Jerris
49a0eb2955
generate switch_version.h in autotools builds.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@290 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-05 23:13:00 +00:00
Michael Jerris
96b6fb70cf
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@288 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-05 22:53:52 +00:00
Michael Jerris
94bb9e855d
Create switch_version.h on msvc.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@287 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-05 22:51:01 +00:00
Michael Jerris
418ba6863d
tweak to apr doxygen
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@284 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-05 21:57:44 +00:00
Anthony Minessale
16d6848af7
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@282 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-05 21:34:51 +00:00
Anthony Minessale
a4d3a30ac2
what's up doc
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@280 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-05 21:03:22 +00:00
Anthony Minessale
8a292bf0b2
stupid crap
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@279 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-04 01:04:33 +00:00
Michael Jerris
900c08571b
and a few corrections to the docs.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@260 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-03 00:48:52 +00:00
Michael Jerris
dc31a8ecd3
complete first go through of doxygen for the apr\apu based functions.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@259 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-03 00:10:18 +00:00
Michael Jerris
4c3434b0a7
tweak
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@258 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-02 22:45:50 +00:00
Michael Jerris
e29d980b68
More doxygen fun.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@257 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-02 22:36:01 +00:00
Michael Jerris
5eb15f329e
more apr doxygen, this time, it works right!
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@256 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-02 20:32:26 +00:00
Anthony Minessale
a642381f25
unix retool
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@255 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-02 18:31:50 +00:00
Anthony Minessale
111a0f6deb
resample into core
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@254 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-02 17:28:59 +00:00
Michael Jerris
7dc6dd3f5a
doxygen of switch thread funcs from apr.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@253 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-02 15:14:19 +00:00
Michael Jerris
ba38f7cff3
some more doxygen stuff... still a LOT to go.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@252 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-02 05:00:28 +00:00
Michael Jerris
f78b600507
initial doxygen. Much, much more to go.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@251 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-01 15:23:12 +00:00
Michael Jerris
480d1ac279
fix some size_t\int warnings.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@245 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-30 17:20:21 +00:00
Anthony Minessale
e98104d109
Add rate to frames and a bunch of evil resample code
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@240 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-30 00:00:21 +00:00
Michael Jerris
0fbf3f5af0
a little more header juggling.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@239 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-29 19:14:05 +00:00
Michael Jerris
cb53fc6ef5
tweak include order
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@238 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-29 17:28:54 +00:00
Michael Jerris
975a087ac4
juggle the header files.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@237 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-29 17:25:28 +00:00
Anthony Minessale
82d141df73
getting ready for auto resample in opposing versions of SLIN codec
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@232 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-29 00:26:17 +00:00
Anthony Minessale
e7c060b8b9
add channels arg to codec
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@227 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-28 20:06:03 +00:00
Anthony Minessale
094acc5dd3
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@214 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-27 20:15:00 +00:00
Anthony Minessale
378ce8e115
let codecs and timers use existing pool and add new file i/o backend
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@212 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-27 18:46:12 +00:00
Anthony Minessale
a0d199af73
let codecs and timers be init with an existing pool
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@209 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-26 21:01:22 +00:00
Anthony Minessale
8c964a5c85
test
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@208 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-26 19:58:42 +00:00
Anthony Minessale
b4845b9ff1
ok gsm works
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@206 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-26 19:09:59 +00:00
Anthony Minessale
f3d711ccae
event cleanup from windows perspective
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@204 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-23 21:09:36 +00:00
Michael Jerris
1e8b78dc6b
cleanup?
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@201 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-23 14:29:05 +00:00
Anthony Minessale
f52b45c2c9
centralize api interface
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@197 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-23 02:55:25 +00:00
Anthony Minessale
32273a0c3f
xmppmas
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@196 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-23 02:24:56 +00:00
Anthony Minessale
0fd698a347
fix
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@192 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-22 22:17:25 +00:00
Anthony Minessale
3e0234219b
use more of apr-utils in the event stuff
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@191 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-22 18:53:33 +00:00
Anthony Minessale
e60fbc2267
get uuid from apr-utils for channel events
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@190 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-22 01:57:32 +00:00
Anthony Minessale
98a797a2f2
add apr-utils
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@189 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-21 22:38:53 +00:00
Anthony Minessale
6949227ca1
more events and some build changes
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@188 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-21 22:25:22 +00:00
Anthony Minessale
03cc285054
unix build tweaks
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@187 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-21 17:33:03 +00:00
Anthony Minessale
146b99e1d6
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@184 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-21 16:24:37 +00:00
Anthony Minessale
006e0f8d14
add network_addr to profile (had to add a func to get it for iax)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@175 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-20 16:01:18 +00:00
Anthony Minessale
ab0b99eb00
more event stuff
...
you should now be able to bind an event handler to a
paticiular file or function not just a paticular event
when using the custom event
like "file:somefile.c"
or "func:somefunc"
also events now have headers which can be added
with varargs and should be created and delivered with api calls
switch_event *event;
regular event:
if (switch_event_create(&event, SWITCH_EVENT_STARTUP) == SWITCH_STATUS_SUCCESS) {
switch_event_add_header(event, "event_info", "System Ready");
switch_event_fire(&event);
}
custom event:
if (switch_event_create_subclass(&event, SWITCH_EVENT_CUSTOM, "some_subclass_string") == SWITCH_STATUS_SUCCESS) {
switch_event_add_header(event, "event_info", "hello world %d", 42);
switch_event_fire(&event);
}
switch_event_add_header(event, "test %d", 42);
also you can serialize and event into a buffer in
a printable/transferrable format with optional body
char buf[1024];
with body:
switch_event_serialize(event, buf, sizeof(buf), "This is a body my favorite number is %d", 42);
no body:
switch_event_serialize(event, buf, sizeof(buf), NULL);
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@173 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-19 19:57:32 +00:00
Anthony Minessale
2a58e2038a
yet more rearrangment of events ;-)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@172 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-19 18:55:31 +00:00
Anthony Minessale
b09fedf7e0
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@158 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-15 20:20:57 +00:00
Anthony Minessale
48e62491e1
make eventing cooler, yeah I know it's only 1 day old but... *shrug*
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@156 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-15 19:10:43 +00:00
Anthony Minessale
230c5012a6
more event code
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@153 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-14 22:46:09 +00:00
Anthony Minessale
03533ad0f3
make events queue in the bg
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@152 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-14 21:29:46 +00:00
Anthony Minessale
e16f28d529
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@151 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-14 20:22:19 +00:00
Anthony Minessale
2620e0aa30
events
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@131 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-13 20:52:33 +00:00
Anthony Minessale
40824bc41a
add event system
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@128 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-13 19:53:29 +00:00
Anthony Minessale
6fd5a33dbf
codec improvement
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@114 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-12 17:50:07 +00:00
Anthony Minessale
c5174dbcc8
OMG this rocks
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@102 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-09 22:19:08 +00:00
Anthony Minessale
86c1904cce
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@101 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-09 19:33:21 +00:00
Anthony Minessale
bbb07474a7
adding some shit
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@100 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-09 19:23:04 +00:00
Anthony Minessale
46b0e12a66
merge
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@90 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-06 21:25:56 +00:00
Anthony Minessale
8311b9a01a
iax and empty core for opal
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@86 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-06 17:18:56 +00:00
Michael Jerris
f8b4096961
Suppress MSVC 8 warnings about crt functions.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@62 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-11-20 16:49:14 +00:00
Michael Jerris
b266ae8b11
Moved remotely
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@48 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-11-19 20:09:09 +00:00