73 Commits

Author SHA1 Message Date
Thomas Ries
a89bf08c66 plugin_fix_fbox_anoncall: improved matching and rewriting (="fixing") Contact header on anonymous calls. 2016-02-24 19:14:23 +00:00
Thomas Ries
d80848c760 more changes around plugin_fix_fbox_anoncall and Contact Header masquerading 2016-02-03 20:02:27 +00:00
Thomas Ries
26fa103921 added plugin_fix_fbox_anoncall 2016-01-31 14:00:27 +00:00
Thomas Ries
cdccee4266 2015-09-19 22:32:55 +00:00
Thomas Ries
9c3dad1eb8 plugin_trunk wip 2015-09-19 12:56:27 +00:00
Thomas Ries
7a8309c8f7 2015-09-15 21:47:53 +00:00
Thomas Ries
3177c294a9 plugin fix DTAG 2015-09-12 13:56:34 +00:00
Thomas Ries
3e9c2d3455 fixed possible SEGV in sip_find_direction 2015-07-02 10:20:00 +00:00
Thomas Ries
86d2dae91a reality sync 2015-06-02 20:09:06 +00:00
Thomas Ries
f2c98485f8 - use CFLAGS -Wall only with GCC compiler
- fixed a number of compiler warnings (by Norm Brandinger)
  [3086593,3086371,3086351]
- use getifaddrs() to get the IP address of local interfaces.
  This seems to be required with FreeeBSD jails.
2011-01-09 13:10:27 +00:00
Thomas Ries
137d82452d - TCP support 2010-01-07 11:38:52 +00:00
Thomas Ries
9ed7689e4e - Better handling of matching the local UAs 2010-01-07 11:06:41 +00:00
Thomas Ries
27dc69a5af *** empty log message *** 2010-01-02 22:02:41 +00:00
Thomas Ries
8a6da32065 15-Dec-2009: - Better handling for SIP redirecting with newer kernels 2009-12-15 21:11:33 +00:00
Thomas Ries
47936e21ea - fixes some signedness warnings 2008-07-22 11:17:49 +00:00
Thomas Ries
dd3744a0d9 - libosip2-3.1.0 (changes MD5 related function names) 2008-03-09 12:59:43 +00:00
Thomas Ries
99111f01d7 - default target plugin 2008-02-04 20:38:44 +00:00
Thomas Ries
6952295a2d 2008 2008-01-19 16:07:14 +00:00
Thomas Ries
6a64b680d2 - Converting to use libosip2-3.x.x 2008-01-19 15:51:25 +00:00
Thomas Ries
26ca852a45 - Working on code that that will allow siproxd to use
separate interfaces in its "in front of NAT routes" setup.
  ( UA1[LAN0]--siproxd--LAN1--NAT--Internet--UA2 )
2007-11-22 19:12:47 +00:00
Thomas Ries
2f6651f97c - fixed an error in "my via"detection when using the
"host_outbound" config directive
2007-06-24 08:51:40 +00:00
Thomas Ries
0900b8feb0 adapted copyright 2007-06-08 19:43:20 +00:00
Thomas Ries
58702c80c0 *** empty log message *** 2007-05-28 17:26:00 +00:00
Thomas Ries
800a67ef85 - new feature: can add ;rport to my own Via Headers 2007-05-24 19:30:20 +00:00
Thomas Ries
ab0ed062bc *** empty log message *** 2007-05-13 16:20:26 +00:00
Thomas Ries
ba59277adb - deal with locally running UAs on same host (inboud IF side) 2007-05-13 10:49:39 +00:00
Thomas Ries
52909f3faa - Hack to deal with Asterisks broken Alert-Info headers
(Asterisk does include Alert-Info header without '<>')
2007-04-21 18:56:49 +00:00
Thomas Ries
46c602c6db - Various fixes due to a code review by Andrew Jones 2006-10-13 17:40:09 +00:00
Thomas Ries
e4115c7ca9 DEBUG fix (wrong argument) 2006-05-20 11:50:51 +00:00
Thomas Ries
757f34b748 - a number of size_t fixes
- REGISTER response generated from siproxd must include
  a Contact header.

1. tell gcc that the logging functions use printf style
format strings. This gets gcc to tell us about a lot
of the problems.

2. size_t is not an int on AMD64, so don't treat it
like one. I've changed to use "%ld" format code and
cast to a long, which should work well enough.

3. some format strings didn't match the argument lists.
These fixes are pretty clear.

4. log_debug, log_error, log_warn, log_info could all
end up evaluating their varargs list multiple times if
the message was to be logged to multiple places. This
causes the second/third uses to access invalid memory
and potentially segfault. I fixed this by using
va_copy() to copy the varargs list for each use.
2006-05-20 11:48:53 +00:00
Thomas Ries
70c90f0292 - short-dial: use "302 Moved" to point to target 2006-01-01 20:31:55 +00:00
Thomas Ries
d5e865fc3b - Grandstream "unregister at startup" works now 2005-12-18 15:45:38 +00:00
Thomas Ries
fb744b6ba4 - handle multiple Contact headers (e.g. in REGISTER response) 2005-10-03 18:12:33 +00:00
Thomas Ries
cf7c43e3fa - handle multiple Contact headers (e.g. in REGISTER response) 2005-10-02 15:02:16 +00:00
Thomas Ries
fb0d7d14ad - [1278537] Read proxy_auth_pwfile after config file is read
- [1278591] Proxy-Authenticate header not included in response
- process empty Contact header (means "query registrations")
  (only supported for registrations at a remote server)
2005-10-01 21:14:48 +00:00
Thomas Ries
d161578162 *** empty log message *** 2005-05-05 08:49:59 +00:00
Thomas Ries
0984731872 - working on running siproxd in front of a routing device
and NOT on the firewall itself.
2005-03-01 21:36:48 +00:00
Thomas Ries
9c40c4454d - more work an new libosip API 2005-02-19 09:36:22 +00:00
Thomas Ries
57d275cddb - made compile with libosip2-2.2.0 (change of libosip2 API) 2005-02-13 12:02:28 +00:00
Thomas Ries
0f246be8b4 - copyright update to 2005 2005-01-08 10:05:13 +00:00
Thomas Ries
f5a2a736a3 - feature: Outbound proxies configurable per domain 2004-12-29 12:04:16 +00:00
Thomas Ries
9a11b03a00 - removed the "sip compatibility" stuff. It seems to have been
a intermediate version of libosip with a "funny" API. New
  versions have no API changes on existing functions.
2004-11-03 21:23:34 +00:00
Thomas Ries
78ef28f802 - up to 1000 characters per line in config file (was 120),
some typos corrected (by Tero Pelander)
2004-10-23 09:05:02 +00:00
Thomas Ries
a53744ce81 - comp_osip.c: libosip2-2.0.9 compatibility (There SEEM
to happen some API changes forward and backward:
  osip_message_to_str, osip_body_to_str,
  osip_message_set_body, osip_message_parse)
- included startup script (by Guido Trentalancia)
- siproxd.spec: create PID and registrations directories
  and install startup script
2004-10-09 17:21:37 +00:00
Thomas Ries
58153e8f25 - Cross-provider calls (e.g. sipphone <-> FWD, with dial
prefixes) did not work properly
- more on Route Headers
2004-09-05 10:08:41 +00:00
Thomas Ries
a4196945fc - Released 0.5.7 2004-06-26 11:22:02 +00:00
Thomas Ries
5b310dd9db - small enhancements in error checking 2004-06-13 20:48:57 +00:00
Thomas Ries
200f6ea926 - use SIGUSR2 for dmalloc debugging (SIGUSR1 is occupied
with old libc5 & threads)
- reworked calling parameters for passing SIP data
2004-06-13 12:46:33 +00:00
Thomas Ries
352a0f43a9 - silenced some MSN Messenger provoked WARNings (empty user) 2004-06-11 18:48:20 +00:00
Thomas Ries
6c84c4879c - sip_utils.c:sip_del_myvia check for NULL list 2004-05-25 17:40:35 +00:00