102 Commits

Author SHA1 Message Date
Thomas Ries
88f601c6cf reworked Y2038 fix 2022-01-05 16:21:16 +01:00
Thomas Ries
91e041dbfc fixed some Y2038 issues related to 64bit time support for 32bit plattforms 2021-10-25 11:50:23 +02:00
Thomas Ries
939551ec97 eliminated more compiler warnings 2021-02-10 21:21:50 +01:00
Thomas Ries
006d8e6d5e fixed compiler warning in plugin_fix_bogus_via.c 2021-02-07 17:58:27 +01:00
Thomas Ries
a75f5c89cd fix: Repetitions (T1 timer) during INVITE could cause loss of audio 2019-11-09 17:41:08 +00:00
Thomas Ries
936f546131 scaled up sizing for clients and streams 2017-09-27 19:22:19 +00:00
Thomas Ries
63a4e79b51 2017-02-25 20:42:36 +00:00
Thomas Ries
9c3dad1eb8 plugin_trunk wip 2015-09-19 12:56:27 +00:00
Thomas Ries
5a8837077a fixed some #include and data-type issues 2014-09-26 21:37:21 +00:00
Thomas Ries
b0be9e3275 - Pthread stack size made adjustable (thread_stack_size) 2011-06-12 18:45:17 +00:00
Thomas Ries
137d82452d - TCP support 2010-01-07 11:38:52 +00:00
Thomas Ries
a83cffe287 - Make local UA to local UA calls work better with UAs that
blindly practice symmetric RTP and ignore the SDP media
   description completely (did anyone shout X-Lite?)
   Mantis 117
2009-10-27 20:43:05 +00:00
Thomas Ries
4d988c2536 - RTP proxy could get confused and mess up RTP streams
if two local UAs did use the same usernames but register
  on different providers. A call from UA1 to UA2 the could
  mess up the audio.
2009-07-30 17:02:36 +00:00
Thomas Ries
310e110176 - honor PTHREAD_LDFLAGS from environment 2008-11-08 15:27:31 +00:00
Thomas Ries
76bc1984c5 - check & define if SOL_IP not existing (some *BSDs) 2008-11-08 12:06:39 +00:00
Thomas Ries
c95510f9ac - SIP DSCP value configurable 2008-08-01 08:03:30 +00:00
Thomas Ries
47936e21ea - fixes some signedness warnings 2008-07-22 11:17:49 +00:00
Thomas Ries
540f3eeff4 - plugin_fix_bogus_via: fixes broken VIA headers on
incoming SIP messages (inspired by Ralph Babel, see
  http://babel.de/art20080317a.html for more info)
2008-05-17 15:55:03 +00:00
Thomas Ries
99111f01d7 - default target plugin 2008-02-04 20:38:44 +00:00
Thomas Ries
e8b2346781 - moved Call Logging functionality to it's own plugin. 2008-02-02 20:08:48 +00:00
Thomas Ries
b03dc44f33 plugin API works 2008-02-02 17:10:58 +00:00
Thomas Ries
af78b380d7 plugin API 2008-01-30 18:49:47 +00:00
Thomas Ries
82563a17ee - new plugin API (dynamically loadable plugins) 2008-01-27 16:29:35 +00:00
Thomas Ries
6952295a2d 2008 2008-01-19 16:07:14 +00:00
Thomas Ries
f81e32fe73 - DNS failure cache: do several attempts before blacklisting 2007-12-20 17:42:10 +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
ed3ea029e3 - keep failed DNS attempts in cache for 10 minutes.
This should protect from repeating DNS timeouts to
  caused by broken DNS server (possible DOS)
2007-09-03 19:55:11 +00:00
Thomas Ries
ff4ab45eba - Some cleanup in dejitter code 2007-06-08 19:43:44 +00:00
Thomas Ries
f6b0b49bf9 - improvements on RTP proxy for proxying a "looped" call
(means originating from local UA , via external registrar
  back to another local UA)
2007-05-29 20:08:29 +00:00
Thomas Ries
58702c80c0 *** empty log message *** 2007-05-28 17:26:00 +00:00
Thomas Ries
8c27d38ee3 - new feature: "Obscure Loops" does modify the Call-IDs in
outgoing requests and thus allows incoming calls forked
  off such an outgoing call (redirect, transfer, ...) back
  to the same UA where the initial call did originate.
  This even seems to fix some issues with Asterisks
  Loop detection... :-)
2007-05-27 18:25:49 +00:00
Thomas Ries
4ff6e84e72 - Just discovered some patches originating from Debian
project - included most of them as they make sense.
  (Hint: People, if you get fixes, please drop me a note
  and a .diff - I won't be biting you)
2007-05-25 18:58:10 +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
c97532fdbb - new feature: can masquerade User-agent header 2007-05-24 18:38:59 +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
49b176d277 - Increased RTP buffer size 2007-02-19 19:31:23 +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
047ac5384f *** empty log message *** 2006-09-10 12:05:56 +00:00
Thomas Ries
3cc74d37d0 - logging 2006-06-23 21:45:31 +00:00
Thomas Ries
bb6706d514 - dejitter: default to 100ms 2006-06-22 16:33:39 +00:00
Thomas Ries
ae230ebe44 - RTCP support
- dejitter feature by Hans Carlos Hofmann (<labtop-carlos@hchs.de>)
2006-06-18 19:12:35 +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
9d3c11adbc *** empty log message *** 2006-01-31 18:43:03 +00:00
Thomas Ries
70c90f0292 - short-dial: use "302 Moved" to point to target 2006-01-01 20:31:55 +00:00
Thomas Ries
9ac6fd6f0a - Added Quick Dial feature 2005-12-26 16:39:12 +00:00
Thomas Ries
d5e865fc3b - Grandstream "unregister at startup" works now 2005-12-18 15:45:38 +00:00
Thomas Ries
2311cca685 - fix: no audio with some UAs that do not include a
Contact header in ACK messages (which is compliant).
2005-10-09 14:19:25 +00:00
Thomas Ries
60f8c0c6b8 - Expiration timeout is now taken from the REGISTER response 2005-10-09 10:25:12 +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
ab78ddb984 - feature: DSCP value for RTP packets defineable (by Nick
Vermeer, Internet Express)
2005-04-19 19:00:23 +00:00