21628 Commits

Author SHA1 Message Date
Travis Cross
f37b1f0c54 squelch another source of noise ZRTP protection drops 2012-05-24 03:59:09 +00:00
Travis Cross
d470ae239c don't log ZRTP protection drops
At least until we can distinguish the meaningful ones from the noise.
2012-05-24 03:52:51 +00:00
Travis Cross
236b927780 lower log level on ZRTP protection drop
When a call is being setup, a couple seconds of audio may be sent
unencrypted.  This seems to trigger the log message here with every
such packet.
2012-05-24 03:50:42 +00:00
Travis Cross
0c1a95f745 fix gcc 4.7.0 warning related to enum type
This amends commit 7bd9efc7f52a725b7ef9efb64b65873b4bc4330b.

We changed away from using unsigned here because it caused a warning
on Windows.  Using the more specific type, however, is causing a
warning on gcc-4.7 (it notices that the switch statement contains
values not present in the specified enum type).  So we're switching
back to unsigned here while keeping the type casts and hoping that
keeps Windows happy.
2012-05-24 00:48:59 +00:00
Travis Cross
16cf43a68d fix indentation; whitespace 2012-05-23 23:46:21 +00:00
Travis Cross
cb58e81c17 add editor variables to mod_sofia.h 2012-05-23 23:44:44 +00:00
Travis Cross
11d4658ac4 debian: package mod_say_fa (Say for Persian) 2012-05-23 23:42:36 +00:00
Anthony Minessale
6df4d7cdc5 FS-4245 --resolve 2012-05-23 13:13:32 -05:00
Anthony Minessale
0a70ea3e09 scgi updates 2012-05-23 13:12:32 -05:00
Anthony Minessale
4b2e7fc1f2 perl update 2012-05-23 11:31:17 -05:00
Anthony Minessale
bb3f72cb66 add perl wrapper to scgi 2012-05-23 09:37:54 -05:00
Mathieu Rene
a5cd951c53 Update the outgoing channel handler so it passes the "var_event" event down towards rtmp_send_incoming_call since variables passed using originate are not yet in the session before the outgoing channel function returns. 2012-05-22 14:00:39 -04:00
Anthony Minessale
fb790bc320 block any inbound messages when queue is full; add debounce for mwi and pres on register; fix missing detach attr on new mode to process reg in new thread 2012-05-22 10:27:23 -05:00
Jeff Lenk
059ef54feb FS-4243 zrtp addition to vs2010 express try this and verify edited by hand 2012-05-22 10:21:14 -05:00
Anthony Minessale
a672c99a57 FS-4224 --resolve this was a regression from d6374535 to fix FS-3029, when you find a profile you must release it 2012-05-22 07:59:21 -05:00
Michael Jerris
10617b6153 .gitignore 2012-05-22 00:24:48 -04:00
Anthony Minessale
792b004f36 add mwi-use-reg-callid 2012-05-21 13:55:50 -05:00
Michael Jerris
34df90196c bail out on make mod_modname when core build dies 2012-05-21 15:47:30 -04:00
Ken Rice
e120f4b359 --resolve FS-4234 2012-05-21 09:58:02 -05:00
Anthony Minessale
b3b2c37526 FS-3983 --resolve 2012-05-18 13:41:16 -05:00
Anthony Minessale
bcd7a16290 indent 2012-05-18 10:15:08 -05:00
Jeff Lenk
e32b90306e build warnings 2012-05-18 11:08:15 -05:00
Anthony Minessale
718a311a41 FS-4224 --resolve add optional wait param to sofia profile stop [sofia profile foo stop wait] 2012-05-18 07:52:58 -05:00
Anthony Minessale
bbdcd33bde performance tweaks for sip message parsing and event system 2012-05-17 20:10:53 -05:00
Anthony Minessale
b117a65c50 put a little contention in the reg in new thread feature to prevent endless pileup 2012-05-17 19:57:02 -05:00
Anthony Minessale
ad7149bfa6 allow mod loopback bowout to reach out across stacked loopback bridges and remove all of them 2012-05-17 18:57:22 -05:00
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
Anthony Minessale
92eb698ddc FS-4231 --resolve declinatio mortuus obfirmo! 2012-05-17 11:27:57 -05:00
Jeff Lenk
021f48d02e FS-4169 --resolve compiler warning for solaris 2012-05-17 10:28:51 -05: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
Mahdi Moradi
4e4b4444d2 Microsoft visual studio project files. 2012-05-16 20:35:15 +04:30
Mahdi Moradi
18ee7ce3d0 First upload. 2012-05-16 20:10:13 +04:30
Travis Cross
0709cc6f1b make log message relevant even if FS doesn't have ZRTP 2012-05-16 02:50:13 +00:00
Travis Cross
7e193ed382 Revert "disable these options if zrtp isn't enabled"
Brian and I talked about this and concurred on the reversion here.
Part of the point of the ZRTP pass-through mode code is that it allows
two legs to have a ZRTP-enabled call even if FS doesn't have ZRTP.

This reverts commit f0aa4ab390b1f905ec1d99f689bfec6215308dcd.
2012-05-16 02:41:24 +00:00
Brian West
f0aa4ab390 disable these options if zrtp isn't enabled. 2012-05-15 21:05:04 -05:00
Travis Cross
6da083551e libzrtp: fix spelling in log message 2012-05-15 22:28:18 +00:00
Travis Cross
c2a74240ee libzrtp: fix client-side enrollment
It appears that libzrtp would prevent a non-passive client from
enrolling with a PBX because of a broken license mode comparison.

Thanks to Ivo Kutts for the report.

FS-4223 --resolve
2012-05-15 22:28:18 +00:00
Jeff Lenk
d015395566 FS-4203 --resolve add service setup to windows installer 2012-05-15 11:26:16 -05:00
Anthony Minessale
da9aacc62e FS-4217 --resolve 2012-05-15 08:48:08 -05:00
Anthony Minessale
5c75d4cf5b FS-4220 --resolve i refactored this into a general cross platform function and use it everywhere else we try to set affinity 2012-05-15 08:31:42 -05:00
Ken Rice
0d2739bfd2 --resolve FS-4209 2012-05-15 10:20:52 -05:00
Ken Rice
2e42cabf13 fix sox dependancy 2012-05-15 10:18:14 -05:00
Jeff Lenk
a7c85c804a FS-4219 --resolve 2012-05-15 09:18:02 -05:00
Travis Cross
fcaf888452 debian: install freeswitch.jar with mod_java 2012-05-15 07:19:51 +00:00
Travis Cross
fbcb1c7ae2 debian: don't install scripts/ with freeswitch
Some modules like mod_java drop files in there during install that
should be installed with the module rather than with FS.
2012-05-15 07:18:50 +00:00
Travis Cross
efc6f16cef build: add convenience script to set version in configure.in 2012-05-15 05:05:22 +00:00