Commit Graph

527 Commits

Author SHA1 Message Date
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
Brian West b45f71bbe8 ZRTP Video works with ZFone (but you have to set your endpoint to use 99 for the payload for video or 125 in mod_h26x.c for H264 becuase the payloads MUST match or it can't figure it out
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16563 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-03 19:19:10 +00:00
Brian West bb19f24a40 tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16437 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-21 18:46:40 +00:00
Anthony Minessale e26f141bf8 FSCORE-523
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16207 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-08 00:45:09 +00:00
Brian West 857a8926d2 fix mitm for audio for passing sas with zrtp
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16204 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-07 23:29:06 +00:00
Anthony Minessale 49b8cfa16b FSRTP-10
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16100 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-30 23:10:38 +00:00
Brian West 9fa63cd9ba zrtp tweaks, more coming
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15987 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-17 18:33:45 +00:00
Anthony Minessale 288fa66341 FSCORE-510 part 12
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15928 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-12 00:04:07 +00:00
Anthony Minessale 922e1d65ce FSCORE-510
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15904 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-11 05:14:45 +00:00
Brian West 21e3bb970a if space
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15893 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-11 01:20:26 +00:00
Anthony Minessale 6158aac6ab huge sonus infection FSRTP-8
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15781 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-03 22:51:50 +00:00
Michael Jerris 5f7d0b65b0 code before decl
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15770 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-03 14:05:03 +00:00
Anthony Minessale 1fcea2a202 FSCORE-501
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15722 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-30 17:26:28 +00:00
Michael Jerris 2dd4d8842b record the correct remote_media_ip and remote_media_port even when we autoadjust (FSCORE-500)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15659 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-24 21:40:28 +00:00
Anthony Minessale c794e8a1f2 bracket in the wrong place
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15619 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-23 16:32:25 +00:00
Anthony Minessale 4f15b245f7 more video fixes
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15553 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-19 18:22:05 +00:00
Anthony Minessale 349b02c2e6 video improvements
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15524 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-18 19:22:45 +00:00
Brian West d7e1c3468f FSCORE-489
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15493 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-17 15:26:09 +00:00
Anthony Minessale e94ddad1b2 small refactor
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15305 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-31 22:13:15 +00:00
Anthony Minessale 10f10c5db0 make switch_cmp_addr ipv6 friendly and cleanup/refactor autoadjust code in rtp
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15289 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-30 14:26:17 +00:00
Anthony Minessale d646547bdb filter out unwanted media on rtp
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15284 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-30 01:06:51 +00:00
Anthony Minessale 0929875fac flush audio on reset of auto-adjust
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15282 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-30 00:16:36 +00:00
Anthony Minessale b3ec0eac5f add uuid_debug_audio <uuid> <read|write|both> <on|off>
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15274 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-29 17:52:52 +00:00
Anthony Minessale 8d01cf8e1a add uuid_debug_audio <uuid> <on|off>
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15273 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-29 17:29:05 +00:00
Anthony Minessale a4221d43be fix auto-adjust
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15256 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-27 21:46:05 +00:00
Anthony Minessale 3074415f6c don't consider cng packets for rtp auto-adjust
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15240 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-26 23:13:11 +00:00
Anthony Minessale df7637f687 change switch_strlen_zero to zstr
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15211 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-23 16:03:42 +00:00
Brian West dcfe0f5743 FSCORE-442
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14893 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-16 21:24:22 +00:00
Anthony Minessale cd4d3f3dc5 tolerate offset dtmf payload (zoiper)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14883 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-16 15:06:52 +00:00
Anthony Minessale 25870608d7 drop buffer when too many packets are queued
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14872 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-15 18:46:33 +00:00
Anthony Minessale 0e3651b5db check flush more often
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14844 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-14 15:19:53 +00:00
Anthony Minessale a876be973d build isue
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14807 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-10 18:26:50 +00:00
Brian West 452fc6fd7d but lets not try that hard.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14804 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-10 14:47:27 +00:00
Anthony Minessale 7392fa5807 try to improve autoflush and other silly audio glitches from edge cases and help FSCORE-416
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14800 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-10 00:46:24 +00:00
Brian West e5dbd2edcf try harder
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14757 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-03 20:56:44 +00:00
Brian West 660e4d2986 fix the fixed z code
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14754 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-03 17:24:48 +00:00
Anthony Minessale f135a1fa5a fix z code
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14753 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-03 14:48:02 +00:00
Anthony Minessale c8dcc6e12b reduce poll timeout when dtmf is present
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14749 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-02 19:55:08 +00:00
Anthony Minessale 623e9d87d8 add graceful zrtp failure
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14745 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-02 18:44:33 +00:00
Mathieu Rene 2423f75528 convert more SWITCH_CHANNEL_LOG macros in the rtp init function
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14578 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-20 17:39:13 +00:00
Brian West 5d03cd94da revert as per anthm
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13777 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-15 21:20:01 +00:00
Anthony Minessale 1b6303645c tweak to rtp timing
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13775 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-15 18:10:27 +00:00
Brian West a7a726a887 costmetic change so outbound srtp doesn't show up as (null)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13737 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-09 23:17:50 +00:00
Anthony Minessale ae9c6bedef tweak rtp timing stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13616 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-04 18:56:34 +00:00
Brian West d705f022d4 can't process this in general, should be used during the enrollment process
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13521 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-30 05:24:52 +00:00
Brian West a1661f2cda adding quick option
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13520 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-30 05:01:28 +00:00
Brian West 05fc0e42eb FSRTP-2 with mods
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13502 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-29 02:08:24 +00:00
Brian West 8a655d2a03 MORE FUN, clean up and consistent code
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13493 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-28 22:54:51 +00:00
Brian West c9b26eb7ce minor tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13489 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-28 19:38:32 +00:00
Brian West 4e8a0725b7 keep you from doing both zrtp and srtp at the same time.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13486 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-28 13:53:23 +00:00
Brian West 1900b6c362 clean up
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13472 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-27 22:48:16 +00:00
Brian West ea4b78f749 zrtp_secure_media=true will have to be set to true in order for your zrtp to work moving forward similar to how srtp_secure_media works.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13461 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-27 05:07:19 +00:00
Brian West b44db764d7 mark verified
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13444 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-27 01:48:43 +00:00
Brian West d9c41bc7b4 fix mitm to be more reliable
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13443 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-27 01:40:11 +00:00
Brian West 8cf9f1ad02 this hsould make sure the secure mitm has a chance over latent connections
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13436 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-26 16:26:56 +00:00
Brian West 5cc6b198b3 doh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13435 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-26 16:14:22 +00:00