615 Commits

Author SHA1 Message Date
Travis Cross
83e090c30d add some casts to make things work with both gcc and VS
This amends commit 7bd9efc7f52a725b7ef9efb64b65873b4bc4330b.

Using the more explicit typedef causes gcc to warn about the
incompatible types for the reasons noted in the earlier commit
message.  This is why we just used the unsigned type earlier so we
could avoid all this casting.

The things we do to make Windows happy...
2012-05-17 16:40:30 +00:00
Jeff Lenk
b65c321193 FS-4228 --resolve add zrtp support to windows vs2010 build 2012-05-17 08:38:11 -05:00
Travis Cross
d5484651ce squelch a Windows VS warning about null termination on the ZID
According Jeff Lenk, Windows Visual Studio doesn't understand that
people use the char type for non-null-terminated byte arrays, so it
throws a warning about this that causes the build to fail on Windows.

As the initial value for the ZID doesn't really matter here one iota,
just null-terminate it on Windows.
2012-05-17 06:13:32 +00:00
Travis Cross
fdc9e7f8b6 work around libzrtp API mistake for VS
libzrtp's sas_is_verified field is a uint32_t, but zrtp_verified_set
expects a uint8_t.  This is a boolean field, so it doesn't matter one
way or the other.  gcc doesn't care, but Windows Visual Studio
apparently throws a warning about this.
2012-05-17 05:40:57 +00:00
Travis Cross
7bd9efc7f5 use the typedef for an enum rather than unsigned
The callback here receives both zrtp_protocol_event_t and
zrtp_security_event_t events.  The latter is numbered contiguously to
the former.  Still, it's a bit confusing to have to pick one as a
type, but apparently this fixes a warning on Visual Studio on Windows.

Thanks to Jeff Lenk.
2012-05-16 21:26:50 +00:00
Travis Cross
31e0e17d6b make some ZRTP-related integer casts explicit
...to satisfy Windows Visual Studio.  Thanks to Jeff Lenk.
2012-05-16 21:05:41 +00:00
Anthony Minessale
76c0201e89 dtmf tweak 2012-05-08 12:52:52 -05:00
Anthony Minessale
845639025c FS-4122 2012-04-20 08:04:32 -05:00
Anthony Minessale
677b223579 FS-4122 --resolve this fixes the issue and eliminates the delay unless you configure it to have some 2012-04-18 09:56:06 -05:00
Ken Rice
c5554eb939 Copyright date update. 2012-04-18 11:52:02 -05:00
Ken Rice
4307bee1e5 FS-4100 --resolve 2012-04-11 09:10:56 -05:00
Anthony Minessale
995ae2621c FS-3769 --resolve 2012-04-10 16:17:16 -05:00
Travis Cross
393b63b7bd integrate in-tree libzrtp into the build system
Thanks to Ken Rice for working with me late into the night to get this
done.
2012-04-05 04:10:55 +00:00
Anthony Minessale
07122bd17c FS-4032 --resolve please try to avoid the whitespace changes by using git diff -w 2012-03-27 15:53:09 -05:00
Anthony Minessale
a239914926 addition to a6a3ff1dc5574ded096ac1427cd7c6992d14092f 2012-03-26 10:53:39 -05:00
Anthony Minessale
a6a3ff1dc5 add another case to flush check 2012-02-28 09:51:57 -06:00
Anthony Minessale
62c6855f28 only flush on break when its a blocking situation part 1 2012-02-27 13:28:27 -06:00
Anthony Minessale
3a0767865d only flush on break when its a blocking situation 2012-02-27 13:26:50 -06:00
Anthony Minessale
812e5e9a26 FS-2216 2012-01-26 16:54:27 -06:00
Brian West
d72a54ffe8 Improve the on off switch in ZRTP thanks jim 2012-01-24 23:39:52 -06:00
Mathieu Rene
3ffa7915c3 switch_rtp: fix audio glitches in jingle streams since ICE packets do not interrupt the RTP stream, we do not want to return a CNG frame when we get one 2012-01-23 11:01:24 -05:00
Anthony Minessale
ecfc3bfe71 FS-3785 --resolve 2011-12-28 15:27:44 -06:00
Anthony Minessale
a58742dc89 FS-2008 fix this patch to not consume memory getting variables 2011-12-16 09:16:37 -06:00
Marc Olivier Chouinard
442f4d2522 FS-3766 --resolve 2011-12-16 07:35:05 -05:00
Marc Olivier Chouinard
0a463b0c3c FS-949 --resolve 2011-12-15 19:13:09 -05:00
Marc Olivier Chouinard
d1506e07cb FS-2008 --resolve 2011-12-15 14:44:25 -05:00
Anthony Minessale
bc968ca8ad fix queued dtmf on channels with no timer issue 2011-11-14 12:37:45 -06:00
Anthony Minessale
9e09483589 add manual_rtp_bug gen_one_gen_all to prevent rtp passthru to break the *S* word.. 2011-10-07 10:40:30 -05:00
Anthony Minessale
f4fa0c0efe OMFG really? I had this right then i comitted it wrong.... 2011-10-04 20:17:12 -05:00
Anthony Minessale
8e2793b45e another regression stemming from the series of commits to make stupid sonus happy 2011-10-04 18:02:34 -05:00
Jeff Lenk
ef2f87deb2 fix trivial build error on windows 2011-09-09 16:08:47 -05:00
Anthony Minessale
cb9abe0268 add new flag to frames to denote pass thru frames that are not audio 2011-09-09 13:56:04 -05:00
Anthony Minessale
0c066f063c DTMF stands for Devil Took My Fone 2011-09-09 12:02:15 -05:00
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