February 20, 2003
View 0bd532974f

- s/lock_t/gen_lock_t/ to avoid a type conflict on solaris

Andrei Pelinescu-Onciul authored on 20/02/2003 18:30:15
View b988daef50

- compile fixes: ser & tm + tcp compiles on linux, freebsd, openbsd & netbsd

Andrei Pelinescu-Onciul authored on 20/02/2003 18:13:22
February 19, 2003
View d531a5d5c4

- tm tcp support (though no timers yet) changelist (random order): - forward.c: removed calls to upd_send & tcp_send & replaced them with calls to msg_send - ip_addr.h: added struct dest_info (used in tm rbs) - proxy.c: all *proxy fucntions require also the protocol - resolve.c: added proto to sip_resolvehost, for SRV lookups - tags.h: changed TOTAG_LEN into TOTAG_VALUE_LEN, to solve redefinition conflict with tm/t_msgbuilder.h - modules/sl/sl_funcs.c: modified sl_send_reply to use the transport independend msg_send - modules/tm/t_funcs.c: modified send_pr_buffer to use msg_send & rb->dst - modules/tm/t_fwd.c: added proto to various functions - modules/tm/t_lookup.c: init_rb() is proto indep. & it uses struct dest_info - modules/tm/t_msgbuilder.c: build_uac_request uses proto - modules/tm/t_reply.c: updated to use rb->dst, fixed TOTAG_LEN bug - modules/tm/tm.c: added t_forward_nonack_{udp, tcp}, t_relay_to_{udp,tcp}, t_replicate_{udp, tcp} - modules/tm/uac.c: t_uac, t _uac_dlg, gethfblock, uri2proxy changed to use proto & rb->dst - modules/tm/ut.h: added proto to uri2proxy

Andrei Pelinescu-Onciul authored on 19/02/2003 17:16:41
February 11, 2003
View c030910cb4

- created a protocol independent send fucntion: msg_send - replaced the calls to tcp_send &udp_send w/ msg_send in forward.c - updated sl/sl_send_reply to work with tcp (not tested)

Andrei Pelinescu-Onciul authored on 11/02/2003 14:02:50
February 10, 2003
View 8fc80c33bb

- moved 0-term to udp_rcv_loop & tcp_read_req (save & restore the 0 term char)

Andrei Pelinescu-Onciul authored on 10/02/2003 15:49:40
February 7, 2003
View ab130758c9

- more tcp stuff and a lot of merging w/ latest cvs - content-length is appended automatically to messages that cross from udp to tcp - tcp2udp and udp2tcp now work under heavy stress (e.g.: throttle 200, 10 ser processes on dual cpu) - tcp performance still sucks, some things like disabling Nagle are still not in yet (for better debugging)

Andrei Pelinescu-Onciul authored on 07/02/2003 17:02:15
January 31, 2003
View 96dd9e9f4d

voicemail specific code added (see #define VOICE_MAIL and module vm)

Raphael Coeffic authored on 31/01/2003 13:54:59
January 27, 2003
View 51767629e3

- fixed all rport & via param parsing bugs (hopefully): added a new member (start) to via_param modified parse_via to set new via_param->start member and via->params more rport fixes (make use of new via_param->start)

Andrei Pelinescu-Onciul authored on 27/01/2003 14:22:07
January 20, 2003
View 8aeb47e2ed

- more tcp stuff (uses locking.h, hashtables, mostly untested) - main exit cleanups (created cleanup(show_status() function that should prepare ser for exiting: dellocate everything, free sems a.s.o).

Andrei Pelinescu-Onciul authored on 20/01/2003 18:35:09
January 16, 2003
View e01354880c

- new locking used in shm_mem - some compile fixes in tm/lock.* (w/ sys v sems) Notes: on linux use only FAST_LOCK or USE_SYSV_SEM (pthread & posix sems do not work)

Andrei Pelinescu-Onciul authored on 16/01/2003 19:22:09
View 523768d24f

- added PowerPC support, patch provided by Dinos Dorkofikis <kdor@intracom.gr>

Andrei Pelinescu-Onciul authored on 16/01/2003 16:46:01
December 12, 2002
View c0c6207a49

- tcp bug fixes

Andrei Pelinescu-Onciul authored on 12/12/2002 23:59:26
View f2f969dda6

- changed sip_msg (new rcv member containing all the ips, ports, protocol) - added a "proto" parameter to forward_request, via_builder, get_send_sock etc. - added 2 new script commands: forward_udp & forward_tcp - lots of tcp bloat - changed parse_via to recognize TCP - more functions added to ip_addr.h (cmp for ips & sockaddrs etc.)

Andrei Pelinescu-Onciul authored on 12/12/2002 21:46:37
December 9, 2002
View a2acf4e88e

- integrated juha's changes to resolve.[ch] (naptr parser & structure) - fixed a bug in resolve.c ( >end instead of >=end in lots of places) - eliminated unused var from parser_f.c - changed ver. no.

Andrei Pelinescu-Onciul authored on 09/12/2002 18:26:13
December 4, 2002
View 6a157851a5

- first tcp 2 udp packet sent

Andrei Pelinescu-Onciul authored on 04/12/2002 18:47:52