Commit Graph

582 Commits

Author SHA1 Message Date
Anthony Minessale be4d36e3c6 OMFG one annoying bang 2011-09-09 11:34:41 -05:00
Anthony Minessale aea22cd4b7 add RTP_BUG_ACCEPT_ANY_PACKETS to disable dropping invalid packets for interop with Oracle CCA 2011-09-08 08:57:28 -05:00
Anthony Minessale c6c247d35c FS-3543 --resolve nevermind, found it 2011-09-06 11:30:28 -05:00
Anthony Minessale bff473bf32 antibiotics for our latest sonus infection 2011-08-31 19:30:58 -05:00
Anthony Minessale 8f67d2fbfb typo 2011-08-31 13:52:21 -05:00
Anthony Minessale bdad0e1713 tweak behaviour on rfc2833 a tad for the sake of interop with sonus who can't stand the idea of any gaps in timestamps 2011-08-31 12:04:02 -05:00
Anthony Minessale 6a5f6e5178 send mark bit when resuming audio after 2833 and resume sending from write side to avoid any double writes 2011-08-30 15:00:07 -05:00
Anthony Minessale 61ab84396b add new channel cap flag to indicate you can support queueable dtmf delay aka parsing w and W and implement it in the RTP stack and sofia endpoint 2011-08-29 11:04:38 -05:00
Anthony Minessale b426ec0bfa FS-2217 --resolve this looks ok and is probably useful 2011-08-25 09:27:39 -05:00
Anthony Minessale bf54c54823 adjustment to last commit 2011-08-24 15:52:40 -05:00
Anthony Minessale 0e5b694c44 add PAUSE_BETWEEN_DTMF rtp bug for sonus to delay sending 2833 digits so their buffering is not overwhealmed 2011-08-24 15:36:59 -05:00
Anthony Minessale 11d2cd1b49 print ip:port on rtp bind err 2011-08-01 23:55:58 -05:00
Anthony Minessale 123eaa524b fix rare t38 gateway issue 2011-05-12 10:32:39 -05:00
Anthony Minessale 1772fcb079 add largest_jb_size 2011-05-06 15:25:00 -05:00
Anthony Minessale a6b336e4cb add option to disable srtp with --disble-srtp 2011-05-02 11:33:57 -05:00
Anthony Minessale 73279f01bf FS-3166 --resolve 2011-04-22 16:43:29 -05:00
Brian West 2330b340a4 fix segfault in zrtp srtcp 2011-04-12 19:34:04 -05:00
Anthony Minessale fd6089014e FS-3165 2011-03-22 12:07:06 -05:00
Anthony Minessale 37a48583b2 FS-3172 not so fast also need to do it after the secure decoders for srtp/zrtp 2011-03-21 15:03:44 -05:00
Anthony Minessale e657e32fca FS-3172 this also fixes the incorrect usage of L16 on payload 10 which may or may not break interop with other sip devices if we do it right. also added rtp_disable_byteswap variable that can be set to false to disable byteswap when a device is encountered that is incompat (inluding all precious version of FS up till now) 2011-03-21 14:31:16 -05:00
Anthony Minessale 069f5f7d42 FS-3075 2011-03-18 16:59:00 -05:00
Anthony Minessale db7933e72b jitter buffer sanity checks 2011-03-17 22:29:16 -05:00
Anthony Minessale 59da356d06 fix mistake from earlier commit and improve flow of dtmf through a bridge when timer is disabled 2011-03-09 20:06:32 -06:00
Anthony Minessale 2a35dfb51e add rtp-notimer-during-bridge (alternative to rtp-autoflush-during-bridge 2011-03-09 15:17:26 -06:00
Anthony Minessale ffca600f4c more like this 2011-02-25 16:15:40 -06:00
Jeff Lenk 4020a202d7 doh correction 2011-02-25 15:50:24 -06:00
Jeff Lenk 9a3cf6015b trivial compiler warning fix 2011-02-25 15:39:42 -06:00
Anthony Minessale add9d26ac5 fix regression in video from commit c565501f55 2011-02-25 15:20:04 -06:00
Anthony Minessale d59d41d7b4 add param to jb to try to recapture latency (disabled by default) 2011-02-25 11:59:45 -06:00
Anthony Minessale 61d3c56fde fix jb + no timer situations 2011-02-24 15:29:22 -06:00
Anthony Minessale 1ba1c57eff move jb debug to level 8 2011-02-21 13:28:41 -06:00
Anthony Minessale 38b430f43f FS-3057 2011-02-21 10:51:26 -06:00
Anthony Minessale f8d326de20 FS-3057 tested on linux 2011-02-18 17:26:58 -06:00
Anthony Minessale 097caed43f tolerate dtmf where there is no start packet and only end packets 2011-02-18 16:54:51 -06:00
Anthony Minessale c565501f55 tell rtp stack about what remote payload type to expect when the receiving end follows the stupid SHOULD as WONT and sends a different dynamic payload number than the one in the offer 2011-02-15 16:09:58 -06:00
Anthony Minessale 0bce777a4a fix regression in rtp stack trying to avoid broken clients who send the wrong payload type, we were eating the stun packets in jingle calls 2011-02-14 14:07:46 -06:00
Anthony Minessale 88d410d314 fix uuid_jitterbuffer edge case debugging a non-existant jb causing a seg 2011-02-11 20:15:06 -06:00
Anthony Minessale 36f6218b8b add sanity check on jitterbuffer debug 2011-02-04 10:58:26 -06:00
Anthony Minessale 4ae8282e6c fix possible bad pointer in global vars (please test) 2011-02-02 15:43:26 -06:00
Brian West e0ed0008b1 Fix ZRTP 2011-01-21 15:08:26 -06:00
Michael Jerris 3fa3e11ca2 FS-3002: handle 2833 in do_flush instead of dropping valid dtmf 2011-01-21 16:03:32 -05:00
Anthony Minessale fd984d03bb D'oh Over zealous packet eating 2011-01-20 17:52:54 -06:00
Anthony Minessale b235979766 <jedi wave>You don't need to see this patch</jedi wave> 2011-01-13 12:35:39 -06:00
Anthony Minessale fe1711fdba eat rtp frames with the wrong payload type number 2011-01-12 20:02:49 -06:00
Brian West cf253c35bc zrtp tweak for sas relay 2011-01-11 15:31:40 -06:00
Anthony Minessale 316963c594 treat EINTR returns as a BREAK (now mapped to SWITCH_STATUS_INTR), we appriciate the interrupted syscalls but we would like to continue working properly 2011-01-11 15:09:03 -06:00
Anthony Minessale a9366e4485 doh 2011-01-10 13:20:38 -06:00
Anthony Minessale a8b2840f2b little more on the DTMF commit 2011-01-07 17:53:09 -06:00
Anthony Minessale b3fc001e6c add rtp_bug IGNORE_DTMF_DURATION to speed up dtmf detection of RFC2833 on strange carriers 2011-01-07 16:04:24 -06:00
Anthony Minessale 181b543b0c add auto-jitterbuffer-msec param and auto-disable the jitterbuffer when briding to another channel who also has a jitterbuffer so both legs will disable during a bridge 2011-01-05 16:25:14 -06:00
Brian West 3734f4cd44 bump copyright date and fix some email and typos from diego. 2011-01-05 10:09:04 -06:00
Anthony Minessale 75198fe4cb audio adjustments 2010-12-23 13:18:41 -06:00
Anthony Minessale 34a0ca5096 drop rtp frame that was already replaced with a cng frame 2010-12-22 20:38:57 -06:00
Anthony Minessale 90e58696fe fix dtmf issue with jb on 2010-12-22 12:22:00 -06:00
Anthony Minessale a3b01c195b rtp adjustments when using jitterbuffer 2010-12-21 15:35:43 -06:00
Jeff Lenk 416f6388c3 windows build fixes for last commit 2010-12-15 10:37:57 -06:00
Anthony Minessale 2c8d5d8ec9 use our version for better compat 2010-12-15 10:22:45 -06:00
Anthony Minessale e9958c5b0c more jb work, add debug command and logging (sorry jlenk if this breaks win32) 2010-12-14 23:46:26 -06:00
Anthony Minessale 7e047c3fd1 more ongoing work on jb 2010-12-14 00:15:36 -06:00
Anthony Minessale 009c41d460 add new function to init an empty switch_sockaddr_t to avoid an unnecessary dns lookup on 0.0.0.0 2010-12-11 11:41:19 -06:00
Anthony Minessale d547096164 dramatic jitterbuffer changes 2010-12-10 17:47:46 -06:00
Anthony Minessale 42a4a3dedf revert FS-2859 2010-11-18 18:24:32 -06:00
Anthony Minessale 0a11b9b433 FS-2859 2010-11-18 16:23:01 -06:00
Anthony Minessale 588a5cee03 update 2010-11-10 18:09:04 -06:00
Anthony Minessale b278dd2379 add manual_rtp_bugs to profile and chan var and 3 new RTP bugs SEND_LINEAR_TIMESTAMPS|START_SEQ_AT_ZERO|NEVER_SEND_MARKER
RTP_BUG_SEND_LINEAR_TIMESTAMPS = (1 << 3),

	  Our friends at Sonus get real mad when the timestamps are not in perfect sequence even during periods of silence.
	  With this flag, we will only increment the timestamp when write packets even if they are eons apart.

	RTP_BUG_START_SEQ_AT_ZERO = (1 << 4),

	  Our friends at Sonus also get real mad if the sequence number does not start at 0.
	  Typically, we set this to a random starting value for your saftey.
	  This is a security risk you take upon yourself when you enable this flag.

	RTP_BUG_NEVER_SEND_MARKER = (1 << 5),

	  Our friends at Sonus are on a roll, They also get easily dumbfounded by marker bits.
	  This flag will never send any. Sheesh....
2010-11-10 16:58:36 -06:00
Anthony Minessale 794db40e52 refactor STFU a bit 2010-11-09 11:49:07 -06:00
Marc Olivier Chouinard 9241a35e61 switch_rtp: Show the UUID of the session in the log when sending RFC2833 DTMF packet and when receiving a RTP DTMF 2010-10-22 22:16:12 -04:00
Anthony Minessale 84a383fe0f improve video support for new polycom phones 2010-09-29 14:14:41 -05:00
Michael Jerris 6c1070ea50 FS-2009: fix coredump in rtcp socket handling 2010-09-27 04:35:17 -04:00
Michael Jerris bc30415380 FSRTP-19: Fix SWITCH_IO_FLAG_NOBLOCK needed for mod_sangoma_codec 2010-09-25 10:20:09 -04:00
Anthony Minessale 6f2c455f92 add tone2wav 2010-09-14 11:48:43 -05:00
Anthony Minessale d5ff3e04ab include accumulated stats from rtcp into vars 2010-09-10 11:59:47 -05:00
Anthony Minessale e96a9cf63f MODSOFIA-90 2010-08-24 19:12:24 -05:00
Anthony Minessale ea1e267723 add relevant parts back 2010-08-05 19:00:06 -05:00
Anthony Minessale 33c6f7a22e revert FSCORE-639 2010-08-05 17:56:18 -05:00
Anthony Minessale 9fbe3ea2e1 FSCORE-639 2010-08-02 13:48:35 -05:00
Anthony Minessale d6d7773ca4 FSCORE-639 with some additional changes 2010-07-29 17:41:33 -05:00
Anthony Minessale 26358d6796 FSCORE-635 2010-07-19 10:59:18 -05:00
Anthony Minessale 36648cb177 doh 2010-06-24 16:27:11 -05:00
Anthony Minessale df79ecce8e fix rtcp from nat to autoadjust with rtp 2010-06-24 16:01:55 -05:00
Anthony Minessale 3026e639fe MODENDP-312 2010-06-17 10:24:36 -05:00
Anthony Minessale d5ba2f3e3b add RTP_BUG_IGNORE_MARK_BIT to list of bug tolerances 2010-06-07 14:06:41 -05:00
Moises Silva ae298182c2 switch rtp: check for the channel too 2010-06-04 08:16:51 -04:00
Anthony Minessale ccf74d5b41 negotiable t38 passthru 2010-05-26 20:13:07 -05:00
Anthony Minessale 7b3d3f7ef2 Tea for two (or maybe thirty eight?) 2010-05-21 16:47:21 -05:00
Anthony Minessale ce910093dd add missing rwunlock in rtcp passthru mode 2010-05-04 12:30:19 -05:00
Brian West 37c38c19f6 fix MODENDP-305 2010-05-01 19:45:31 -05:00
Michael Jerris 5b51e97e0a windows needs sockets too 2010-04-28 18:35:15 -04:00
Jeff Lenk a110ae9527 Build fixes for windows 2010-04-26 10:55:46 -05:00
Anthony Minessale 05a1e4003c FSCORE-594 2010-04-22 10:22:28 -05:00
Anthony Minessale 5ce95b8443 fix errs 2010-04-21 17:13:21 -05:00
Anthony Minessale aa4816659c add rtcp seperate on audio and video and add passthru 2010-04-20 16:15:53 -05:00
Rupa Schomaker f1e07625db %lu -> SWITCH_SIZE_T_FMT 2010-04-20 12:11:07 -05:00
Anthony Minessale 70d73cafb7 FSRTP-14 2010-04-20 11:08:39 -05:00
Anthony Minessale 1bc8a40b99 fix video issue
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17117 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-27 00:29:54 +00:00
Anthony Minessale 2898234043 fix logic err that would not permit many acl entries in sofia
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17017 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-16 22:49:54 +00:00
Anthony Minessale ad26df3709 FSRTP-12
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16969 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-11 17:37:08 +00:00
Mathieu Rene f6b6b9cd93 rename switch_socket_create_pollfd to switch_socket_create_pollset, add switch_socket_create_pollfd that really creates a pollfd out of a socket, expose switch_pollset_poll and switch_pollset_remove
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16683 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-17 22:36:07 +00:00
Anthony Minessale 886e1ddb4d run indent on the whole tree and update copyright dates in prep for 1.0.5
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16579 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-06 03:38:24 +00:00
Mathieu Rene 7b347417e5 FSRTP-11
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16578 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-06 00:51:41 +00:00