Commit Graph

143 Commits

Author SHA1 Message Date
Anthony Minessale c8dfa63c82 update wip
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4470 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-07 21:21:42 +00:00
Anthony Minessale e678896404 sigh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4467 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-07 20:06:15 +00:00
Anthony Minessale dd87fe738d amendment to the last commit
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4465 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-07 18:51:38 +00:00
Anthony Minessale 5131ee1cae add management interface and some rtp goodies
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4464 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-07 18:34:22 +00:00
Anthony Minessale 8f0580cd73 now with rollover
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4455 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-06 01:19:41 +00:00
Anthony Minessale 1b5fe10277 change a few things to allow timers to generate timestamps
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4452 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-05 20:53:54 +00:00
Brian West 4353c5efa4 update comments
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4444 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-04 01:52:52 +00:00
Anthony Minessale 045eb8a9de update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4318 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-18 16:51:11 +00:00
Michael Jerris 6322a73341 fix typo to fix build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4317 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-18 14:33:55 +00:00
Anthony Minessale 0884c559ef update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4315 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-18 04:37:06 +00:00
Anthony Minessale e87e5b5759 tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4314 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-17 22:22:52 +00:00
Anthony Minessale 4974b5b2b1 tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4313 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-17 22:19:56 +00:00
Anthony Minessale b47cd0314b tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4312 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-17 22:13:19 +00:00
Michael Jerris 813c4cd85d make the 2833 dtmf increase the sequence number before it sends instead of after. The net result of this is, we are still doing it wrong (sending both and audio packet with the same sequence number as our 2833 packet) but because we increment it first, the ua should get our 2833 packet with that sequence number before it gets the audio packet with that sequence number. This should help dtmf interop on ua's that were discarding rtp packets received with a sequence number that it had already received.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4285 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-15 14:32:34 +00:00
Michael Jerris 66f4c25643 ssrc is a 32 bit value, not 16.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4238 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 19:46:10 +00:00
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