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
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
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
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
Anthony Minessale
792b004f36
add mwi-use-reg-callid
2012-05-21 13:55:50 -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
kapil
c36b5f0cca
fixing megaco conf xml error
2012-05-18 13:46:50 +05:30
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
kapil
df76709e95
Adding code to bring up MEGACO stack
2012-05-17 16:14:05 +05:30
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
kapil
32c5100e62
Adding megaco stack configuration code and "megaco.conf.xml"
2012-05-16 18:36:26 +05: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
Mathieu Rene
f3fe2232f3
Remove stuff that should've been gitignored
2012-05-15 19:52:57 -04:00
Mathieu Rene
bb875ce6ff
mod_megaco: add sample config file and refuse to start a profile without a configuration
2012-05-15 19:45:36 -04:00
Mathieu Rene
6a32e98c49
Add mod_megaco skeleton with basic profile support and a lot of todos for Kapil
2012-05-15 19:37:41 -04: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
Anthony Minessale
0a5a057c46
add inbound-reg-in-new-thread sofia param to launch a new thread to process each new inbound register when using heavier backends
2012-05-14 17:51:15 -05:00
Anthony Minessale
1eae27942e
addition to 5b3b77071b3483181da41f3a0b0dcccede0bc975
2012-05-14 13:07:40 -05:00
Anthony Minessale
4670a770cf
fix sofia interaction with presence api command
2012-05-14 11:06:36 -05:00
Anthony Minessale
5b3b77071b
make sure bargers use the same codec as bargee to avoid transcoding delay
2012-05-14 10:03:35 -05:00
Anthony Minessale
e7b4821844
clean up forking code in example
2012-05-14 07:13:26 -05:00
Anthony Minessale
172e4a3041
FS-4183 here is a start, it still needs some work but here are the basic components, initially I am using the algorithim we use to generate artifical silence (static) and using one of those values to sleep a certian number of microseconds plus the cumulative bytes of events but i bet there is still some predictability in there so it needs some more
2012-05-14 06:58:41 -05:00
Giovanni Maruzzelli
44fd0de8ff
gsmopen: indented
2012-05-14 02:04:36 +02:00
Giovanni Maruzzelli
8a1508d669
gsmopen: correctly receives SMSs in GSM7 and UCS2
2012-05-14 02:04:36 +02:00
Giovanni Maruzzelli
eb93a14eb3
gsmopen: correctly sends SMSs in GSM7 or UCS2. Let's check SMS receiving
2012-05-14 02:04:36 +02:00
Giovanni Maruzzelli
4101e6b2b7
gsmopen: mod_sms tweak
2012-05-14 02:04:36 +02:00
Anthony Minessale
0b43b32b42
Wrong week to quit sniffing glue
2012-05-11 13:34:42 -05:00
Anthony Minessale
dd1ae3307c
another tweak
2012-05-11 13:12:44 -05:00
Anthony Minessale
bbd9aa237e
another tweak
2012-05-11 13:06:35 -05:00