Commit Graph

130 Commits

Author SHA1 Message Date
Thomas Ries
f52eeeba78 typos 2017-09-29 18:59:19 +00:00
Thomas Ries
0ead5c7efa proxy.c: fixed 2 minor memory leaks 2017-02-27 20:36:58 +00:00
Thomas Ries
cdccee4266 2015-09-19 22:32:55 +00:00
Thomas Ries
f441e37451 2015-09-19 13:21:08 +00:00
Thomas Ries
9c3dad1eb8 plugin_trunk wip 2015-09-19 12:56:27 +00:00
Thomas Ries
26fd4f57c4 plugin_fix_DTAG 2015-08-30 07:38:39 +00:00
Thomas Ries
22c97a4398 2015-07-17 09:19:16 +00:00
Thomas Ries
5ec3974cac support line= URI parameter 2015-07-15 13:54:48 +00:00
Thomas Ries
b4f3a24c00 added plugin_stripheader 2015-01-20 20:26:48 +00:00
Thomas Ries
e46d64fa7b - fix: siproxd could crash when trying to rewrite a malformed
SIP message. (thank you, Lucas)
2010-03-29 17:28:12 +00:00
Thomas Ries
678fe19800 *** empty log message *** 2010-01-26 21:17:58 +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
3a50376f3e *** empty log message *** 2009-07-30 17:20:55 +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
8118579c7e - Updated the documentation (plugin related stuff)
- fixed a DEBUG pattern in proxy.c
2009-05-21 12:55:04 +00:00
Thomas Ries
bc6bc5169b - fixed some senseless range checks on "Max-Forward"
and "Expires" headers (Thank you Alex for telling me)
2009-01-07 20:37:11 +00:00
Thomas Ries
b09b3b4225 *** empty log message *** 2008-02-24 18:29:31 +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
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
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
c29ace9dda - Debugging output 2007-10-28 13:48:10 +00:00
Thomas Ries
5ff32070f5 compare client id is now a two step procedure:
first we go for contact header. If present in both cases (stored in
registration table AND in INVITE / OK frame, then use it, otherwise fall
back to IP addresses.
2007-06-08 19:41:49 +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
abf7cc46a7 - Deal with PRACK requests (RFC3262) 2007-05-29 16:41:50 +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
c97532fdbb - new feature: can masquerade User-agent header 2007-05-24 18:38:59 +00:00
Thomas Ries
9fdd8ca626 - Client-ID in RTP proxy is derived from Client IP address.
This should fix an issue with unexpectedly timing-out RTP
  streams (actually too many RTP streams get started).
2007-05-07 18:54:45 +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
9f165e6694 - fix an issue in rtpproxy_relay that screwed up the client_id
after the dejitter extension from yesterday.
  NOTE: be careful with utils_inet_ntoa(), it uses a STATIC buffer !!!
2006-06-19 19:55:10 +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
34fb9113ab - replaced some malloc() by osip_malloc(),
(hopefully) fixed a sporadic crash in sdp_message_parse()
- RTP timeouts on some PBX systems that include an video
  stream, but the called UA has no video capability.
2006-02-11 09:43:19 +00:00
Thomas Ries
fa9e811bb9 - rewrite complete incoming request URI 2006-02-03 22:12:48 +00:00
Thomas Ries
70c90f0292 - short-dial: use "302 Moved" to point to target 2006-01-01 20:31:55 +00:00
Thomas Ries
888f998c8d - Call logging: display FROM & TO for calls. 2005-12-28 19:01:59 +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
ab08d2febf - allocate only even RTP port numbers
- started with own name lookup routines that honor SRV and NAPTR records
2005-08-31 03:34:35 +00:00
Thomas Ries
e9178c2a89 - fix: ACK may contain SDP body, process it 2005-04-21 22:41:02 +00:00
Thomas Ries
8f211d48af feature: siproxd "in front of" a NAT router should work 2005-03-27 16:05:16 +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
571374928e - string termination issue in libosip2-2.2.0:
osip_message_to_str, osip_body_to_str
2005-02-13 12:49:15 +00:00
Thomas Ries
57d275cddb - made compile with libosip2-2.2.0 (change of libosip2 API) 2005-02-13 12:02:28 +00:00