Commit Graph

1205 Commits

Author SHA1 Message Date
Anthony Minessale dc201d221e twiax
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2687 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-13 19:02:22 +00:00
Michael Jerris 5c74acbabd add default values for woomera in case you don't specify in the config file.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2685 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-13 16:33:09 +00:00
James Green fa446b5aba It appears I suck at getting things in the right directory.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2683 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-13 15:35:24 +00:00
James Green ca773a60c6 Creating FreeSwitch.NET project, this is by no means complete yet but too many people are interested
to keep it under wraps much longer! Feel free to pay me to work on this if it's in your businesses
interests, I need a job ;) Documentation, more code and examples will be on its way soon.

Email the list if there's any questions, i'd love to help people get started helping development.

- james@nerdc0re.com


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2682 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-13 15:31:28 +00:00
Michael Jerris 231c1d09f0 fix rtp destroy race.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2678 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-13 14:31:55 +00:00
Anthony Minessale f385b33813 change woomera defaults
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2677 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-13 13:41:35 +00:00
Anthony Minessale 0b1b9f981c a little more cause stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2674 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-12 23:41:42 +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 06a0b2c0d5 cause code goodies
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2671 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-12 23:20:40 +00:00
Anthony Minessale 387fdc5311 add justinu's patch
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2670 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-12 22:24:39 +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 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
Michael Jerris 057eb31fd5 small 711 tweak, windows style!
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2667 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-12 18:34:43 +00:00
Anthony Minessale bcadf93455 small 711 tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2666 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-12 18:31:15 +00:00
Michael Jerris 2af7fb2fd9 update g711 to use the g711.h from the g7xx lib instead.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2665 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-12 17:55:04 +00:00
Anthony Minessale 0643695cab update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2664 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-12 17:50:17 +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
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
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
Michael Jerris 49650d7f21 make globals.fd size int
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2648 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-12 01:41:23 +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
Anthony Minessale 1ce451ad65 less priority
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2645 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-11 23:58:52 +00:00
Anthony Minessale acc81d7b55 iax
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2644 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-11 22:52:19 +00:00
Michael Jerris 104e82c91e add mod_g723_1 passthrough codec to default windows build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2642 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-11 18:28:09 +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
Michael Jerris 8d63c12387 make mod_sofia be able to build on the windows build system. I am sure this won't actually run yet, there are still bits to do in the build system.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2635 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-11 07:19:22 +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
Michael Jerris 89649d47d8 rever oops
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2606 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-10 05:52:45 +00:00
Michael Jerris 9361860401 expand types for type safety
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2605 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-10 05:37:07 +00:00
Anthony Minessale 26d79e6c64 small change
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2599 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-09 12:42:38 +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 7142a03c9a add uuid to originate
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2591 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-09 04:03:30 +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
Brian West 7055124241 remove the a thing people can do it right
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2587 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-08 20:40:19 +00:00
Brian West 93d17cd523 tweaks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2586 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-08 20:38:24 +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 4531a4e3e1 add dynamic buffers
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2584 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-08 19:00:40 +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
Michael Jerris 8b8a85db56 Add g729 passthrough for windows build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2581 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-08 16:52:18 +00:00
Brian West add502f073 oops ifdef on these
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2580 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-08 16:51:35 +00:00
Brian West ff00631cad oops return false
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2579 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-08 16:50:00 +00:00
Brian West fca9a7879b add g723 pass through options
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2578 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-08 16:46:13 +00:00
Michael Jerris 12d496bb75 make detecting if it's a soundfile more flexible on windows.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2577 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-08 16:35:58 +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
Michael Jerris 597e2becbc add flags to conference dial. add mute and/or deaf after the dial string, or none if you dont want any flags, but need to do cid number/name. Please test.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2571 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-08 04:49:38 +00:00
Anthony Minessale 1050a93c0f wild guess
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2570 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-08 03:28:49 +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
Michael Jerris 2767a7d002 Changed SWITCH_EVENT_CHANNEL_STATE to SWITCH_EVENT_CHANNEL_HANGUP on the hangup state change, add Hangup-Cause event header.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2563 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-07 22:39: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 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 52956d5cb1 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2554 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-07 15:08:40 +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 64b0912eb6 add mod_park to the windows build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2543 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-07 05:35:29 +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
Michael Jerris 7863ad0d70 remove unnecessary muting on volume adjust and energy, bad bluetooth headsets find bugs, thanks Jason Garland for finding this one.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2541 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-07 05:34:11 +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
Michael Jerris cd3b46dd02 revert oops
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2539 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-07 00:04:29 +00:00
Brian West f34ed15ac2 adding a check for frame sizes so VBR codecs work correctly.. Should this be moved to the core instead?
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2538 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-06 23:58:14 +00:00
Michael Jerris 4f0aae4dba fix message khz->hz
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2537 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-06 23:29:03 +00:00
Brian West 3b47424b94 commit both 8k and 16k versions
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2535 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-06 17:57:38 +00:00
Brian West febbefc62b commit both 8k and 16k versions
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2534 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-06 16:11:57 +00:00
Brian West b7ded39821 RTP profile for audio and video conferences with minimal control.
This memorandum is a revision of RFC 1890 in preparation for advancement
from Proposed Standard to Draft Standard status. Readers are encouraged to
use the PostScript form of this draft to see where changes from RFC 1890 are
marked by change bars.

"G722 is specified in ITU-T Recommendation G.722, "7 kHz audio-coding within
64 kbit/s". The G.722 encoder produces a stream of octets, each of which
SHALL be octet-aligned in an RTP packet. The first bit transmitted in the
G.722 octet, which is the most significant bit of the higher sub-band
sample, SHALL correspond to the most significant bit of the octet in the RTP
packet.

Even though the actual sampling rate for G.722 audio is 16000 Hz, the RTP
clock rate for the G722 payload format is 8000 Hz because that value was
erroneously assigned in RFC 1890 and must remain unchanged for backward
compatibility. The octet rate or sample-pair rate is 8000 Hz."




git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2523 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-05 22:21:14 +00:00
Brian West 7c11839c58 cleanups
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2522 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-05 22:11:42 +00:00
Brian West 55156a46db Thanks stkn
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2521 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-05 22:09:56 +00:00
Michael Jerris d9d51826fb fix assert when running api originate and not passing an extension.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2519 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-05 20:34:17 +00:00
Michael Jerris 24f3cc1e85 add some syntax and descriptions of api commands and applications.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2518 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-05 18:52:16 +00:00
Brian West 484b7daf71 Makefile for mod_g722
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2517 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-05 18:50:39 +00:00
Michael Jerris 7639d6452e Add mod_g722, WIP, we need to test this still. Thanks to Steve Underwood for releasing the library that this codec module is based on.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2516 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-05 18:49:53 +00:00
Brian West 62f339dac1 Ok this passes audio.. please test
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2502 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-04 15:50:30 +00:00
Michael Jerris 19a820229f make conf use default profile if none specified, make it work with soundfiles on windows, must have full drive letter and path (i.e. C:\Windows\Media\blah.wav)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2499 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-04 03:36:56 +00:00
Brian West 19f860e274 Ok this actually passes the right RTP sizes but no audio. Work in progress
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2496 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-04 02:13:20 +00:00
Brian West 6b079d1404 Missing end tag
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2494 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-04 00:03:20 +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 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 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
Michael Jerris 657ca535ed fix crash when passing null string to switch_core_session_locate (via killchan with no param)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2479 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-02 07:31:18 +00:00
Brian West 0da13b72f2 more tweaks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2474 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-31 21:46:39 +00:00
Brian West 302ff10c65 Some devices need the 'a' there which is dumb
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2468 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-31 02:08:47 +00:00
Brian West ae6a661fb7 more work
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2467 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-31 01:48:17 +00:00
Brian West 0e04448101 small tweaks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2463 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-31 00:15:31 +00:00
Michael Jerris fc2cd3c882 tweak. still wip.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2462 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-30 23:58:14 +00:00
Brian West 5d54b81281 clarification
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2460 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-30 23:23:22 +00:00
Anthony Minessale 4c1a2e0922 fix some bugs and g726 wip (only 32 works so far)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2459 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-30 22:03:52 +00:00
Brian West 9b9000a147 wip
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2458 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-30 19:46:43 +00:00
Brian West cc75926625 fix name
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2454 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-30 16:33:17 +00:00
Brian West b4005e094d fix name
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2453 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-30 16:31:35 +00:00
Anthony Minessale 7de2d07626 wip
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2448 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-30 14:49:13 +00:00
Brian West ebfa5d5733 we'll have to use this when ptime works correctly
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2446 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-30 05:32:35 +00:00
Brian West fe9fb144dc some notes for later
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2445 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-30 05:16:12 +00:00
Brian West f665cf6f72 fat finger
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2444 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-30 05:03:40 +00:00
Brian West add97be821 tweaks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2443 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-30 05:01:52 +00:00
Anthony Minessale 15696c8696 add an element
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2442 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-30 04:58:13 +00:00
Brian West d7a46ec8f5 Work in progress
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2441 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-30 04:04:47 +00:00
Brian West ff37130959 Codec Stub
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2440 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-30 02:41:22 +00:00
Brian West a31eb82d0b small tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2439 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-30 02:38:32 +00:00
Michael Jerris 8712224760 change date format so output of show channels does not have another comma in a comma sep list.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2438 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-29 23:52:45 +00:00
Anthony Minessale 300737a18a bigger socket bufer
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2437 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-29 23:06:12 +00:00
Brian West 7be5486677 wip
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2434 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-29 22:36:18 +00:00
Anthony Minessale ded7fa6c6f g726 work
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2432 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-29 21:07:24 +00:00
Brian West b4f50d092e in progress
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2431 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-29 20:31:01 +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 c5b8547676 WIP
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2422 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-29 02:42:27 +00:00
Anthony Minessale 8cc23ab2ef update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2421 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-29 01:27:23 +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 c0849e1a40 fix stupidness
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2419 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-28 23:50:10 +00:00
Anthony Minessale e262fb87b0 tweaks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2418 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-28 23:44: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 0c1e874de2 WIP
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2416 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-28 16:40:05 +00:00
Brian West d4da2570ea adding note
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2415 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-28 03:14:21 +00:00
Michael Jerris 087d731301 add answer application, change playback to preanswer by default.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2403 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-26 21:21:02 +00:00
Anthony Minessale f83a8ecf46 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2401 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-26 21:13:56 +00:00
Michael Jerris ac2b1e2269 add initial windows build bits for sofia-sip. This still needs the lib added to the build process and will not work with the stock sofia-sip tarball just yet. More commits to come.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2400 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-26 05:36:59 +00:00
Anthony Minessale 4bb6f96926 Adding mod_sofia to the tree so we can work on it easier....
I am not adding it to the examples or to the modules.conf because it's not really ready for that yet.
This is only 1.5 days old from scratch at this point but the brave hearted who want to play with it can do the following:

Add this to modules.conf:
-----------------------------------------------------------------------------
endpoints/mod_sofia
-----------------------------------------------------------------------------

Add this to freeswitch.xml in the configuration/modules.conf area
-----------------------------------------------------------------------------
<load module="mod_sofia"/>
-----------------------------------------------------------------------------

Add this to freeswitch.xml in the configuration section

-----------------------------------------------------------------------------
    <configuration name="sofia.conf" description="sofia Endpoint">
      <!-- You may have multiple profiles -->
      <profile name="test">
        <param name="rfc2833-pt" value="101"/>
        <param name="sip-port" value="5060"/>
        <param name="dialplan" value="XML"/>
        <param name="dtmf-duration" value="100"/>
        <param name="codec-prefs" value="PCMU"/>
        <param name="use-rtp-timer" value="true"/>
        <param name="rtp-ip" value="127.0.0.1"/>
        <param name="sip-ip" value="127.0.0.1"/>
        <!-- optional ; -->
        <!-- <param name="ext-rtp-ip" value="stun:stun.server.com"/>-->
        <!-- <param name="ext-rtp-ip" value="100.101.102.103"/> -->

        <!-- VAD choose one (out is a good choice); -->
        <!-- <param name="vad" value="in"/> -->
        <!-- <param name="vad" value="out"/> -->
        <!-- <param name="vad" value="both"/> -->
	<!--<param name="alias" value="sip:208.64.200.40:5555"/>-->
      </profile>
    </configuration>
-----------------------------------------------------------------------------

The call string to use profile test would be:

sofia/test/1000@1.2.3.4

as in:

<action application="bridge" data="sofia/test/1000@1.2.3.4"/>



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2398 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-25 23:55:59 +00:00
Brian West 89604ff718 This isn't working yet. I'm adding it so tony can get quick/easy access to it. /b
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2396 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-25 22:21:03 +00:00
Brian West a4bd603897 This bugs me :P It's gotta match
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2395 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-25 22:07:11 +00:00
Brian West 8a082ad179 This bugs me :P It's gotta match
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2394 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-25 22:06:28 +00:00
Brian West 071990853c This bugs me :P It's gotta match
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2393 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-25 22:06:00 +00:00
Michael Jerris b4d3a5089d fix db path to use globals dir. Fixes windows service failure on opening/creating db's.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2389 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-25 05:50:49 +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 1569055084 conference update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2385 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-24 20:23:43 +00:00
Anthony Minessale 271c2f9c98 fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2384 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-24 19:54:09 +00:00
Anthony Minessale d8703f5bd2 change conference
no more <rooms>
rooms will just be created on the fly.

<action application="conference" data="myconf@myprofile+1234"/>

+1234 is optional on-the-fly pin





git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2381 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-24 02:22:57 +00:00
Anthony Minessale 9d3d3a5d69 add 1 person dyna conference
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2380 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-24 00:44:47 +00:00
Anthony Minessale 2fe0375f77 add reply
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2379 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-23 23:24:23 +00:00
Anthony Minessale 3761d20e8a add presence
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2378 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-23 23:08:45 +00:00
Anthony Minessale 5ea6d5f03a add auto buddy
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2377 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-23 22:38:53 +00:00
Anthony Minessale 0898abde78 fix stupid oversight
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2376 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-23 21:08:28 +00:00
Anthony Minessale d377bc5730 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2373 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-23 17:57:25 +00:00
Anthony Minessale 30f2d30067 morphone drip for exosip
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2370 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-23 16:14:43 +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 f258e3ea5c build bs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2365 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-22 21:18:36 +00:00
Anthony Minessale b76793d84a fix 183 on exosip
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2364 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-22 21:08:34 +00:00
Anthony Minessale da727681fc update core
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2361 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-22 18:29:00 +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 c0d6246193 Fix issue pointed out by Fanzhou Zhao <fanzhou@gmail.com>
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2358 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-22 14:48:35 +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
Michael Jerris 93d8d55755 get rid of extra \ in windows paths
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2346 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-20 19:20:53 +00:00
Brian West 9bf84fd913 update this to include my name :P /b
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2341 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-20 04:36:28 +00:00
Michael Jerris 6d414c5644 fix windows line endings and fix potential memory leak from SWITCH_GLOBAL_dirs on win32.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2340 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-20 03:36:14 +00:00
Michael Jerris c08217c886 add first revision of windows services. fix breakage of -stop.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2339 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-20 03:04:55 +00:00
Michael Jerris 580c97e02a windows line endings.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2337 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-19 19:00:35 +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
Michael Jerris 9ac299089d factor out some functions, some of this will probably move to the freeswitch lib still.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2334 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-18 21:57:47 +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
Anthony Minessale 559c6330f1 google part 1001
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2331 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-18 21:02:55 +00:00
Anthony Minessale 89e62d8c56 google part 1000
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2330 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-18 21:02:40 +00:00
Anthony Minessale 155420a73b tweaks part 2
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2329 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-18 20:03:34 +00:00
Anthony Minessale 9018439d47 tweaks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2328 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-18 19:29:42 +00:00
Anthony Minessale 6ccb60c25c last round of google cleanup rebuild libdingaling
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2327 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-18 18:44:11 +00:00
Anthony Minessale 57da9ed8fc more tweaks for google compat
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2326 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-18 16:36:26 +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
Michael Jerris a15bc52f0e cast for possible loss of data.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2324 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-18 02:21:26 +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 099a771ddf fix segfault when there is a malformed registration in the db.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2322 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-18 01:23:18 +00:00
Michael Jerris 72dcc8a515 fix mod_event_socket destination
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2321 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-17 23:47:24 +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
Michael Jerris 2ca190f1a2 silence warning
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2316 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-17 19:10:17 +00:00
Michael Jerris f2f66c43a5 fix for msvc, signed\unsigned and code before decl
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2315 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-17 14:41:00 +00:00
Anthony Minessale 502c84d072 ok,
now in the key portion you can say 'exec' and in the file portion say '<application> <args>'
if the channel is not hungup when that application ends it's the winner so you can 
run an ivr on the channels to determine who gets the call

      <extension name="3002">
        <condition field="destination_number" expression="^3002$">
          <action application="set" data="call_timeout=60"/>
          <action application="set" data="group_confirm_key=exec"/>
          <action application="set" data="group_confirm_file=javascript test.js"/>
          <action application="bridge" data="exosip/1000@domain.com&exosip/1001@mydomain.com"/>
        </condition>
      </extension>



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2314 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-17 03:18:51 +00:00
Anthony Minessale afdaac9b22 changed my mind i think the confirm option is cool even when you call 1 dest
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2313 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-17 02:45: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 286b2c791e add assert
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2304 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-16 00:54:38 +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 0562e38a51 add proper shutdown to mod_conference
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2302 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-15 22:19:38 +00:00
Anthony Minessale 5782555e70 redecorating
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2301 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-15 21:38:24 +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 748f0194f9 tweak shutdown process
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2299 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-15 19:02:06 +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 f9cbbca041 make vsnprintf check work
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2297 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-15 16:17:03 +00:00
Michael Jerris acf84d7631 fix segfault
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2296 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-15 15:57:20 +00:00
Anthony Minessale e54c549840 add bridge indication to conferences so sip disables the async rtp since we already have dual threaded i/o
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2293 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-14 21:16:17 +00:00
Anthony Minessale f03adcabed twiax (tweek-iax get it twiax... lol)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2291 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-14 19:03:36 +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