629 Commits

Author SHA1 Message Date
Anthony Minessale
3226882682 FS-5203 --resolve 2013-03-27 11:09:07 -05:00
Anthony Minessale
3d2457eddd FS-5120 please update and test this version 2013-03-01 09:29:47 -06:00
Anthony Minessale
b14fd4a5a4 FS-4923 try this 2013-02-14 14:07:25 -06:00
Travis Cross
388206d784 Whitespace 2013-01-31 19:25:07 +00:00
Travis Cross
69cda3d7cc Fix handling of the ZRTP cache path and file name
libzrtp strings are weird, and we were previously misusing the
function zrtp_zstrcpyc.  We can't use ZSTR_GV because it does insane
things and causes an array-bounds warning on gcc 4.7.  So we have to
take matters into our own hands and setup the string correctly and
copy data into it.

Because we were doing it wrong, people would get weird pseudo-random
single-character names for the zrtp cache file, and the file would end
up in the wrong place.  Now that this is fixed, users will need to
locate and move their zrtp cache file to their db_dir and name it
"zrtp.dat" if they wish to keep their current ZRTP cache.

FS-4344 --resolve
2013-01-31 18:40:24 +00:00
Anthony Minessale
a46c897208 use less expensive time func in rtp stack 2013-01-15 09:15:39 -06:00
Anthony Minessale
d78f4ffb19 fix vid regression 2013-01-13 21:27:17 -06:00
Anthony Minessale
ca6d7a7aa0 FS-4905 This looks like it was only the case adjacent to dtmf; Try this patch. 2013-01-08 11:43:16 -06:00
Anthony Minessale
6f376023a2 send cng less often 2013-01-08 11:47:15 -06:00
Brian West
b1ba926640 fix logging in debug def 2012-12-26 10:57:43 -06:00
Anthony Minessale
40346ff6a8 minor tweaks for udptl mode 2012-12-14 16:52:27 -06:00
Jeff Lenk
17833733aa fix for last commit - windows compiler warning 2012-12-13 21:54:54 -06:00
Anthony Minessale
d301451782 fix issue where rtp stack was not paying attn to header extensions 2012-12-13 19:49:02 -06:00
Anthony Minessale
e89fe5a03b FS-4905 hmm, part of my patch did not get comitted... try this... 2012-12-12 09:33:48 -06:00
Anthony Minessale
8aecffef50 don't send cn packet until you have sent some actual audio 2012-12-07 15:11:49 -06:00
Anthony Minessale
924c524197 fix some delay regressions 2012-12-05 13:17:50 -06:00
Anthony Minessale
57a2d59ed6 revert this, probably not needed 2012-12-02 09:58:33 -06:00
Anthony Minessale
444f7924e5 not quite, one more tweak 2012-11-30 14:05:45 -06:00
Anthony Minessale
4e3bb1a1e6 rtp and signal parsing adjustments 2012-11-30 13:54:47 -06:00
Anthony Minessale
6e3c08f590 disable catchup code when jitterbuffer is there 2012-11-30 11:43:48 -06:00
Anthony Minessale
1073f70b6f spread out timer skips to smooth out socket catch-up 2012-11-29 13:43:01 -06:00
Anthony Minessale
d4f8a79299 try to improve audio stream sync 2012-11-28 23:12:35 -06:00
Brian West
89f4cd75f0 Fix 2833 Debuging 2012-11-21 13:59:23 -06:00
Anthony Minessale
6c1e81a813 FS-4797 --resolve 2012-11-06 08:53:00 -06:00
Anthony Minessale
f1bcc387a3 put back seq number when pulling from jb 2012-10-30 16:05:44 -05:00
Anthony Minessale
986fede6b0 make a way to get the jitter buffer down to the codecs 2012-10-18 15:29:00 -04:00
Anthony Minessale
a20aec182a add rtp_manual_video_rtp_bugs 2012-10-16 18:43:00 -04:00
Anthony Minessale
4dd1591945 FS-4684 this should help the proxy situation 2012-10-05 11:49:29 -05:00
Anthony Minessale
80c2bd786a FS-4669 --resolve 2012-10-02 10:31:32 -05:00
Anthony Minessale
8d61404016 fix issue where dtmf was not being sent on an outbound leg when there was no inbound audio 2012-09-28 16:17:20 -05:00
Anthony Minessale
5259814aee number not true 2012-09-28 14:06:04 -05:00
Anthony Minessale
4bb5c93e4a use a lower level write func for cng packets 2012-09-26 12:10:37 -05:00
Anthony Minessale
679921d914 FS-4548 --resolve such a little patch for a big problem, good find 2012-08-20 12:11:17 -05:00
Stefan Knoblich
8bcf3b4fb8 FreeSWITCH: Add switch_strerror_r() to fix problems with XSI and GNU variants of strerror_r().
GNU variant of strerror_r() returns char *, while the XSI version returns int.

To make things worse, glibc ships both and added a unused result warning
in recent versions (2.16) causing the build to fail.

Add our own custom wrapper that always returns a pointer to the message buffer
and additionally make XSI versions of strerror_r() GNU compatible by
returning "Unknown error xxx" if no error message is available.

Fixes:
    src/switch_rtp.c: In function 'rtp_common_read':
    src/switch_rtp.c:3313:15: error: ignoring return value of 'strerror_r',
    declared with attribute warn_unused_result [-Werror=unused-result]
    cc1: all warnings being treated as errors

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-08-14 14:11:44 +02:00
Stefan Knoblich
3b5b59e693 Revert "FreeSWITCH: Fix warn-unused-result error in rtp_common_read()."
*sigh* of course there are two versions of strerror_r():

	char *strerror_r() - GNU
	int strerror_r() - non-GNU

Revert and back the drawing board...

This reverts commit 3c82033e532081fb42678a2ba297f9bd32b94635.
2012-07-31 01:58:48 +02:00
Stefan Knoblich
3c82033e53 FreeSWITCH: Fix warn-unused-result error in rtp_common_read().
strerror_r() returns the error message string (and expects you to use it).

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-07-30 13:56:48 +02:00
Anthony Minessale
524468be7b FS-4373 --resolve this is probably the same issue nobody would file a bug about on the mailing list even after I begged them to from last weekend 2012-07-23 11:36:19 -05:00
Anthony Minessale
db0cca3bf4 FS-4437 try this revision 2012-07-19 12:40:34 -05:00
Anthony Minessale
f4e1fc4bc6 FS-4382 --resolve missing \! 2012-07-19 11:30:00 -05:00
Anthony Minessale
f4715781dc FS-4382 reverse this so you have to enable instead of disable, this patch has been causing srtp issues because the change in ssrc 2012-07-18 22:01:41 -05:00
Anthony Minessale
d63323977f turn on send_silence_when_idle whenever we engage srtp 2012-07-18 12:19:47 -05:00
Anthony Minessale
b27aad913e typo 2012-07-17 10:32:31 -05:00
Anthony Minessale
8ad5d8a6b0 FS-4317 this might help, this fixes a regression cause by another recently altered code path and it sounds similar but I never got the new logs from you so this is a guess 2012-07-16 18:47:45 -05:00
Anthony Minessale
06046e3437 FS-4427 try this revision however i think its a problem with the remote client not properly preserving the headers of the srtp packets..... 2012-07-16 12:51:13 -05:00
Anthony Minessale
b6e962de1d typo 2012-07-13 18:02:09 -05:00
Anthony Minessale
4a801c8626 only decode rtp packets in srtp mode 2012-07-13 14:58:20 -05:00
Jeff Lenk
fc5490f1dc FS-4415 --resolve 2012-07-11 22:31:36 -05:00
Anthony Minessale
1e7d214ae6 compiler errs from last commit 2012-07-11 15:35:49 -05:00
Anthony Minessale
088437cab1 add some rtcp stuff for sangoma 2012-07-11 15:23:12 -05:00
Anthony Minessale
2aebe2456f first pass on some new stuff 2012-07-11 15:15:50 -05:00