March 10, 2003
View 6419a43f9f

- sun cc compile fixes (all the files not mentioned explicitly) - fixed a bug in build_res_buf_with_body_from_sip_req (bad len computations when via was not crlf terminated, e.g only lf) - Makefile.def: sun cc modules compilations options updated (it seems tm uses too many symbols for the default small memory model) - lock_ops.h: lock set support added also for PTHREAD_MUTEX & POSIX_SEM - route.c: updated to the new module exports format - sr_module.[hc]: changed module exports interface: added struct cmd_export and param_export, updated find_export, find_export_param, find_module

Andrei Pelinescu-Onciul authored on 10/03/2003 22:24:14
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
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
December 17, 2002
View a6982b85d8

parse_uri cleanup: - It does no create copy of strings anymore - Fields are not zero terminated - Prototype of some low-level functions changed to accept str* instead of char*, that includes: mk_proxy, sip_resolvehost, str2ip, str2ip6, ip_addr2he - All modules updated (hopefully)

Jan Janak authored on 17/12/2002 18:14:32
December 13, 2002
View f720ad635d

- missing #ifdef USE_IPV6 (reported by bogdan)

Andrei Pelinescu-Onciul authored on 13/12/2002 16:24:02
December 12, 2002
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 11, 2002
View 0c5da34bd1

- increased ROUTE_MAX_REC_LEV to 100 - added new route commad: send_tcp(address, port) - tcp global vars (added new members to pt a.s.o) - tcp_send(buf, len, server, 0) will try to find an existing open tcp connection to "server"; if none found a new one will be opened (ser will also start listening on it for sip messages) - first udp to tcp & tcp to tcp send (not forward, I still have to solve some tricky via stuff)

Andrei Pelinescu-Onciul authored on 11/12/2002 21:30:44
December 9, 2002
View 6bc40dea88

- more tcp stuff (not sure it compiles though, so don't use -DUSE_TCP yet)

Andrei Pelinescu-Onciul authored on 09/12/2002 18:40:42
November 29, 2002
View 5b532c7fdd

- preliminary tcp support (it doesn't work, it's just for debugging, as long as you compile w/o -DUSE_TCP you should be safe) Note: sip + tcp really sucks

Andrei Pelinescu-Onciul authored on 29/11/2002 21:12:24
November 4, 2002
View 087d09764c

- converted to autoconf compatible format (replaced some os specific ifdefs with HAVE_xxx a.s.o)

Andrei Pelinescu-Onciul authored on 04/11/2002 17:05:32
October 23, 2002
View 1baa06b5df

- myself matches now also the uri port - modified check_self, add_alias & grep_alias to accept port numbers - added loopback check - modified get_send_socket to return the first non loopback ipv4 interface if bind_address==0

Andrei Pelinescu-Onciul authored on 23/10/2002 15:12:20
October 14, 2002
View 156b277b41

- added init_su alias: ip_addr2su

Andrei Pelinescu-Onciul authored on 14/10/2002 16:42:31
September 25, 2002
View 054cb6cff5

- big makefile changes - debian fixes (works like a charm now) - ipaddr2he bug fix - changes rpm specs - modified the tar makefile target - new make vars: basedir, cfg-target, modules-target - cfg. file modified on the fly (module-path=modules-target) - ser default cfg. file=cfg-target - etc.

Andrei Pelinescu-Onciul authored on 25/09/2002 19:20:26
September 19, 2002
View 7dd0b34273

GPLization banner introduced to *.[hc] files

Jiri Kuthan authored on 19/09/2002 12:23:52