sip-router
17 years ago- fixed process_count() (forgot to add some() when I added tcp_disable)
Andrei Pelinescu-Onciul [Fri, 18 Apr 2003 13:58:15 +0000 (13:58 +0000)]
- fixed process_count() (forgot to add some() when I added tcp_disable)

17 years agosome more warnings
Jiri Kuthan [Fri, 18 Apr 2003 13:31:36 +0000 (13:31 +0000)]
some more warnings

17 years ago- added new make env./cmd. line parameters:
Andrei Pelinescu-Onciul [Thu, 17 Apr 2003 12:52:13 +0000 (12:52 +0000)]
- added new make env./cmd. line parameters:

exclude_modules="module1 module2" (this was before but now it can be changed
 form the command line) == compile all the modules in modules/* except
 module1 & module2

skip_modules="module1 module2" == compile all the modules not excluded by
default except module1 & module2 == module/* -$(exclude_module)-$(skip_module)

include_modules="module1 module2" == compile all the modules not excluded by
defautl + module1 and module2

All this can be combined in any way. exclude_modules contains by default (if
not overwritten from the cmd. line or env) the list of experimental modules +
the list of modules with external dependecies (like jabber, *_radius).

More examples in INSTALL

17 years agodeleted modules excluded
Jiri Kuthan [Thu, 17 Apr 2003 11:33:09 +0000 (11:33 +0000)]
deleted modules excluded

17 years ago- removed all the experimental modules from make modules
Andrei Pelinescu-Onciul [Wed, 16 Apr 2003 18:22:47 +0000 (18:22 +0000)]
- removed all the experimental modules from make modules
(there are still some non-experimantal ones removed because of library
 dependecies)

17 years ago - core warning fixes for 64 bits archs
Andrei Pelinescu-Onciul [Wed, 16 Apr 2003 16:17:09 +0000 (16:17 +0000)]
 - core warning fixes for 64 bits archs
 - added include netinet/in_systm.h in tcp_*, udp_* (needed for IP_TOS on non
   linux systems)
 - now  when using gcc 3.x/x86 ser is optimized for athlon, but "normal" i386
 instructions are used. All this is overwritable from the environment or command line: CPU=athlon-mp make , or to also generate athlon instructions:
 CPU=athlon-mp CC_EXTRA_OPTS=-march=athlon-mp make

17 years ago- added news about jabber and msilo modules
Daniel-Constantin Mierla [Wed, 16 Apr 2003 10:40:39 +0000 (10:40 +0000)]
- added news about jabber and msilo modules

17 years ago- bugs reported by Jiri fixed.
Jan Janak [Tue, 15 Apr 2003 21:46:14 +0000 (21:46 +0000)]
- bugs reported by Jiri fixed.

17 years ago- removed fakeroot from debian dependency list
Andrei Pelinescu-Onciul [Tue, 15 Apr 2003 20:56:39 +0000 (20:56 +0000)]
- removed fakeroot from debian dependency list

17 years ago- added disable tcp support (-T or disable_tcp=yes in the cfg)
Andrei Pelinescu-Onciul [Tue, 15 Apr 2003 20:39:37 +0000 (20:39 +0000)]
- added disable tcp support (-T or disable_tcp=yes in the cfg)
- the number of tcp "worker" processes is now setable (-N or tcp_children=NN)
- replaced get_out_socket w/ get_send_socket in tm/uac.c & fixed some proto
stuff (proto was not set properly when called w/ PROTO_NONE)
- updated man pages & INSTALL

17 years agod-link(india) ua introduced
Jiri Kuthan [Tue, 15 Apr 2003 06:31:29 +0000 (06:31 +0000)]
d-link(india) ua introduced

17 years agotmemo separated from sip_router
Jiri Kuthan [Tue, 15 Apr 2003 00:59:18 +0000 (00:59 +0000)]
tmemo separated from sip_router

17 years ago- EINTR handled for tcp write (andrei)
Andrei Pelinescu-Onciul [Mon, 14 Apr 2003 20:26:27 +0000 (20:26 +0000)]
- EINTR handled for tcp write (andrei)

17 years ago- set socket options to TOS low delay
Andrei Pelinescu-Onciul [Mon, 14 Apr 2003 19:27:57 +0000 (19:27 +0000)]
- set socket options to TOS low delay
- REUSEADDR is now on by default for tcp

17 years ago- a little more verbose DBG_QM_MALLOC (frags & addresses are always displayed,
Andrei Pelinescu-Onciul [Mon, 14 Apr 2003 18:51:58 +0000 (18:51 +0000)]
- a little more verbose DBG_QM_MALLOC (frags & addresses are always displayed,
etc)
- fixed a gcc 2.9x warning and a gcc 3.* warning

17 years agomore changes summarized
Jiri Kuthan [Mon, 14 Apr 2003 12:20:15 +0000 (12:20 +0000)]
more changes summarized

17 years agoethernet reconnectivity added
Jiri Kuthan [Mon, 14 Apr 2003 03:05:15 +0000 (03:05 +0000)]
ethernet reconnectivity added

17 years agofix^2: ack generation no longer checks reply status
Jiri Kuthan [Mon, 14 Apr 2003 03:02:56 +0000 (03:02 +0000)]
fix^2: ack generation no longer checks reply status

17 years agocross-transport introduced to TM
Jiri Kuthan [Mon, 14 Apr 2003 02:01:06 +0000 (02:01 +0000)]
cross-transport introduced to TM

17 years agofix: 0 character reversed to backup correctly
Jiri Kuthan [Sun, 13 Apr 2003 23:15:43 +0000 (23:15 +0000)]
fix: 0 character reversed to backup correctly

17 years agodebugging option removed
Jiri Kuthan [Sun, 13 Apr 2003 21:48:18 +0000 (21:48 +0000)]
debugging option removed

17 years agoreinstall option for transition to new database structures introduced
Jiri Kuthan [Sun, 13 Apr 2003 21:47:39 +0000 (21:47 +0000)]
reinstall option for transition to new database structures introduced

17 years ago- fixed warning builder
Andrei Pelinescu-Onciul [Sun, 13 Apr 2003 17:19:10 +0000 (17:19 +0000)]
- fixed warning builder

17 years ago - added ipv6 address reference resolver support
Andrei Pelinescu-Onciul [Sat, 12 Apr 2003 20:55:30 +0000 (20:55 +0000)]
 - added ipv6 address reference resolver support

17 years agotypo fixed (visible only in debug mode)
Jiri Kuthan [Sat, 12 Apr 2003 20:49:47 +0000 (20:49 +0000)]
typo fixed (visible only in debug mode)

17 years agotest
Jiri Kuthan [Sat, 12 Apr 2003 19:44:02 +0000 (19:44 +0000)]
test

17 years ago- added force rport (force_rport command in script, FL_FORCE_RPORT flags,
Andrei Pelinescu-Onciul [Sat, 12 Apr 2003 19:26:15 +0000 (19:26 +0000)]
- added force rport (force_rport command in script, FL_FORCE_RPORT flags,
msg->msg_flags)
- added chroot and wdir in script (to bring it in line with the cmd. line
  options)

17 years agotest
Jiri Kuthan [Sat, 12 Apr 2003 18:18:57 +0000 (18:18 +0000)]
test

17 years agoa workaround to the latest bug added
Jiri Kuthan [Sat, 12 Apr 2003 15:01:12 +0000 (15:01 +0000)]
a workaround to the latest bug added

17 years agohash==0 bug mentioned
Jiri Kuthan [Fri, 11 Apr 2003 23:29:04 +0000 (23:29 +0000)]
hash==0 bug mentioned

17 years agopingtel test mentioned
Jiri Kuthan [Fri, 11 Apr 2003 20:09:54 +0000 (20:09 +0000)]
pingtel test mentioned

17 years agorequirements enhanced
Jiri Kuthan [Fri, 11 Apr 2003 20:03:10 +0000 (20:03 +0000)]
requirements enhanced

17 years ago- mode=debug => -DEXTRA_DEBUG
Andrei Pelinescu-Onciul [Fri, 11 Apr 2003 16:58:29 +0000 (16:58 +0000)]
- mode=debug => -DEXTRA_DEBUG
- a lot of the tcp debugging messages are displayed now only if EXTRA_DEBUG is
  defined
- parse_uri sets now ser_error
- forward(uri:host,...) will use the protocol in the uri

17 years ago- fixed a bug.
Jan Janak [Fri, 11 Apr 2003 12:37:52 +0000 (12:37 +0000)]
- fixed a bug.

17 years agosx design UA added
Jiri Kuthan [Fri, 11 Apr 2003 11:41:08 +0000 (11:41 +0000)]
sx design UA added

17 years ago- minor optimizations (tricking gcc into generating a little better code)
Andrei Pelinescu-Onciul [Fri, 11 Apr 2003 00:35:31 +0000 (00:35 +0000)]
- minor optimizations (tricking gcc into generating a little better code)

17 years ago- new parse_uri function added (better + parses transport, maddr, lr, method, user...
Andrei Pelinescu-Onciul [Thu, 10 Apr 2003 23:51:10 +0000 (23:51 +0000)]
- new parse_uri function added (better + parses transport, maddr, lr, method, user, ttl )
- sip_uri structure updated
- PROTO_SCTP added :-)

17 years ago - sendipv[46] was not set in no fork mode (found by Jan)
Andrei Pelinescu-Onciul [Thu, 10 Apr 2003 22:06:30 +0000 (22:06 +0000)]
 - sendipv[46] was not set in no fork mode (found by Jan)

17 years ago- fixed bug introduced by me
Jan Janak [Thu, 10 Apr 2003 21:44:34 +0000 (21:44 +0000)]
- fixed bug introduced by me

17 years ago - ipv6 reference parsing support
Andrei Pelinescu-Onciul [Thu, 10 Apr 2003 17:44:48 +0000 (17:44 +0000)]
 - ipv6 reference parsing support

17 years ago- print_* function don't use stdout anymore
Jan Janak [Thu, 10 Apr 2003 12:38:18 +0000 (12:38 +0000)]
- print_* function don't use stdout anymore

17 years ago- fixed missing #ifndefs.
Jan Janak [Thu, 10 Apr 2003 12:37:50 +0000 (12:37 +0000)]
- fixed missing #ifndefs.

17 years ago- Faster Call-ID generator
Jan Janak [Wed, 9 Apr 2003 11:48:42 +0000 (11:48 +0000)]
- Faster Call-ID generator
- Increments directly the HEX representation of the random number

17 years ago- split init_mallocs into init_pkg_mallocs & init_shm_mallocs
Andrei Pelinescu-Onciul [Tue, 8 Apr 2003 16:02:43 +0000 (16:02 +0000)]
- split init_mallocs into init_pkg_mallocs & init_shm_mallocs
- init_shm_mallocs called after cmd. line parsing (so -m is not ignored any more)

17 years ago- forgot to initialize the timer process when forking is enabled
Jan Janak [Tue, 8 Apr 2003 12:31:40 +0000 (12:31 +0000)]
- forgot to initialize the timer process when forking is enabled

17 years agomore debugging
Jiri Kuthan [Tue, 8 Apr 2003 00:39:55 +0000 (00:39 +0000)]
more debugging

17 years agoedial server added
Jiri Kuthan [Mon, 7 Apr 2003 22:10:06 +0000 (22:10 +0000)]
edial server added

17 years agorr parameters removed (they are in URI now)
Jan Janak [Mon, 7 Apr 2003 20:47:12 +0000 (20:47 +0000)]
rr parameters removed (they are in URI now)

17 years ago- support for URI parameters
Jan Janak [Mon, 7 Apr 2003 20:27:37 +0000 (20:27 +0000)]
- support for URI parameters
- recognizes transport, lr, r2, and maddr parameters

17 years ago- added msilo sample config script
Daniel-Constantin Mierla [Mon, 7 Apr 2003 16:50:57 +0000 (16:50 +0000)]
- added msilo sample config script

17 years ago - fixed ONREPLY_ROUTE & FAILURE_ROUTE redefinition (same name in lex/yacc &
Andrei Pelinescu-Onciul [Mon, 7 Apr 2003 16:44:06 +0000 (16:44 +0000)]
 - fixed ONREPLY_ROUTE & FAILURE_ROUTE redefinition (same name in lex/yacc &
   sr_module.h)
 - dumbed down the make install part to work with the brain damaged solaris
   original install

17 years ago- added tools version in INSTALL (e.g. gmake >=3.79)
Andrei Pelinescu-Onciul [Mon, 7 Apr 2003 11:57:09 +0000 (11:57 +0000)]
- added tools version in INSTALL (e.g. gmake >=3.79)
- fixed  test -e to test -f in Makefile (install-cfg)
- INSTALL, TAR, BASEDIR are now setable in the environment
(also PREFIX, LOCALBASE, CC, LEX, YACC)

17 years agoroute set duplicated into shm
Jan Janak [Mon, 7 Apr 2003 11:51:01 +0000 (11:51 +0000)]
route set duplicated into shm

17 years agoshm duplication functions
Jan Janak [Mon, 7 Apr 2003 11:48:26 +0000 (11:48 +0000)]
shm duplication functions

17 years agos/reply_route/failure_route, onreply_route introduced
Jiri Kuthan [Mon, 7 Apr 2003 06:36:56 +0000 (06:36 +0000)]
s/reply_route/failure_route, onreply_route introduced

17 years agonew exmample demonstating on_reply bflmpsvz
Jiri Kuthan [Mon, 7 Apr 2003 06:32:58 +0000 (06:32 +0000)]
new exmample demonstating on_reply

17 years agoTM removed from fifo's debuggign messages
Jiri Kuthan [Mon, 7 Apr 2003 02:54:58 +0000 (02:54 +0000)]
TM removed from fifo's debuggign messages

17 years ago - parse_uri tester
Andrei Pelinescu-Onciul [Mon, 7 Apr 2003 01:35:18 +0000 (01:35 +0000)]
 - parse_uri tester

17 years ago -more port order fixes (seems I overwritten a file with the old version...)
Andrei Pelinescu-Onciul [Sun, 6 Apr 2003 22:39:04 +0000 (22:39 +0000)]
 -more port order fixes (seems I overwritten a file with the old version...)

17 years ago- child init called in all ser processes (main, timer, fifo, tcp_main,
Jan Janak [Sun, 6 Apr 2003 20:28:12 +0000 (20:28 +0000)]
- child init called in all ser processes (main, timer, fifo, tcp_main,
  udp_children, tcp_children, tcp_main)
- defined macros PROC_MAIN, PROC_TIMER, PROC_FIFO, PROC_TCP_MAIN - they
  substitute rank for special processes
- listening children have rank 1 and higher

17 years ago- fixed port byte order bugs introduced last night
Andrei Pelinescu-Onciul [Sun, 6 Apr 2003 14:05:35 +0000 (14:05 +0000)]
- fixed port byte order bugs introduced last night
- updated modules to use the new byte ordering (now all the ports are kept in host byte order, previously some structures used network byte order and in other host byte order)

17 years ago- timer will use first ipv4/ipv6 socket for sending and not the first
Andrei Pelinescu-Onciul [Sun, 6 Apr 2003 00:21:13 +0000 (00:21 +0000)]
-  timer will use first ipv4/ipv6 socket for sending and not the first
   interface (which can be a loopback)
- rport related src_port fixes (all ports are now kept in host byte order)

17 years agosupport for "who hang up" in accounting introduced
Jiri Kuthan [Sat, 5 Apr 2003 16:02:45 +0000 (16:02 +0000)]
support for "who hang up" in accounting introduced

17 years agodefault DB uris replaced with a #define now
Jiri Kuthan [Sat, 5 Apr 2003 14:06:09 +0000 (14:06 +0000)]
default DB uris replaced with a #define now

17 years ago - small description update
Andrei Pelinescu-Onciul [Fri, 4 Apr 2003 16:07:49 +0000 (16:07 +0000)]
 - small description update

17 years ago- tm update_sock_struct_from_via call updated
Andrei Pelinescu-Onciul [Fri, 4 Apr 2003 15:43:10 +0000 (15:43 +0000)]
- tm update_sock_struct_from_via call updated

17 years ago- rport fixes for sl_send_replies (reply_to_via==1)
Andrei Pelinescu-Onciul [Fri, 4 Apr 2003 15:38:30 +0000 (15:38 +0000)]
- rport fixes for sl_send_replies (reply_to_via==1)

17 years agopkg_malloc -> shm_malloc
Jan Janak [Fri, 4 Apr 2003 14:21:08 +0000 (14:21 +0000)]
pkg_malloc -> shm_malloc

17 years agolen field added (total length of one Route field).
Jan Janak [Fri, 4 Apr 2003 14:04:00 +0000 (14:04 +0000)]
len field added (total length of one Route field).

17 years agocorrected fxs_gw name
Jiri Kuthan [Fri, 4 Apr 2003 10:27:49 +0000 (10:27 +0000)]
corrected fxs_gw name

17 years agogrand acc cleanup: all (core, tm, acc, serweb) but radius intergrated
Jiri Kuthan [Fri, 4 Apr 2003 03:21:58 +0000 (03:21 +0000)]
grand acc cleanup: all (core, tm, acc, serweb) but radius intergrated

17 years ago - sl_send_reply with reply_to_via==0 (default) fixed (hopefully)
Andrei Pelinescu-Onciul [Thu, 3 Apr 2003 18:06:53 +0000 (18:06 +0000)]
 - sl_send_reply with reply_to_via==0 (default) fixed (hopefully)

17 years agoserctl portability bug "echo -n" added
Jiri Kuthan [Thu, 3 Apr 2003 17:26:06 +0000 (17:26 +0000)]
serctl portability bug "echo -n" added

17 years ago"echo -n" removed
Jiri Kuthan [Thu, 3 Apr 2003 17:19:52 +0000 (17:19 +0000)]
"echo -n" removed

17 years agoFXS_GW introduced
Jiri Kuthan [Thu, 3 Apr 2003 10:34:37 +0000 (10:34 +0000)]
FXS_GW introduced

17 years ago- fixed get_send_sock for the tcp to udp forwarding with bind_address!=0
Andrei Pelinescu-Onciul [Wed, 2 Apr 2003 18:20:34 +0000 (18:20 +0000)]
- fixed get_send_sock for the tcp to udp forwarding with bind_address!=0
 (recent change)

17 years ago- added more subst lumps: SUBST_{SND,RCV}_ALL => ip:port;transport=proto
Andrei Pelinescu-Onciul [Wed, 2 Apr 2003 16:39:06 +0000 (16:39 +0000)]
- added more subst lumps: SUBST_{SND,RCV}_ALL  => ip:port;transport=proto

17 years ago- fixed ":" in port_no_str bug. Now port_no_str no longer contains the colon
Andrei Pelinescu-Onciul [Wed, 2 Apr 2003 15:51:03 +0000 (15:51 +0000)]
- fixed ":" in port_no_str bug. Now port_no_str no longer contains the colon
(updated sms & tm)

17 years agoto-do updated
Jiri Kuthan [Wed, 2 Apr 2003 14:30:15 +0000 (14:30 +0000)]
to-do updated

17 years ago- added dst_port, proto (== tcp, udp, tls), af (==inet, inet6) to the config
Andrei Pelinescu-Onciul [Tue, 1 Apr 2003 18:20:50 +0000 (18:20 +0000)]
- added dst_port, proto (== tcp, udp, tls), af (==inet, inet6) to the config
  script
- fixed a makefile dep. problem (lex.yy.c : cfg.tab.h & cfg.tab.h: cfg.y)

17 years ago- added contional lumps support functions:
Andrei Pelinescu-Onciul [Tue, 1 Apr 2003 15:54:16 +0000 (15:54 +0000)]
- added contional lumps support functions:
insert_cond_lump_after ( anchor, COND_TYPE, lump_type)
insert_cond_lump_before

17 years ago- added opt (conditional) lumps, see data_lump.h:
Andrei Pelinescu-Onciul [Tue, 1 Apr 2003 15:43:41 +0000 (15:43 +0000)]
- added opt (conditional) lumps, see data_lump.h:
 COND_FALSE, COND_TRUE, COND_IF_DIFF_REALMS, COND_IF_DIFF_AF, COND_IF_DIFF_PROTO, COND_IF_DIFF_PORT, COND_IF_DIFF_IP, COND_IF_RAND (the last one is very usefull
  :-))

17 years agoOne more missing GET_NEXT_HOP added.
Jan Janak [Tue, 1 Apr 2003 13:53:08 +0000 (13:53 +0000)]
One more missing GET_NEXT_HOP added.

17 years agosupport for loose_routing in branches was missing, fixed.
Jan Janak [Tue, 1 Apr 2003 11:59:08 +0000 (11:59 +0000)]
support for loose_routing in branches was missing, fixed.

17 years ago- Added support for loose routing in forward action.
Jan Janak [Tue, 1 Apr 2003 11:58:06 +0000 (11:58 +0000)]
- Added support for loose routing in forward action.

17 years ago- Introduced macro GET_NEXT_HOP which returns URI of the next hop (not
Jan Janak [Tue, 1 Apr 2003 09:16:00 +0000 (09:16 +0000)]
- Introduced macro GET_NEXT_HOP which returns URI of the next hop (not
  necessary Request URI)
- Introduced macro GET_RURI which returns Request-URI of a message (either
  new_uri or the original one)

17 years ago- Copyright statement added to dlg.c and dlg.h
Jan Janak [Tue, 1 Apr 2003 09:14:29 +0000 (09:14 +0000)]
- Copyright statement added to dlg.c and dlg.h
- Updated to support loose routing (a message
  is not necessary forwarded to its R-URI)

17 years agoraw dialog support added (untested !!)
Jan Janak [Tue, 1 Apr 2003 06:36:55 +0000 (06:36 +0000)]
raw dialog support added (untested !!)

17 years ago- fixed SUBST_{SND,RCV}_IP for the ipv6 case (address must be enclosed in [])
Andrei Pelinescu-Onciul [Mon, 31 Mar 2003 19:56:37 +0000 (19:56 +0000)]
- fixed SUBST_{SND,RCV}_IP for the ipv6 case (address must be enclosed in [])

17 years ago- removed msg->repl_add_rm (msg->add_rm is used now both for replies & requests)
Andrei Pelinescu-Onciul [Mon, 31 Mar 2003 19:51:10 +0000 (19:51 +0000)]
- removed msg->repl_add_rm (msg->add_rm is used now both for replies & requests)
- tcp code now always tries to add bind address info even for temporary "sending" sockets (it tries to find first match in the listening sockets list)
- new lump function: insert_subst_lump_after, insert_subst_lump_before
(you can add now lumps that will be substituted with the rcv/sending ip addr,
 port or proto: see SUBST_{SND,RCV}_{IP,PORT,PROTO})

17 years ago- removed msg->repl_add_rm (msg->add_rm is used both for request & replies)
Andrei Pelinescu-Onciul [Mon, 31 Mar 2003 19:47:11 +0000 (19:47 +0000)]
- removed msg->repl_add_rm (msg->add_rm is used both for request & replies)

17 years ago- duplicate_parameters function added before_kill_repl_add_rm
Jan Janak [Mon, 31 Mar 2003 15:49:15 +0000 (15:49 +0000)]
- duplicate_parameters function added
- duplicate_rr function added

17 years agolocal 200/INVITE retransmitted now regardless of transport
Jiri Kuthan [Mon, 31 Mar 2003 14:41:55 +0000 (14:41 +0000)]
local 200/INVITE retransmitted now regardless of transport

17 years agocbp parameters introduced
Jiri Kuthan [Mon, 31 Mar 2003 14:11:15 +0000 (14:11 +0000)]
cbp parameters introduced

17 years ago- removed snmp relicts from core (main.c) v0_8_11_pre9
Andrei Pelinescu-Onciul [Mon, 31 Mar 2003 12:28:09 +0000 (12:28 +0000)]
- removed snmp relicts  from core (main.c)
- init_child is now called also for tcp receivers
- tcp: bind_address is properly set to the correct address family or 0 if not
  init.  (now bind_address will point to the first tcp ${AF} listen address --
  to fix someday)

17 years agoAdapted to use nameaddr.len
Jan Janak [Mon, 31 Mar 2003 11:01:54 +0000 (11:01 +0000)]
Adapted to use nameaddr.len

17 years agoTotat lenght of the structure added.
Jan Janak [Mon, 31 Mar 2003 10:27:36 +0000 (10:27 +0000)]
Totat lenght of the structure added.

17 years agoFixed bug reported by Jiri.
Jan Janak [Mon, 31 Mar 2003 09:38:19 +0000 (09:38 +0000)]
Fixed bug reported by Jiri.

17 years agotypo fixed.
Jan Janak [Sun, 30 Mar 2003 20:38:29 +0000 (20:38 +0000)]
typo fixed.

17 years agoparam type enum moved into the header file.
Jan Janak [Sun, 30 Mar 2003 20:33:29 +0000 (20:33 +0000)]
param type enum moved into the header file.