882 Commits

Author SHA1 Message Date
Brian Fertig
33621e87b1 Fix linking problem
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2739 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-18 11:47:25 +00:00
Brian West
449d11a073 Ok email address added for pdt ;) WE LOVE YOU MANsvn status Makefile.amsvn status Makefile.am
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2732 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-18 03:06:55 +00:00
Brian Fertig
3969362f6e Enable threads on Python
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2727 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-17 22:06:47 +00:00
Brian Fertig
d08d2fbff0 Enable threads on Python
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2726 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-17 22:03:24 +00:00
Brian West
1b48735d8c Ok small nitpicks for OS X....
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2724 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-17 21:28:31 +00:00
Brian Fertig
24ee2c2744 Update to swig files
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2723 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-17 21:15:08 +00:00
Anthony Minessale
32198c36e4 trying paul's patch
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2721 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-17 18:03:32 +00:00
Brian West
e25d85bc5d git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2718 d0543943-73ff-0310-b7d9-9358b9ac24b2 2006-09-17 01:35:17 +00:00
Brian West
4cc5e0d70b ok rename it back
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2717 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-17 01:34:40 +00:00
Anthony Minessale
aa2a793e28 optimizations and disable the conditional thing till we see why it dies at 100cps X 800 calls
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2708 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-15 21:43:18 +00:00
James Green
78c7eff787 Changes needed to build correctly, tested under linux, please let me know how other platforms go.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2701 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-14 14:48:26 +00:00
James Green
7e3eaee3b3 Accidently importing into a subdir.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2673 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-12 23:39:18 +00:00
Anthony Minessale
8c41b90906 make sure it compiles
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2668 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-12 22:11:47 +00:00
James Green
c6763869fe Importing mod_mono, hoorah, still need to import managed stuff.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2661 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-12 13:03:23 +00:00
Anthony Minessale
a75720b76a update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2659 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-12 12:43:27 +00:00
Anthony Minessale
e4759fc8f8 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2658 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-12 12:41:44 +00:00
Anthony Minessale
fd33ce1e0f apply api change from yesterday
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2657 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-12 12:38:26 +00:00
Michael Jerris
64517ea7f9 set -fno-strict-aliasing on mod_php for gcc. we really need to not be doing this, but this is because of an issue in the php header files. Please note, the affects our ability to do any real optimization on this module. The best details I found on this issue are at: http://www.opensolaris.org/jive/thread.jspa?threadID=1923&tstart=0 .
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2654 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-12 04:02:13 +00:00
Michael Jerris
fb4c59351a windows warnings fixes and formatting for mod_php.c
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2652 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-12 03:20:56 +00:00
Brian Fertig
941d97f8a2 Updates working on crash
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2651 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-12 03:18:39 +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
Brian Fertig
3cb83d21d8 PHP Goes Beta
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2646 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-12 01:23:53 +00:00
Brian Fertig
1688a62e6c Yet another fix. PHP now doesnt crash :)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2639 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-11 12:06:27 +00:00
Brian Fertig
dd704bca72 Yet another fix. PHP now doesnt crash :)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2638 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-11 11:23:56 +00:00
Brian Fertig
5e0ed731e4 Initial Release of Ruby
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2637 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-11 11:22:15 +00:00
Brian Fertig
b40eaf8a6e mod_ruby release information
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2631 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-10 23:22:33 +00:00
Brian Fertig
84004e324d Inital Release of Python
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2630 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-10 23:20:44 +00:00
Brian Fertig
ca74ae80d9 Major Updates Still buggy
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2629 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-10 23:19:15 +00:00
Anthony Minessale
0191360b3c show doc
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2592 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-09 04:11:58 +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
0a0c41f0ec ok so php works but it should be way better than this
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2567 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-08 03:09:26 +00:00
Anthony Minessale
c15e856106 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2564 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-08 00:51:40 +00:00
Anthony Minessale
e52c44dc84 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2562 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-07 21:51:10 +00:00
Anthony Minessale
ffffd46af8 it builds but what else could it do?
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2559 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-07 20:26:35 +00:00
Anthony Minessale
3e6f072b29 initial checkin of mod_php (don't get too excited)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2558 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-07 20:00:23 +00:00
Anthony Minessale
e1d499827d avoiding segfault i should never be called
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2485 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-03 04:29:42 +00:00
Anthony Minessale
31892070a6 working towards stability with new functions
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2368 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-22 22:34:48 +00:00
Anthony Minessale
326e36e72d fix fileio
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2360 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-22 17:19:31 +00:00
Anthony Minessale
780edcd09d optimizations
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2354 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-22 00:56:27 +00:00
Anthony Minessale
a0219008e9 fix js
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2353 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-22 00:03:47 +00:00
Michael Jerris
14d79cf500 Windows build tweaks.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2352 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-21 22:48:01 +00:00
Anthony Minessale
c92e1cb79a bunch of tweaks to make ivr more fun
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2351 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-21 20:16: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
Anthony Minessale
d7f33e6aa7 add funcs to js
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2332 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-18 21:18:41 +00:00
Michael Jerris
1003a4d404 Cleanups from update to new build system for windows.
More to come.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2325 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-18 07:22:18 +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
Michael Jerris
a90b88d201 revert static runtime change for msvc. Bad idea...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2290 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-14 17:44:38 +00:00
Michael Jerris
fea5980a12 Change windows build to use static runtime to make it more easily portable to older windows, and to decrease startup time on windows.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2289 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-14 16:11:08 +00:00