Commit Graph

128 Commits

Author SHA1 Message Date
Anthony Minessale c40bed843a doh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4235 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 17:27:57 +00:00
Anthony Minessale e1001b95db 2833 bs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4232 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 17:13:57 +00:00
Michael Jerris dcb452bcf7 match prototype.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4228 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 06:18:01 +00:00
Michael Jerris 43e50048ca ntohs takes u_short, and we are in a 16 bit bitfield, so we can cast this.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4206 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-12 19:35:09 +00:00
Anthony Minessale f2c46f504c alternate which devices we support with the ones we don't using rfc2833
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4204 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-12 18:22:30 +00:00
Anthony Minessale 4a02e80d5e fix dtmf bug
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4194 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-10 23:16:34 +00:00
Michael Jerris f359f847f7 fix magic emacs and vi formatting comments in the bottom of our source files to use tabs instead of spaces
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4176 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-09 02:36:03 +00:00
Anthony Minessale cb587626ea timer mojo (cont)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4151 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-07 19:18:15 +00:00
Anthony Minessale e216bbe095 timer mojo (cont)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4150 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-07 19:01:07 +00:00
Anthony Minessale 66feec2da5 timer mojo
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4149 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-07 18:44:00 +00:00
Anthony Minessale 068ced69c9 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4147 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-07 17:19:06 +00:00
Anthony Minessale 357acc8117 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4115 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-03 22:17:36 +00:00
Anthony Minessale fa53d0aded I...HATES...PTIME
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4114 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-03 19:47:21 +00:00
Anthony Minessale ea0a65d5ff minor adj
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4106 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-01 05:23:29 +00:00
Anthony Minessale 781c74fc8e add stupid 2833 crap
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4070 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-28 02:38:52 +00:00
Anthony Minessale a5bec02bea modest rearranging
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4057 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-26 15:42:38 +00:00
Michael Jerris 8761a73997 change around types for better c99 compliance, fixes windows srtp build and builds that do not default to 8 bit stuct alignment.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3797 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-22 19:02:10 +00:00
Michael Jerris 9bf1884d47 refactor
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3795 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-22 15:55:52 +00:00
Michael Jerris 5b6c0b97b6 cast, bit-field will always be within the boundaries of (switch_payload_t)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3717 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-19 14:28:41 +00:00
Anthony Minessale c40aa9eec4 add break
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3705 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-18 21:40:04 +00:00
Anthony Minessale 44cc7d5cfe build progress break everything
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3682 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-17 01:01:09 +00:00
Michael Jerris 44985f730b solaris build tweak.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3669 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-15 15:33:43 +00:00
Anthony Minessale 0a7b7ce3b0 WIP
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3640 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-13 22:58:32 +00:00
Anthony Minessale 10b1bd4a79 improve nat support
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3639 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-13 22:18:27 +00:00
Michael Jerris 44649c70b4 Add magic comments for emacs and vi in source and header files to properly format and display tabs vs. spaces in those editors:
/* For Emacs:
 * Local Variables:
 * mode:c
 * indent-tabs-mode:nil
 * tab-width:4
 * c-basic-offset:4
 * End:
 * For VIM:
 * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab:
 */


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3462 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-27 22:30:48 +00:00
Michael Jerris 7409f414f5 logic fix on rtp_common_read on a not ready session, init bytes to 0 so the checks outside of the while loop work.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3386 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-16 18:48:53 +00:00
Anthony Minessale 594ccf8bb8 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3384 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-16 15:50:17 +00:00
Anthony Minessale f8d3093f5c hack to fix udp sockets
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3377 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-15 03:17:28 +00:00
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 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
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 965f8b50d5 finish solaris porting for srtp. This should work now, but still needs some more work
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2957 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-02 20:49:26 +00:00
Anthony Minessale a3ce0d36d3 experimental new native code file eg name a ulaw file .PCMU etc
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2783 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-22 19:50:54 +00:00
Anthony Minessale 6c5672b1ef undo abundant evil -props to the man who won't stfu and leave me alone to code <- his request i say that....
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2774 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-21 19:52:56 +00:00
Anthony Minessale 33ba8c434c fixrtp
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2773 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-21 19:51:39 +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
Anthony Minessale 980d2d8aeb tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2757 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-19 20:04:35 +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
Michael Jerris ba2f8aa882 change to mod_softimer name again, remove mod_threadtimer, fix int overflow.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2716 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-16 21:02:11 +00:00
Anthony Minessale f1313548a6 cleanup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2715 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-16 20:46:52 +00:00
Michael Jerris 692935bea0 tweak socket shutdown to eliminate race
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2694 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-14 01:37:55 +00:00
Anthony Minessale 8a0e9ccf1f performance tweaks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2693 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-14 00:15:03 +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 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
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
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 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 54ec8c1dd4 rtp fix and some other misc stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2266 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-11 23:27:08 +00:00
Anthony Minessale aee6cc27e1 codec tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1957 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-18 18:34:42 +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