NEWS 78 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462
  1. Release notes for Kamailio/SIP Router (sr)
  2. ***********************************************
  3. Starting with release 3.2, release notes have
  4. been posted to the Kamailio website. Release
  5. notes for previous versions are posted below.
  6. For releases after 3.1, please visit:
  7. https://www.kamailio.org/wikidocs/features/new-in-5.2.x
  8. https://www.kamailio.org/wikidocs/features/new-in-5.1.x
  9. https://www.kamailio.org/wikidocs/features/new-in-5.0.x
  10. https://www.kamailio.org/wikidocs/features/new-in-4.4.x
  11. https://www.kamailio.org/wikidocs/features/new-in-4.3.x
  12. https://www.kamailio.org/wikidocs/features/new-in-4.2.x
  13. https://www.kamailio.org/wikidocs/features/new-in-4.1.x
  14. https://www.kamailio.org/wikidocs/features/new-in-4.0.x
  15. https://www.kamailio.org/wikidocs/features/new-in-3.3.x
  16. https://www.kamailio.org/wikidocs/features/new-in-3.2.x
  17. Earlier verisons are listed below.
  18. ===================================================
  19. sip-router 3.1 changes
  20. core:
  21. - Dragonfly BSD support
  22. - statistics / counters support for tcp and sctp (enable by default)
  23. - statistics / counters api
  24. - networks addresses support in ip comparisons (src_ip, dst_ip, to_ip)
  25. with strings or rvalue expressions.
  26. E.g.: $ip=10.0.0.0; if (src_ip == $ip +"/8") ....
  27. - lots of module functions automatically support now expressions or
  28. variables in function parameters. This applies to all the module
  29. functions declared without a fixup, with a fixup and the corresponding
  30. free_fixup function or with a compatible ser or kamailio style standard
  31. fixup (declared in sr_module.h or mod_fix.h).
  32. E.g.: f($a, "b = " + $b); t_set_fr($v + 2 + $x).
  33. t_set_fr($foo) (equivalent now with t_set_fr("$foo")).
  34. - all the module functions can now be called with any constant expression
  35. as parameters. E.g.: f("7 *" +" 6 = " + 7 * 6);
  36. - major performance increase on Linux multi-cpu machines that send a lot
  37. of UDP IPv4 packets (40-50% faster in stateless mode). For it to work
  38. udp4_raw must be enabled or set into auto mode in sr.cfg and sr must be
  39. started as root or with CAP_NET_RAW. Note that even if udp4_raw is
  40. off (default), if sr was started with enough privileges, it can be
  41. enabled at runtime.
  42. The support for using raw sockets is also available on FreeBSD (compiled
  43. by default but not tested for performance yet), NetBSD, OpenBSD and
  44. Darwin (not tested and not compiled by default, needs
  45. make cfg extra_defs=-DUSE_RAW_SOCKS). To check if the support is
  46. compiled, use ser -V |grep --color RAW_SOCKS or for a running
  47. ser: sercmd core.udp4_raw_info.
  48. See udp4_raw, udp4_raw_mtu and udp4_raw_ttl below.
  49. - asynchronous TLS support
  50. - onreply_route {...} is now equivalent with onreply_route[0] {...}
  51. - global, per protocol blacklist ignore masks (via extended send_flags).
  52. See dst_blacklist_udp_imask a.s.o (dst_blacklist_*_imask).
  53. - per message blacklist ignore masks
  54. - route() now supports rvalue expressions (e.g. route("test"+$i))
  55. - support for permanent entries in the DNS cache.
  56. new config variables:
  57. - udp4_raw - enables raw socket support for sending UDP IPv4 datagrams
  58. (40-50% performance increase on linux multi-cpu).
  59. Possible values: 0 - disabled (default), 1 - enabled, -1 auto.
  60. In "auto" mode it will be enabled if possible (sr started as root or
  61. with CAP_NET_RAW).
  62. udp4_raw can be used on Linux and FreeBSD. For other BSDs and Darwin
  63. one must compile with -DUSE_RAW_SOCKS.
  64. On Linux one should also set udp4_raw_mtu if the MTU on any network
  65. interface that could be used for sending is smaller than 1500.
  66. Can be set at runtime as long as sr was started with enough privileges
  67. (core.udp4_raw).
  68. - udp4_raw_mtu - MTU value used for UDP IPv4 packets when udp4_raw is
  69. enabled. It should be set to the minimum MTU of all the network
  70. interfaces that could be used for sending. The default value is 1500.
  71. Note that on BSDs it does not need to be set (if set it will be ignored,
  72. the proper MTU will be used automatically by the kernel). On Linux it
  73. should be set.
  74. Can be set at runtime (core.udp4_raw_mtu).
  75. - udp4_raw_ttl - TTL value used for UDP IPv4 packets when udp4_raw is
  76. enabled. By default it is set to auto mode (-1), meaning that the
  77. same TTL will be used as for normal UDP sockets.
  78. Can be set at runtime (core.udp4_raw_ttl).
  79. - dst_blacklist_udp_imask - global blacklist events ignore mask for udp
  80. (a blacklist event/reason set in this variable will be ignored when
  81. deciding whether or not to blacklist an udp destination). Can be set
  82. at runtime. Default: 0 (no blacklist reason is ignored).
  83. Possible values: 0 -disabled, 2 - send error; 4 - connect error,
  84. 8 - icmp (reserverd), 16 - transaction timeout,
  85. 32 - 503 received, 64 - administratively prohibited
  86. (manually set).
  87. - dst_blacklist_tcp_imask - like dst_blacklist_udp_imask, but for tcp.
  88. - dst_blacklist_tls_imask - like dst_blacklist_tls_imask, but for tcp.
  89. - dst_blacklist_sctp_imask -like dst_blacklist_sctp_imask, but for tcp.
  90. - dns_cache_rec_pref - DNS cache record preference:
  91. 0 - do not check duplicates (default)
  92. 1 - prefer old records
  93. 2 - prefer new records
  94. 3 - prefer records with longer lifetime
  95. modules:
  96. - counters: functions and RPCs for manipulating counters (statistics):
  97. modparam("counters", "script_counter", name)
  98. cnt_inc(name)
  99. cnt_add(name, val)
  100. cnt_reset(name)
  101. - blst: functions for ignoring blacklist events per message:
  102. blst_set_ignore(mask): set the events in mask in the per
  103. per message blacklist ignore mask for a request
  104. (see dst_blacklist_udp_imask for possible values).
  105. The basic operation is: msg_blst_ignore_mask|=mask.
  106. blst_clear_ignore(mask): like blst_set_ignore(mask), but instead
  107. of setting some events, it clears them
  108. (msg_blst_ignore_mask&=~mask).
  109. blst_rpl_set_ignore(mask): like blst_set_ignore(mask), but sets
  110. the mask for possible local replies to the current message.
  111. blst_rpl_clear_ignore(mask): like blst_rpl_ignore(mask), but
  112. clears instead of setting.
  113. - tls:
  114. certificate revocation list (CRL) support.
  115. asynchronous TLS support
  116. new TLS RPCs (tls.info, tls.options), tls.list more detailed.
  117. removed handshake_timeout and send_timeout module parameters /
  118. config variables. The values from tcp are used instead
  119. (tcp_connect_timeout and tcp_send_timeout).
  120. runtime config support
  121. more config options:
  122. crl - certificate revocation list file path (PEM format).
  123. send_close_notify - enables/disables sending close notify
  124. alerts prior to closing the corresponding TCP connection.
  125. Sending the close notify prior to tcp shutdown is "nicer"
  126. from a TLS point of view, but it has a measurable
  127. performance impact. Default: off. Can be set at runtime
  128. (tls.send_close_notify).
  129. con_ct_wq_max - per connection tls maximum clear text write
  130. queue size. The TLS clear-text write queues are used when a
  131. send attempt has to be delayed due to an on-going TLS level
  132. renegotiation. Can be set at runtime (tls.con_ct_wq_max).
  133. Default: 65536 (64 Kb).
  134. ct_wq_max - maximum total for all the tls clear text write
  135. queues (summed). Can be set at runtime (tls.ct_wq_max).
  136. Default: 10485760 (10 Mb).
  137. ct_wq_blk_size - internal TLS pre-write (clear-text) queue
  138. minimum block size (advance tunning or debugging).
  139. Can be set at runtime (tls.ct_wq_blk_size).
  140. Default: 4096 (4 Kb).
  141. verbose debug messages can be enable by re-compiling with
  142. -DTLS_RD_DEBUG (for the read path) and -DTLS_WR_DEBUG
  143. (for the write path).
  144. new options for better tuning memory usage for modern openssl
  145. versions: ssl_release_buffers (default 1), ssl_freelist_max_len
  146. (default 0), ssl_max_send_fragment, ssl_read_ahead (default 0).
  147. For more info see modules/doc/tls/README.
  148. compression is now disabled by default. To enable it set
  149. tls_disable_compression to 0, but note that memory usage will
  150. increase dramatically especially for large number of
  151. connections (>1000).
  152. tm:
  153. - reason header support (RFC3326) both for CANCELs generated due to a
  154. received final reply and for hop by hop CANCELs generated because of a
  155. received CANCEL.
  156. E.g.: reason header added for a CANCEL generated after a 200 reply was
  157. received on one of the branches "Reason: SIP;cause=200".
  158. The reason header support can be turned on/off using either tm
  159. module parameters or in the end to end CANCEL case also on a per
  160. transaction basis, using a script function:
  161. local_cancel_reason = 0 | 1 (default 1/on) - turns on adding reason
  162. headers for CANCELs generated due to a final reply. Can be changed
  163. at runtime.
  164. e2e_cancel_reason = 0 | 1 (default 1/on) - turns on copying reason
  165. headers from a received end to end CANCEL (the generated hop by hop
  166. CANCELs will have the same reason headers as the received CANCEL).
  167. Can be changed at runtime.
  168. t_set_no_e2e_cancel_reason(0|1) - enable/disable cancel reason
  169. header copying on a per transaction basis (0 - enable, 1 disable).
  170. - t_reply() can be used both from the main/core onreply_route{} and tm
  171. onreply_route[...]{}s.
  172. sip-router 3.0 changes
  173. core:
  174. - type casts operators: (int), (str).
  175. - new operators eq, ne for string compares and ieq, ine for interger
  176. compares. The names are not yet final (use them at your own risk).
  177. Future version might use ==/!= only for ints (ieq/ine) and eq/ne for
  178. strings (under debate).
  179. They are almost equivalent to == or !=, but they force the conversion
  180. of their operands (eq to string and ieq to int), allowing among other
  181. things better type checking on startup and more optimizations.
  182. Non equiv. examples: 0 == "" (true) is not equivalent to 0 eq ""
  183. (false: it evaluates to "0" eq ""). "a" ieq "b" (true: (int)"a" is 0
  184. and (int)"b" is 0) is not equivalent to "a" == "b" (false).
  185. Note: internally == and != are converted on startup to eq/ne/ieq/ine
  186. whenever possible (both operand types can be safely determined at
  187. start time and they are the same).
  188. - try to guess what the user wanted when operators that support multiple
  189. types are used on different typed operands. In general convert the
  190. the right operand to the type of the left operand and then perform the
  191. operation. Exception: the left operand is undef.
  192. This applies to the following operators: +, == and !=.
  193. Special case: undef as left operand:
  194. For +: undef + expr -> undef is converted to string => "" + expr.
  195. For == and !=: undef == expr -> undef is converted to type_of expr.
  196. If expr is undef, then undef == undef is true (internally is converted
  197. to string).
  198. - expression evaluation changes: auto-convert to interger or string
  199. in function of the operators:
  200. int(undef)==0, int("")==0, int("123")==123, int("abc")==0
  201. str(undef)=="", str(123)=="123".
  202. - new script operators: defined, strlen, strempty
  203. defined expr - returns true if expr is defined, and false if not.
  204. Note: only a standalone avp or pvar can be
  205. undefined, everything else is defined.
  206. strlen(expr) - returns the length of expr evaluated as string.
  207. strempty(expr) - returns true if expr evaluates to the empty
  208. string (equivalent to expr=="").
  209. e.g.: if (defined $v && !strempty($v)) $len=strlen($v);
  210. - msg:len max_len comparison obsoleted and removed (it did not make any
  211. sense, msg:len > max_len was always false, use something like
  212. 4096 or 16384 in its place).
  213. - module search path support: loadpath takes now a list of directories
  214. separated by ':'. The list is searched in-order. For each directory d
  215. $d/${module_name}.so and $d/${module_name}/${module_name}.so are tried.
  216. - dns TXT, EBL and PTR support (both cache and non-cached resolver)
  217. - support for dual module interfaces: ser and kamailio
  218. config script changes:
  219. - script mode can be switched between ser compatible, kamailio compatible
  220. and max compatibility (compatible with both as much as possible), using
  221. #!SER
  222. #!KAMAILIO
  223. #!OPENSER
  224. #!ALL
  225. #!MAXCOMPAT
  226. where #!KAMAILIO is equivalent with #!OPENSER and #!ALL with #!MAXCOMPAT
  227. - support for kamailio style pvars
  228. - C-like switch()/case (integer only)
  229. - while()
  230. - include file support: include_file "somefile"
  231. - event route support: event_route[module_name:eventid]
  232. - user and shm_force_alloc must now appear prior to any modparam() or route
  233. block.
  234. - per message send_flags support (see set_forward_no_connect(),
  235. set_forward_reply_no_connect(), set_forward_close() & set_reply_close())
  236. build system:
  237. - multiple modules directories are now supported (defined in Makefile.dirs)
  238. new config variables:
  239. - max_while_loops - maximum iterations allowed for a while (can be changed
  240. at runtime). Default 100.
  241. - log_name - set the application name used when printing to syslog.
  242. - mem_summary - memory debugging info logged on exit or on SIGUSR1.
  243. The value is a combination of flags: 0 - off,
  244. 1 - dump all used memory blocks and some statistics (lots of output),
  245. 2 - dump a summary of the used memory blocks (works only if
  246. compiled with DBG_QM_MALLOC or DBG_F_MALLOC).
  247. Default: 1.
  248. Can be changed at runtime.
  249. - shm = number or shm_mem = number - size of shared memory in MB. It's
  250. overwritten if a value is specified on the command line (-m val).
  251. Default: 32 Mb. Must appear prior to any modparam() or route block.
  252. new script commands:
  253. add_local_rport() - adds the rport parameter to the added via header
  254. (rfc3581).
  255. set_forward_no_connect() - the message will be forwarded only if there is
  256. already an existing connection to the destination (it applies only to
  257. connection oriented protocols like tcp, tls and in the future sctp).
  258. set_reply_no_connect() - like set_forward_no_connect(), but works for
  259. replies to the current message.
  260. set_forward_close() - try to close the connection after forwarding the
  261. current message (it applies only when the underlying protocol is
  262. connection oriented).
  263. set_reply_close() - like set_forward_close(), but it works for replies to
  264. the current message.
  265. tm:
  266. disable_6xx_block parameter - if set, will treat 6xx replies like normal
  267. replies (non rfc conformant). Default: off.
  268. See also t_set_disable_6xx().
  269. t_set_disable_6xx(0|1) - can be used to turn off/on the special 6xx handling
  270. on a per transaction basis.
  271. t_set_disable_failover(0|1) - can be used to turn off/on dns failover on a
  272. per transaction basis.
  273. 2.1.0 changes
  274. modules:
  275. - textops - functions:
  276. - remove_hf_re("regexp") -- filter message headers out
  277. by matching the header name field against a regular
  278. expression.
  279. - avp - export new selects table to allow dissecting the content of an
  280. attribute by interpreting it as a "name-addr" value
  281. - auth - experimental support for one-time nonces: when enabled a nonce
  282. will be accepted only for one response (each new request will
  283. be challenged). See one_time_nonce.
  284. - experimental support for nc checking when qop=auth
  285. (fast, non-locking implementation, see nonce_count,
  286. nc_array_size, nc_array_order and nid_pool_no)
  287. - switched to base64 nonces
  288. - record nonce generation time inside the nonce so that a
  289. received nonce can be checked against ser start time
  290. (if older => stale). This allows gracefully handling ser
  291. restarts with different auth configs.
  292. - added extra authentication checks support, to protect
  293. against various reply attacks.
  294. - params:
  295. - nonce_auth_max_drift - maximum difference in seconds
  296. from the current time, if a nonce appears to be
  297. created in the future (if exceeded the nonce is
  298. considered stale).
  299. - one_time_nonce - if enabled each nonce is allowed
  300. only once => each new request (including
  301. retransmissions!) will be challenged. It should be
  302. used only in stateful mode (so that tm deals with
  303. the retransmissions). The major disadvantage is that
  304. the UA won't be able to used any cached credentials
  305. (=> extra messages, extra round trips, more work for
  306. the proxy)
  307. - otn_in_flight_no - maximum number of in-flight nonces
  308. for one-time-nonces. It must be a number of the form
  309. 2^k (if not it will be automatically rounded down).
  310. The memory used will be otn_in_flight_no/8
  311. - otn_in_flight_order - like otn_in_flight_no, but
  312. instead of specifying the number as 2^k, it directly
  313. sets k (otn_in_flight_no=2^otn_in_flight_order)
  314. - nonce_count - if enabled and qop=auth or
  315. qop=auth-int, store and check received nc values
  316. (for details see rfc2617 and auth/doc). It should be
  317. used only in stateful mode (so that tm deals with
  318. the retransmissions which would otherwise be
  319. challenged). The major advantage is greatly
  320. enhanced security (extremely small probability of
  321. a successful replay attack) combine with support
  322. for cached credentials (if the UAs do support qop
  323. and auth)
  324. - nc_array_size - size of the array used for storing
  325. nc values, default 1Mb. It will be rounded down to
  326. a 2^k value. It represents the maximum number of
  327. in-flight nonces supported
  328. - nc_array_order - equivalent to nc_array_size, but
  329. instead of specifying the size in bytes, it can
  330. be used to directly set the power of 2 used
  331. (nc_array_size=2^nc_array_order)
  332. - nid_pool_no - number of nc and one-time-nonce array
  333. and index partitions, useful for increasing
  334. performance on multi-cpu systems (default 1,
  335. recommended 4)
  336. - auth_checks_register, auth_checks_no_dlg,
  337. auth_checks_in_dlg - flags specifying which extra
  338. message part/parts will be checked for change before
  339. allowing nonce reuse. See the auth module docs for
  340. for more information (modules/auth/README).
  341. - blst - new module containing script blacklist manipulations functions
  342. (the source of a message can be blacklisted, removed from the
  343. blacklist or checked for presence in the blacklist).
  344. - tm - added API function t_get_canceled_ident(): returns the hash
  345. coordinates (bucket/index) of the transaction the currently
  346. processed CANCEL is targeting. Requires AS support enabled.
  347. - added API function ack_local_uac(): allow generating the ACKs
  348. for 2xx'ed locally originated INVITEs - new headers and body can
  349. now also be appended to it. Requires AS support enabled.
  350. - matching of E2E ACKs no longer requires full From HF identity,
  351. but rather only tag equality (this behaviour can be changed by
  352. defining TM_E2E_ACK_CHECK_FROM_URI)
  353. - added t_reset_fr(), t_reset_retr(), t_reset_max_lifetime()
  354. - t_relay_to renamed to t_relay_to_avp (undocumented function)
  355. - t_relay() can now also take host and port parameters (e.g.
  356. t_relay(host, port)), behaving like a statefull
  357. forward(host, port) version (forward to host:port using the same
  358. protocol on which the message was received)
  359. - t_relay_to_udp(), t_relay_to_tcp() and t_relay_to_tls() work
  360. now even with no parameters: in this case the message is
  361. forwarded using the request uri, but with the specified protocol
  362. (equivalent to a t_relay() with a forced protocol)
  363. - method for canceling unreplied branches can now be selected
  364. using the new cancel_b_method tm parameter.
  365. - support for adding a 503 reply source to the blacklist for
  366. the time specified in the Retry-After header (see the new tm
  367. parameters blst_503, blst_503_def_timeout, blst_503_min_timeout
  368. and blst_503_max_timeout).
  369. - different error replies for too many branches (500 but with
  370. different text), resolve error (478) or send error
  371. (477).
  372. - tm can be configured not to automatically send 100 replies
  373. for invites either globally (see the auto_inv_100 parameter)
  374. or on a per transaction basis (see t_set_auto_inv_100(...))
  375. - t_relay* error reply are delayed till the end of the script
  376. to allow the script writer to overwrite them
  377. - branches are always canceled hop by hop
  378. - cancels for silently canceled branches (no replies ever
  379. received) are automatically generated if later a provisional
  380. reply arrives on such a branch
  381. - noisy_ctimer is now 1 (on) by default
  382. - added maximum transaction lifetime - a transaction is not
  383. allowed to be active longer than this interval. See
  384. t_set_max_lifetime(), max_inv_lifetime and max_noninv_lifetime.
  385. - support for changing the retransmission intervals on the fly,
  386. on a per transaction basis (it is enabled if tm is compiled
  387. with -DTM_DIFF_RT_TIMEOUT -- default): t_set_retr(t1, t2).
  388. - transaction are deleted the moment they are not referenced
  389. anymore (removed the need for the delete timer) -- this
  390. should improve memory usage on very busy proxies.
  391. - lots of callbacks added
  392. - new onsend callbacks support (require defining TMCB_ONSEND prior
  393. to compiling tm)
  394. - behaviour when receiving a CANCEL which doesn't match any
  395. transaction can be selected using the unmatched_cancel param.
  396. - params:
  397. - cancel_b_method - selects one of the three methods
  398. for dealing with unreplied branches when the
  399. transaction must be canceled. The possible values
  400. are 0 (old behaviour) for stopping request
  401. retransmission on the branch and act as if
  402. the branch was immediately replied with a 487,
  403. 1 for continuing to retransmit the request until an
  404. answer is received or the timeout kicks in (default)
  405. and
  406. 2 for stopping the request retransmission and sending
  407. CANCEL on the branch (not rfc conforming).
  408. For more information see tm docs.
  409. - blst_503 - if set and if the blacklist is used
  410. (use_dst_blacklist=1), add the source of a 503 reply
  411. to the blacklist
  412. - blst_503_def_timeout - if the Retry-After header from
  413. a 503 reply is missing, use this value for the
  414. blacklist timeout (in s). Depends on blst_503.
  415. The default value is 0 ( do not blacklist if no
  416. Retry-After is present).
  417. - blst_503_min_timeot (in s) - if the 503 reply
  418. Retry-After header value is less, use this value
  419. for the blacklist timeout. Depends on blst_503.
  420. The default value is 0.
  421. - blst_503_max_timeout (in s) - if the 503 reply
  422. Retry-After header value is greater, use this value
  423. instead. Depends on blst_503.
  424. The default value is 3600 s.
  425. - auto_inv_100 - if set (default) tm will automatically
  426. send an 100 reply to INVITEs (see also
  427. t_set_auto_inv_100())
  428. - noisy_ctimer is now 1 by default
  429. - max_inv_lifetime & max_noninv_lifetime - default
  430. maximum lifetimes for an invite or non-invite
  431. transaction. After this interval has passed from
  432. the transaction creation the transaction will be
  433. either switched into the wait state or in the
  434. final response retransmission state => a transaction
  435. will be kept in memory for maximum:
  436. max_*inv_lifetime + fr_timer /*ack w.*/ +wait_timer.
  437. - unmatched_cancel - selects between forwarding cancels
  438. that do not match any transaction statefully (0,
  439. default value), statelessly (1) or dropping them
  440. (2). Note that the statefull forwarding has an
  441. additional hidden advantage: tm will be able to
  442. recognize INVITEs that arrive after their CANCEL.
  443. Note also that this feature could be used to try
  444. a memory exhaustion DOS attack against a proxy that
  445. authenticates all requests, by continuously flooding
  446. the victim with CANCELs to random destinations
  447. (since the CANCEL cannot be authenticated, each
  448. received bogus CANCEL will create a new transaction
  449. that will live by default 30s).
  450. - functions:
  451. - t_reset_fr() -- resets the current transaction
  452. fr_inv_timer and fr_timer to the default values
  453. (set via the tm modparams fr_inv_timer and fr_timer).
  454. - t_reset_retr() -- resets the current transaction
  455. retransmission intervals on the fly, to the default
  456. values (set via the tm modparams retr_timer1 and
  457. retr_timer2).
  458. - t_reset_max_lifetime() -- resets the current
  459. transaction maximum lifetime to the default value
  460. (set via the tm modparam max_inv_lifetime or
  461. max_noninv_lifetime).
  462. - t_grep_status("code") -- returns true if any branch
  463. received code as the final reply (or if no final
  464. reply was yet received, but a "code" provisional
  465. reply).
  466. - t_set_auto_inv_100(on/off) - switch automatically
  467. sending 100 replies to INVITEs on/off on a per
  468. transaction basis. It overrides the tm param.
  469. auto_inv_100.
  470. - t_set_max_lifetime(inv, noninv) - changes the
  471. maximum transaction lifetime on the fly, for the
  472. current or next to be created transaction.
  473. - t_set_retr(t1, t2) - changes the retransmissions
  474. intervals on the fly, on a per transaction basis.
  475. core:
  476. - most tcp config vars migrated to the dynamic config framework
  477. (can be changed at runtime, e.g.
  478. sercmd cfg.set_now_int tcp connection_lifetime 180 )
  479. - fallback to tcp or other congestion controlled transport
  480. protocol if a forwarded udp sip request is greater than
  481. udp_mtu (config). Default off. See udp_mtu and
  482. udp_mtu_try_proto.
  483. - sctp support (one-to-many, work in progress, for now linux
  484. and freebsd only)
  485. - partial cygwin (windows) support revived: core+static modules,
  486. no ipv6, no tcp, no dynamic modules
  487. - most of the config variables can now be changed on the fly,
  488. without ser restart (migration work in progress)
  489. - tcp improvements (better tcp timers, send fd cache, special
  490. options support)
  491. - dns naptr support (see dns_try_naptr and dns_<proto>_pref)
  492. - dns srv based load balancing support (see dns_srv_lb)
  493. - support for locking ser's pages in memory, pre-mapping
  494. all the shared memory on startup (fill it with 0)
  495. - real time options
  496. - devel: new PROC_INIT rank, init_child(PROC_INIT) called first
  497. - futex support on linux (better behaviour when waiting on
  498. long held locks, almost no performance impact otherwise)
  499. - when dns search list was used for resolution, store the "link"
  500. between the short name and long name in cache as CNAME record
  501. new config variables:
  502. tcp_rd_buf_size = buffer size used for tcp reads.
  503. A high buffer size increases performance on server with few
  504. connections and lot of traffic on them, but also increases
  505. memory consumption (so for lots of connection is better
  506. to use a low value). Note also that this value limits the
  507. maximum datagram size that can be received over tcp.
  508. Default: 4096, can be changed at runtime.
  509. tcp_wq_blk_size = block size used for tcp async writes. It should be big
  510. enough to hold a few datagrams. If it's smaller than a
  511. datagram (in fact a tcp write()) size, it will be rounded
  512. up. It has no influenced on the number of datagrams
  513. queued (for that see tcp_conn_wq_max or tcp_wq_max).
  514. It has mostly debugging and testing value (can be ignored).
  515. Default: 2100 (~ 2 INVITEs), can be changed at runtime.
  516. tcp_no_connect = yes/no - disable connects, ser will only accept new
  517. connections, it will never try to open new ones.
  518. Default: no, can be changed at runtime.
  519. udp_mtu = number - fallback to another protocol (udp_mtu_try_proto must be
  520. set also either globally or per packet) if the constructed
  521. request size is greater than udp_mtu.
  522. Recommended size: 1300. Default: 0 (off).
  523. udp_mtu_try_proto = TCP|TLS|SCTP|UDP - if udp_mtu !=0 and udp forwarded
  524. request size (after adding all the "local" headers) >
  525. udp_mtu, use this protocol instead of udp. Only the
  526. Via header will be updated (e.g. The Record-Route
  527. will be the one built for udp).
  528. Default: UDP (off). Recommended: TCP.
  529. force_rport =yes/no - like force_rport(), but works globally.
  530. disable_sctp = yes/no - disable sctp support (default auto, see enable_sctp)
  531. enable_sctp = 0/1/2 - disable (0)/enable (1)/auto (2) sctp support,
  532. default auto (2)
  533. sctp_children = number - sctp children no (similar to udp children)
  534. sctp_socket_rcvbuf = number - size for the sctp socket receive buffer
  535. sctp_socket_sndbuf = number - size for the sctp socket send buffer
  536. sctp_autoclose = seconds - number of seconds before autoclosing an idle
  537. association (default: 180 s).
  538. Can be changed at runtime, but it will affect only new
  539. associations. E.g.:
  540. $ sercmd cfg.set_now_int sctp autoclose 120
  541. sctp_send_ttl = milliseconds - number of milliseconds before an unsent
  542. message/chunk is dropped (default: 32000 ms or 32 s).
  543. Can be changed at runtime, e.g.:
  544. $ sercmd cfg.set_now_int sctp send_ttl 180000
  545. sctp_send_retries - how many times to attempt re-sending a message on a
  546. re-opened association, if the sctp stack did give up
  547. sending it (it's not related to sctp protocol level
  548. retransmission). Useful to improve reliability with
  549. peers that reboot/restart or fail over to another
  550. machine. WARNING: use with care and low values (e.g.
  551. 1-3) to avoid "multiplying" traffic to unresponding
  552. hosts (default: 0).
  553. Can be changed at runtime.
  554. sctp_assoc_tracking = yes/no - controls whether or not sctp associations
  555. are tracked inside ser/sip-router. Turning it off would result in
  556. less memory being used and slightly better performance, but it will also
  557. disable some other features that depend on it (e.g. sctp_assoc_reuse).
  558. Default: yes.
  559. Can be changed at runtime (sercmd sctp assoc_tracking 0), but changes
  560. will be allowed only if all the other features that depend on it are
  561. turned off (for example it can be turned off only if first
  562. sctp_assoc_reuse was turned off).
  563. Note: turning sctp_assoc_tracking on/off will delete all the tracking
  564. information for all the currently tracked associations and might introduce
  565. a small temporary delay in the sctp processing if lots of associations
  566. were tracked.
  567. Config options depending on sctp_assoc_tracking being on:
  568. sctp_assoc_reuse.
  569. sctp_assoc_reuse = yes/no - controls sctp association reuse. For now only
  570. association reuse for replies is affected by it. Default: yes.
  571. Depends on sctp_assoc_tracking being on.
  572. Note that even if turned off, if the port in via corresponds to the
  573. source port of the association the request was sent on or if rport is
  574. turned on (force_rport() or via containing a rport option), the
  575. association will be automatically reused by the sctp stack.
  576. Can be changed at runtime (sctp assoc_reuse), but it can be turned on
  577. only if sctp_assoc_tracking is on.
  578. sctp_max_assocs = number - maximum number of allowed open sctp associations.
  579. -1 means maximum allowed by the OS. Default: -1.
  580. Can be changed at runtime (e.g.:
  581. sercmd cfg.set_now_int sctp max_assocs 10 ).
  582. When the maximum associations number is exceeded and a new associations
  583. is opened by a remote host, the association will be immediately closed.
  584. However it is possible that some sip packets get through (especially if
  585. they are sent early, as part of the 4-way handshake).
  586. When ser/sip-router tries to open a new association and the max_assocs
  587. is exceeded the exact behaviour depends on whether or not
  588. sctp_assoc_tracking is on. If on, the send triggering the active open
  589. will gracefully fail, before actually opening the new association and no
  590. packet will be sent. However if sctp_assoc_tracking is off, the
  591. association will first be opened and then immediately closed. In general
  592. this means that the initial sip packet will be sent (as part of the 4-way
  593. handshake).
  594. sctp_srto_initial = milliseconds - initial value of the retr. timeout, used
  595. in RTO calculations (default: OS specific).
  596. Can be changed at runtime (sctp srto_initial) but it will affect only new
  597. associations.
  598. sctp_srto_max = milliseconds - maximum value of the retransmission timeout
  599. (RTO) (default: OS specific).
  600. WARNING: values lower than the sctp sack_delay will cause lots of
  601. retransmissions and connection instability (see sctp_srto_min for more
  602. details).
  603. Can be changed at runtime (sctp srto_max) but it will affect only new
  604. associations.
  605. sctp_srto_min = milliseconds - minimum value of the retransmission timeout
  606. (RTO) (default: OS specific).
  607. WARNING: values lower than the sctp sack_delay of any peer might cause
  608. retransmissions and possible interoperability problems. According to the
  609. standard the sack_delay should be between 200 and 500 ms, so avoid trying
  610. values lower than 500 ms unless you control all the possible sctp peers
  611. and you do make sure their sack_delay is higher or their sack_freq is 1.
  612. Can be changed at runtime (sctp srto_min) but it will affect only new
  613. associations.
  614. sctp_asocmaxrxt = number - maximum retransmissions attempts per association
  615. (default: OS specific). It should be set to sctp_pathmaxrxt * no. of
  616. expected paths.
  617. Can be changed at runtime (sctp asocmaxrxt) but it will affect only new
  618. associations.
  619. sctp_init_max_attempts = number - maximum INIT retransmission attempts
  620. (default: OS specific).
  621. Can be changed at runtime (sctp init_max_attempts).
  622. sctp_init_max_timeo = milliseconds - maximum INIT retransmission timeout (RTO
  623. max for INIT). Default: OS specific.
  624. Can be changed at runtime (sctp init_max_timeo).
  625. sctp_hbinterval = milliseconds - sctp heartbeat interval. Setting it to -1
  626. will disable the heartbeats. Default: OS specific.
  627. Can be changed at runtime (sctp hbinterval) but it will affect only new
  628. associations.
  629. sctp_pathmaxrxt = number - maximum retransmission attempts per path (see also
  630. sctp_asocmaxrxt). Default: OS specific.
  631. Can be changed at runtime (sctp pathmaxrxt) but it will affect only new
  632. associations.
  633. sctp_sack_delay = milliseconds - delay until an ACK is generated after
  634. receiving a packet. Default: OS specific.
  635. WARNING: a value higher than srto_min can cause a lot of retransmissions
  636. (and strange problems). A value higher than srto_max will result in very
  637. high connections instability. According to the standard the sack_delay
  638. value should be between 200 and 500 ms.
  639. Can be changed at runtime (sctp sack_delay) but it will affect only new
  640. associations.
  641. sctp_sack_freq = number - number of packets received before an ACK is sent
  642. (without waiting for the sack_delay to expire). Default: OS specific.
  643. Note: on linux with lksctp up to and including 1.0.9 is not possible to
  644. set this value (having it in the config will produce a warning on
  645. startup).
  646. Can be changed at runtime (sctp sack_freq) but it will affect only new
  647. associations.
  648. sctp_max_burst = number - maximum burst of packets that can be emitted by an
  649. association. Default: OS specific.
  650. Can be changed at runtime (sctp max_burst) but it will affect only new
  651. associations.
  652. server_id = number - A configurable unique server id that can be used to
  653. discriminate server instances within a cluster of
  654. servers when all other information, such as IP addresses
  655. are the same.
  656. loadpath = <modules path> - directory where to load the modules from (-L
  657. equivalent); modules can be loaded simply by specifying their name
  658. (loadmodule "maxfwd")
  659. tcp_fd_cache = yes | no (default yes) - if enabled FDs used for sending
  660. will be cached inside the process calling tcp_send (performance increase
  661. for sending over tcp at the cost of slightly slower connection closing and
  662. extra FDs kept open)
  663. tcp_async = yes | no (default yes) - if enabled all the tcp writes that
  664. would block / wait for connect to finish, will be queued and attempted
  665. latter (see also tcp_conn_wq_max and tcp_wq_max).
  666. tcp_buf_write = obsoleted synonim for tcp_async
  667. tcp_conn_wq_max = bytes (default 32 K) - maximum bytes queued for write
  668. allowed per connection. Attempting to queue more bytes would result
  669. in an error and in the connection being closed (too slow). If
  670. tcp_write_buf is not enabled, it has no effect.
  671. tcp_wq_max = bytes (default 10 Mb) - maximum bytes queued for write allowed
  672. globally. It has no effect if tcp_write_buf is not enabled.
  673. tcp_defer_accept = yes | no (default no) on freebsd / number of seconds
  674. before timeout on linux (default disabled) - tcp accepts will be
  675. delayed until some data is received (improves performance on proxies
  676. with lots of opened tcp connections). See linux tcp(7) TCP_DEFER_ACCEPT
  677. or freebsd ACCF_DATA(0). For now linux and freebsd only.
  678. WARNING: the linux TCP_DEFER_ACCEPT is buggy (<=2.6.23) and doesn't
  679. work exactly as expected (if no data is received it will retransmit
  680. syn acks for ~ 190 s, irrespective of the set timeout and then it will
  681. silently drop the connection without sending a RST or FIN). Try to
  682. use it together with tcp_syncnt (this way the number of retrans.
  683. SYNACKs can be limited => the timeout can be controlled in some way).
  684. tcp_delayed_ack = yes | no (default yes when supported) - initial ACK for
  685. opened connections will be delayed and sent with the first data
  686. segment (see linux tcp(7) TCP_QUICKACK). For now linux only.
  687. tcp_syncnt = number of syn retr. (default not set) - number of SYN
  688. retransmissions before aborting a connect attempt (see linux tcp(7)
  689. TCP_SYNCNT). Linux only.
  690. tcp_linger2 = seconds (not set by default) - lifetime of orphaned sockets
  691. in FIN_WAIT2 state (overrides tcp_fin_timeout on, see linux tcp(7)
  692. TCP_LINGER2). Linux only.
  693. tcp_keepalive = yes | no (default yes) - enables keepalive for tcp.
  694. tcp_keepidle = seconds (not set by default) - time before starting to send
  695. keepalives, if the connection is idle. Linux only.
  696. tcp_keepintvl = seconds (not set by default) - time interval between
  697. keepalive probes, when the previous probe failed. Linux only.
  698. tcp_keepcnt = number (not set by default) - number of keepalives sent before
  699. dropping the connection. Linux only.
  700. tcp_crlf_ping = yes | no (set by default) - enable CRLF keepalives aka
  701. SIP outbound.
  702. pmtu_discovery = 0 | 1 (default 0) - set DF bit in outbound IP if enabled
  703. dns_srv_lb = yes | no (default no) - enable dns srv weight based load
  704. balancing (see doc/dns.txt)
  705. dns_try_naptr = yes | no (default no) - enable naptr support
  706. (see doc/dns.txt for more info)
  707. dns_{udp,tcp,tls,sctp}_pref = number - ser preference for each protocol
  708. when doing naptr lookups. By default dns_udp_pref=30, dns_tcp_pref=20,
  709. dns_tls_pref=10 and dns_sctp_pref=20. To use the remote site preferences
  710. set all dns_*_pref to the same positive value (e.g. dns_udp_pref=1,
  711. dns_tcp_pref=1, dns_tls_pref=1, dns_sctp_pref=1). To completely ignore
  712. NAPTR records for a specific protocol, set the corresponding protocol
  713. preference to -1 (or any other negative number). (see doc/dns.txt for
  714. more info)
  715. dns_search_full_match = yes | no (default yes) - when name was resolved
  716. using dns search list, check the domain added in the answer matches with
  717. one from the search list (small performance hit, but more safe)
  718. mlock_pages = yes |no (default no) - locks all ser pages into memory making
  719. it unswappable (in general one doesn't want his sip proxy swapped out :-))
  720. shm_force_alloc = yes | no (default no) - tries to pre-fault all the
  721. shared memory, before starting. When on start time will increase, but
  722. combined with mlock_pages will guarantee ser will get all its memory from
  723. the beginning (no more kswapd slow downs)
  724. real_time = <int> (flags) (default off). - sets real time priority
  725. for all the ser processes, or the timers.
  726. Possible values: 0 - off
  727. 1 - the "fast" timer
  728. 2 - the "slow" timer
  729. 4 - all processes, except the timers
  730. Example: real_time= 7 => everything switched to real time priority.
  731. rt_prio = <int> (default 0) - real time priority used for everything except
  732. the timers, if real_time is enabled
  733. rt_policy= <0..3> (default 0)- real time scheduling policy, 0 = SCHED_OTHER,
  734. 1= SCHED_RR and 2=SCHED_FIFO
  735. rt_timer1_prio=<int> (default 0) - like rt_prio but for the "fast" timer
  736. process (if real_time & 1)
  737. rt_timer1_policy=<0..3> (default 0) - like rt_policy but for the "fast" timer
  738. rt_timer2_prio=<int> (default 0) - like rt_prio but for the "slow" timer
  739. rt_timer2_policy=<0..3> (default 0) - like rt_policy but for the "slow" timer
  740. tcp_source_ipv4 = IPv4 address
  741. tcp_source_ipv6 = IPv6 address
  742. Set the given source IP for all outbound TCP connections.
  743. If setting the IP fails the TCP connection will use the default.
  744. dns_cache_init = on | off (default on) - if off, the dns cache is not
  745. initialized at startup and cannot be enabled runtime, that saves some
  746. memory.
  747. dst_blacklist_init = on | off (default on) - if off, the blacklist
  748. is not initialized at startup and cannot be enabled runtime,
  749. that saves some memory.
  750. new script commands:
  751. udp_mtu_try_proto(TCP|TLS|SCTP|UDP) - same as udp_mtu_try_proto=... (see
  752. above), but works per packet and not globally.
  753. build system:
  754. - check defines and includes used at compile time and if different
  755. force rebuilding everything in the current dir (creates a new file:
  756. makecfg.lst that stores the compile defines & includes used at compile
  757. time)
  758. - make cfg / config support: store the build config in an autogenerated file
  759. (config.mak) and use it for future compiles (e.g.:
  760. make cfg include_modules=mysql skip_modules=print CPU=pentium-m; make all).
  761. Main advantages are easier usage and faster builds (e.g. make proper is
  762. +16 times faster, make clean ~9 times, make with previously generated
  763. config is 2.6 times faster and a make that has nothing to do is ~9 times
  764. faster).
  765. 2.0.0 changes
  766. new archs:
  767. modules:
  768. - tls - new module that enables tls support (set enable_tls=yes
  769. in the config file and load the tls module)
  770. - ctl - new fifo/unixsocket/xmlrpc like module, using a space
  771. efficient binary encoding for the requests.
  772. It supports multiple clients on tcp, udp, unix stream or
  773. unix datagram modes. By default (no modparams) it opens
  774. one unix stream control socket in /tmp/ser_ctl.
  775. It also includes extended fifo support: multiple fifos,
  776. fifo over tcp, udp and unix sockets (see ctl/ctl.cfg).
  777. Use utils/sercmd/sercmd to send commands to it.
  778. - dispatcher - added hashing after request uri and to uri
  779. - added a new flag parameter which can be used (for now) to
  780. select only the username or the username, host and port when
  781. hashing after an uri (to, from or request uri)
  782. - improved uri hashing (password is ignored, port is used only
  783. if != 5060 or 5061)
  784. - tm - aggregate challenges (WWW/Proxy-Authenticate) from all the
  785. 401 & 407 if the final reply is a 401/407. To turn this off
  786. and fall back to the old behaviour set tm aggregate_challenges
  787. parameter to 0.
  788. - if a relayed 503 is the final reply, replace it by a 500
  789. - if a 503 reply is received try the dns based failover
  790. (forward to another ip if the original destination uri
  791. resolved to several SRV, A or AAAA records)
  792. - on 6xx immediately cancel all the branches for which a
  793. provisional response was received and wait for all the
  794. branches to finish (either timeout, the 487 from the CANCEL
  795. or a final response still on the wire in the moment the
  796. CANCEL was sent)
  797. - better final reply selection: 6xx is preferred over other
  798. negative replies; from several 4xx prefer 401, 407, 415, 420,
  799. 484 (in this order). For all the other cases, return the lowest
  800. code (as before)
  801. - special functions for checking for timeout, if a reply was
  802. received or if the current transaction was canceled
  803. - dns failover and dst blacklist support
  804. - migrated to the new timers (tm timers completely rewritten)
  805. - improved speed and less memory usage
  806. - much more precise retransmissions timing
  807. - params: - retr_timer1p1, retr_timer1p2, retr_timer1p3 removed
  808. and replaced by retr_timer1 and retr_timer2
  809. - all timer values are now expressed in milliseconds
  810. (they were in seconds before).
  811. Affected params: fr_timer, fr_inv_timer, wt_timer,
  812. delete_timer, retr_timer1, retr_timer2
  813. - retr_timer1 (first retransmission) changed to 500 ms
  814. - delete_timer changed to 200 ms
  815. - unix_tx_timeout expressed now in milliseconds; default
  816. value changed to 500 ms
  817. - functions:
  818. - t_branch_timeout() -- returns true if the failure
  819. route is executed for a branch that did timeout
  820. (failure_route only).
  821. - t_branch_replied() -- returns true if the failure
  822. route is executed for a branch that did receive at
  823. least one reply in the past (the current reply
  824. is not taken into account). It can be used
  825. together with t_branch_timeout() to distinguish
  826. between a remote side that doesn't respond (some
  827. provisional reply received) and one that is completely
  828. dead. (failure_route only)
  829. - t_any_timeout() -- returns true if any of the current
  830. transaction branches did timeout.
  831. - t_any_replied() -- returns true if at least one branch
  832. of the current transaction received one reply in the
  833. past. If called from a failure_route or an
  834. onreply_route, the "current" reply is not taken into
  835. account.
  836. - t_is_canceled() -- returns true if the current
  837. transaction has been canceled.
  838. - new t_set_fr(timeout_fr_inv, timeout_fr) -- allows
  839. changing the transaction timer from script, even if
  840. the transaction was already created (see tm docs for
  841. more).
  842. - t_relay will not stop script execution anymore in case of
  843. send error
  844. - textops - search() can be used in the onsend_route where it will search
  845. on the "new" message (after applying all script changes, adding
  846. Vias a.s.o) and not on the original message
  847. core:
  848. - compiled by default with tls hooks support (so that no recompile is
  849. needed before loading the tls module and enabling the tls support)
  850. - enable_tls config option added (the reverse of disable_tls)
  851. - added STUN keep-alive functionality in accordance with
  852. draft-ietf-behave-rfc3489bis-04.txt
  853. - dns cache and dns failover support added (see doc/dns.txt)
  854. - destination blacklist added -- destinations to which forwarding fails
  855. (send error, tm timeout a.s.o) are temporarily added to a blacklist which
  856. is consulted before each send => faster send error detection
  857. in the near future (see doc/dst_blacklist.txt)
  858. - default log level switched to 0 (only messages < L_WARN will be printed
  859. by default)
  860. - separate memdbg log level which controls the memory/malloc related
  861. debug messages (to see them ser must be compiled with malloc debugging:
  862. -DDBG_QM_MALLOC or -DDBG_FM_MALLOC and memdbg must be <= debug )
  863. - added named routes: names can be used instead of numbers in all the
  864. route commads or route declarations. route(number) is equivalent to
  865. route("number").
  866. Example:
  867. route("test");
  868. route["test"]{
  869. ...
  870. }
  871. - added named flags, declared at the beginning of the config file with:
  872. flags flag1_name[:position], flag2_name ...
  873. Example:
  874. flags test, a:1, b:2 ;
  875. route{
  876. setflag(test);
  877. if (isflagset(a)){ # equiv. to isflagset(1)
  878. ....
  879. }
  880. resetflag(b); # equiv. to resetflag(2)
  881. - added return [val] which returns from a route. if no value is specified, or
  882. a route reaches its end without executing a return statement, it returns 1.
  883. If return is used in the top level route is equivalent with exit [val].
  884. - drop /exit [n] now will end the script execution
  885. exit n will exit with code n (useful in onreply/onsend routes where
  886. if script code !=0 a reply is generated/the message is sent or to force
  887. script errors)
  888. - added $? which can be used to check the return code of the last executed
  889. route{} (e.g. route(1); if ($?==1){ /* ... */}else if ($?==2) ... )
  890. - onsend_route added: special route executed before a request is sent.
  891. Only a limited number of commands are allowed (drop, if
  892. + all the checks, msg flag manipulations, send(), log(),
  893. textops::search()). In this route the final destination
  894. of the message is available and can be checked (with
  895. snd_ip, snd_port, to_ip, to_port, snd_proto, snd_af).
  896. This route is executed only when forwarding requests.
  897. It's not executed for replies, retransmissions, or
  898. locally generated messages (e.g. via fifo uac).
  899. short example:
  900. onsend_route{ if(to_ip==1.2.3.4 && !isflagset(12)){
  901. log(1, "message blocked\n");
  902. drop;
  903. }
  904. }
  905. - onsend_route specific checks:
  906. - snd_ip, snd_port - behave like src_ip/src_port, but contain the
  907. ip/port ser will use to send the message
  908. - to_ip, to_port - like above, but contain the ip/port the message will
  909. be sent to (not to be confused with dst_ip/dst-port, which are the
  910. destination of the original message: ser's ip and port on which the
  911. message was received)
  912. - snd_proto, snd_af - behave like proto/af but contain the
  913. protocol/address family that ser will use to send the message
  914. - msg:len - when used in an onsend_route, msg:len will contain the length
  915. of the message on the wire (after all the changes in the script are
  916. applied, Vias are added a.s.o) and not the lentgh of the original
  917. message
  918. - timer: - improved performance/precision, new api, see doc/timers.txt
  919. - tcp: - improved performance (io event handling), using OS specific
  920. optimizations
  921. - 1024 connections limit removed (see tcp_max_connections)
  922. - resolver: - timeouts, retries a.s.o can now be set from ser.cfg
  923. (see below dns_* and man resolv.conf(6)).
  924. The maximum time a dns request can take (before failing) is:
  925. (dns_retr_time*dns_retr_no)*(search_list_domains)
  926. If dns_try_ipv6 is yes, multiply it again by 2.
  927. The fastest possible dns config (max 1s):
  928. dns_try_ipv6=no
  929. dns_retr_time=1
  930. dns_retr_no=1
  931. dns_use_search_list=no
  932. - default on reply route added: onreply_route {.. } will add a default
  933. onreply route that will be executed for any reply (useful to catch
  934. replies without using tm)
  935. - branch_routes added (tm triggered), only a very limited number of commands
  936. are available (see tm docs)
  937. - avps directly accessible from script with %avp_name (variable style)
  938. new config variables:
  939. enable_tls/disable_tls = enable/disable tls support, default disable.
  940. Note: a tls "engine" is still needed (e.g. the tls module must
  941. be loaded, enable_tls by itself is not enough).
  942. exit_timeout = seconds - how much time ser will wait for all the shutdown
  943. procedures to complete. If this time is exceeded, all the remaining
  944. processes are immediately killed and ser exits immediately (it might
  945. also generate a core dump if the cleanup part takes too long).
  946. Default: 60 s. Use 0 to disable.
  947. stun_refresh_interval = number in millisecond (default 0); value for
  948. attribute REFRESH INTERVAL
  949. stun_allow_stun = 0 | 1 (off | on - default 1); use STUN or not if compiled
  950. stun_allow_fp = 0 | 1 (off | on - default 1); use FINGERPRINT attribute
  951. use_dns_cache = on | off (default on)
  952. use_dns_failover = on | off (default off)
  953. dns_cache_flags = number (default 0)
  954. dns_cache_negative_ttl = number in seconds (default 60)
  955. dns_cache_min_ttl = time in seconds (default 0)
  956. dns_cache_max_ttl = time in seconds (default MAXINT)
  957. dns_cache_mem = maximum memory used for the dns cache in Kb (default 500 K)
  958. dns_cache_gc_interval = interval in seconds after which the dns cache is
  959. garbage collected (default: 120 s)
  960. use_dst_blacklist = on | off (default off)
  961. dst_blacklist_expire = time in s (default 60)
  962. dst_blacklist_mem = maximum memory used for the blacklist in Kb (default 250
  963. K)
  964. dst_blacklist_gc_interval = interval in seconds after which the destination
  965. blacklist is garbage collected (default 60)
  966. tos = number - ip type of service (TOS) value
  967. dns_try_ipv6 = yes/no - if yes and a dns lookup fails, it will retry it
  968. for ipv6 (AAAA record). Default: yes
  969. dns_retr_time = time - time in s before retrying a dns request.
  970. Default: system specific, depends also on the/etc/resolv.conf content
  971. (usually 5s).
  972. dns_retr_no = no. - number of dns retransmissions before giving up.
  973. Default: see above (usually 4)
  974. dns_servers_no = no. - how many dns servers from the ones defined in
  975. /etc/resolv.conf will be used. Default: all of them.
  976. dns_use_search_list= yes/no - if no, the search list in /etc/resolv.conf
  977. will be ignored (=> fewer lookups => gives up faster). Default: yes.
  978. HINT: even if you don't have a search list defined, setting this option
  979. to "no" will still be "faster", because an empty search list is in
  980. fact search "" (so even if the search list is empty/missing there will
  981. still be 2 dns queries, eg. foo+'.' and foo+""+'.')
  982. tcp_connection_lifetime = value (s) - how long the lifetime of a
  983. tcp connection will be extended after an IO event (accept, connect,
  984. read, write). Default: 120 s.
  985. tcp_poll_method = poll|select|sigio_rt|epoll_et|epoll-lt|kqueue|devpoll -
  986. poll method used (by default the best one for the current OS is selected)
  987. tcp_max_connections = no. - maximum number of tcp connections (if the number
  988. is exceeded no new tcp connections will be accepted). Default: 2048.
  989. tools:
  990. utils/sercmd - command line serctl like tool for interrogating ser ctl
  991. module (uses the binrpc encoding). Supports various
  992. connection methods (udp, tcp, unix stream & datagram sockets),
  993. reply formating (see -f, e.g. sercmd -f "pid:%v %v\n" core.ps)
  994. , interactive mode, command line completion (if compiled with
  995. libreadline) a.s.o.
  996. WARNING: - older 0.10.99-dev version (< 0.10.99-dev46) returned a 480 reply
  997. on invite transaction timeout, if a provisional reply was received. Newer
  998. versions reverted to returning 408 on all timeouts (one can use
  999. t_branch_timeout() and t_branch_replied() to distinguish between the two
  1000. timeout types)
  1001. 0.9.4 fixes/improvements (0.9.4 is a bug fix release for 0.9.3)
  1002. general:
  1003. - gcc 4.0 support
  1004. - multicast options are set for all the sockets
  1005. - mediaproxy: memory leak, unchecked memory allocations
  1006. - postgress: some bugs and cleanups (compiles cleanly now)
  1007. - tm: shm cloned lumps (SER-55)
  1008. - tm: t_fifo: 64-bit fix
  1009. - tm: dst_uri clone fix
  1010. - tm: t_newtran/t_restransmit* races (!)
  1011. - usloc: memory leak
  1012. solaris:
  1013. - serctl, better ISA detection, signals
  1014. *bsd:
  1015. - multicast options are properly set
  1016. openbsd:
  1017. - tcp 64 bit fix
  1018. 0.9.3 changes
  1019. new archs:
  1020. - alpha experimental support
  1021. - mips2/cobalt experimental support
  1022. - x86_64 support
  1023. - OS X (darwin) support
  1024. - sparc32 single cpu highly experimental support
  1025. - ppc64 support
  1026. modules:
  1027. - enum - support for more than one NAPTR
  1028. - msilo - explicit multidomain support -- recipient's user ID is stored in
  1029. the columns username and domain -- r_uri column kept for compatibility
  1030. reasons (will be removed in future) but not filled by this version of
  1031. module
  1032. - mysql - implements a connection pool, all modules will use same connection
  1033. to access the database
  1034. - nathelper received port test (flag 16 for nat_uac_test): compares the
  1035. source port of the message with sip port in the first Via and returns
  1036. true if different.
  1037. - permsions - support for multiple allow/deny files, allow_register function
  1038. - TM has a new parameter: restart_fr_on_each_reply. If set (default)
  1039. fr_inv timer will be restarted for each provisional reply, if not set
  1040. it will be restarted only for the first reply and for replies >=180
  1041. (but only if increasing, eg.: 180, 181 ...). Useful when dealing with bad
  1042. UAs that re-transmit 180s.
  1043. - TM saves the avp list into transactions, and make it available into
  1044. callbacks, failure and reply routes.
  1045. - TM contains new command - t_write_unix("/tmp/sems.sock", "announcement")
  1046. sends a message using unix socket interface instead of FIFO interface.
  1047. - TM contains new config variable - unix_tx_timeout -- it specifies the
  1048. transmit timeout of t_write_sock
  1049. - VM functionality was transfered into TM module. Instead of fetching the
  1050. email value from DB (as VM), TM looks for the "email" attribute to get the
  1051. value.
  1052. vm() function was replaced with t_write_req()
  1053. vm_reply() fifo functions was replaced by TM with t_reply() fifo function
  1054. NOTE!! because current version of SEMS/AA try to send reply via vm_reply,
  1055. it will not work with the TM version.
  1056. - xlog - printing the body of any header by specifying the name; new
  1057. specifiers for user-agent, message buffer, message length, message's flags,
  1058. message id.
  1059. new modules:
  1060. - avp / avp_db / avp_radius - load and check avps per caller or callee
  1061. - avpops - flexible module for operations with avps and database, introducing
  1062. a pseudo-variable support in SER configuration file
  1063. - cpl-c - implementation of Call Processing Language
  1064. - dispatcher - implements a dispatcher for incoming requests using hashes
  1065. over parts of the request to select the destination
  1066. - diversion - implements the Diversion extensions as per
  1067. draft-levy-sip-diversion-08
  1068. - flatstore - simple module that implements very fast inserts for accounting
  1069. purposes
  1070. - gflags - keeps a bitmap of flags in shared memory and may be used to change
  1071. behaviour of server based on value of the flags
  1072. - options - answer server options requests
  1073. - speeddial - provides on-server speed dial facilities
  1074. - uri_db - split from uri module, performs various checks related to SIP URI
  1075. over database fields
  1076. removed modules:
  1077. - vm - the functionality was transfered to tm module (see t_write_req(...)
  1078. method)
  1079. core:
  1080. - new parts:
  1081. UNIX domain socket server implemented
  1082. - changes:
  1083. - command line: removed -p port and extended -l:
  1084. -l [proto:]addr[:port] , where proto=udp|tcp and
  1085. addr= host|ip_address|interface_name. The format is the same
  1086. as for listen in the config file. ipv6 addresses must be enclosed in
  1087. [].
  1088. - added from_uri & to_uri: behave exactly like uri but use the
  1089. "From:"/"To:" uris
  1090. (e.g.: if (from_uri==myself) ..., if (to_uri=~"^sip:test@")... )
  1091. - config: better escape support in strings (e.g. \", \<cr>, \x0a, \012)
  1092. - bad network addresses are now automatically fixed
  1093. (e.g. 192.168.1.80/27 => 192.168.1.64/27)
  1094. - avp (Attribute-Value Pair) support added
  1095. - avp alias support added
  1096. - multicast support added (see mcast_loopback & mcast_ttl)
  1097. - saving of process group id enabled, if the -G option is specified
  1098. (a safe way to quickly kill all ser processes)
  1099. - core dump-ing is enabled by default, see also disable_core_dump
  1100. - protocol and port can be specified in the alias and listen lines, e.g.:
  1101. alias= tcp:foo.bar:* udp:test.bar:5080 foo.com
  1102. listen= eth0 tcp:eth0:5065 udp:127.0.0.1 [3ffe::1]
  1103. - multiple operator support: ==, != for special operations (e.g myself, ip)
  1104. ==, !=, ~= for strings
  1105. ==, !=, >, <, >=, <= for integers
  1106. - database api changed to support usage of different drivers
  1107. simultaneously. The database URL must start now with the name of the
  1108. driver (module). Example: for mysql the DB URL
  1109. 'sql://user:password@dbhost:port/database' must be specified now as
  1110. 'mysql://user:password@dbhost:port/database'
  1111. - new config variables:
  1112. mcast_loopback = <yes/no> - loopback sent multicast datagram, default no.
  1113. mcast_ttl = number - set multicast ttl, default OS specific (usually 1).
  1114. sock_mode = <permissions> (e.g. sock_mode=0600: default value = 0660)
  1115. ser unix sockets and fifo will be created with this permissions
  1116. (old name fifo_mode is still supported, but deprecated)
  1117. sock_user = username|"uid"
  1118. sock_group = groupname|"gid"
  1119. change the owner and/or group of the ser unix sockets or fifo
  1120. Short example config snippet:
  1121. sock_mode=0600 # ser socket/fifo mode
  1122. sock_user="www-data" # ser socket/fifo owner
  1123. sock_group=nogroup
  1124. user=nobody # ser user (ser will suid to it)
  1125. disable_core_dump= yes|no
  1126. by default core dump limits are set to unlimited or a high enough
  1127. value, set this config variable o yes to disable core dump-ing
  1128. (will set core limits to 0)
  1129. open_files_limit= number
  1130. if set and bigger than the current open file limit, ser will try
  1131. to increase its open file limit to this number. Note: ser must be
  1132. started as root to be able to increase a limit past the hard limit
  1133. (which, for open files, is 1024 on most systems)
  1134. tcp_connect_timeout= seconds
  1135. time before an ongoing connect will be aborted
  1136. tcp_send_timeout= seconds
  1137. time after a tcp connection will be closed if it is not available
  1138. for writing in this interval (and ser wants to send something on it)
  1139. tcp_accept_aliases= yes|no
  1140. if a message received over a tcp connection has "alias" in its via
  1141. a new tcp alias port will be created for the connection the message
  1142. came from (the alias port will be set to the via one).
  1143. Based on draft-ietf-sip-connect-reuse-00.txt, but using only the port
  1144. (host aliases are too dangerous IMHO, involve extra DNS
  1145. lookups and the need for them is questionable)
  1146. See force_tcp_alias for more details.
  1147. log_facility = LOG_LOCAL0
  1148. if ser logs to syslog, you can control the facility for logging. Very
  1149. useful when you want to divert all ser logs to a different log file.
  1150. See man page syslog(3) for more details.
  1151. unix_sock = "/tmp/ser.sock"
  1152. The name of the socket the unixsock server should listen on.
  1153. unix_sock_children = 1
  1154. The number of children that will listen on the unix domain socket.
  1155. unix_tx_timeout = 2000
  1156. Timeout (in ms) used when sending replies through unix sockets.
  1157. - new script commands:
  1158. force_send_socket([proto:]address[:port])
  1159. sends the message from the specified socket (it _must_ be one of the
  1160. sockets ser listens on). If the protocol doesn't match (e.g. udp
  1161. message "forced" to a tcp socket) the closest socket of the same
  1162. protocol is used.
  1163. force_tcp_alias()
  1164. force_tcp_alias(port)
  1165. adds a tcp port alias for the current connection (if tcp).
  1166. Useful if you want to send all the traffic to port_alias through
  1167. the same connection this request came from [it could help
  1168. for firewall or nat traversal].
  1169. With no parameters adds the port from the message via as the alias.
  1170. When the "aliased" connection is closed (e.g. it's idle for too
  1171. much time), all the port aliases are removed.
  1172. Note: by default ser closes idle connection after 3 minutes (stable)
  1173. or 1 minute (unstable) so to take full advantage of tcp aliases for
  1174. things like firewall and nat traversal, redefine TCP_CON_*TIMEOUT
  1175. in tcp_conn.h and recompile. Also right now there can be maximum
  1176. 3 port aliases to a connection (you shouldn't need more than one).
  1177. To change this redefine TCP_CON_MAX_ALIASES in the same file
  1178. (set it to you desired value + 1; 1 is needed for the real port).
  1179. utilities:
  1180. - ngrep patch for displaying new lines in captured SIP messages is no longer
  1181. needed; use ngrep V 1.42 with the option "-W byline"
  1182. ***********************************************
  1183. * Changes/fixes introduced in 0.8.12
  1184. ***********************************************
  1185. +--------------------------------------------------------+
  1186. | WARNING: if you want to use a 0.8.11 config script |
  1187. | with 0.8.12, replace if ( len_gt(number) ) with: |
  1188. | if ( msg:len > bumber ) |
  1189. +--------------------------------------------------------+
  1190. New Features
  1191. ============
  1192. texops:
  1193. - subst('s/re/repl/flags') support
  1194. core:
  1195. - added switch to check the config file (-c)
  1196. - changes: removed len_gt() and replaced with if (msg:len op number|max_len)
  1197. - multiple operator support: ==, != for special operations (e.g myself, ip)
  1198. ==, !=, ~= for strings
  1199. ==, !=, >, <, >=, <= for integers
  1200. - new config variables:
  1201. advertised_address= ip | string
  1202. address advertised in via and in the DST_* lumps (e.g RR)
  1203. This is the default value, if empty (default) the socket
  1204. address will be used.
  1205. WARNING: - don't set it unless you know what you are doing
  1206. (e.g. nat traversal)
  1207. - you can set anything here, no check is made
  1208. (e.g. foo.bar will be accepted even if
  1209. foo.bar doesn't exist)
  1210. advertised_port= no
  1211. port advertised in via and in the DST_*lumps (e.g. RR)
  1212. This is the default value, if empty (default) the socket
  1213. port will be used.
  1214. Same warnings as above.
  1215. - new script commands:
  1216. set_advertised_address(ip|string)
  1217. same as advertised_address but it affects only the current message:
  1218. Message host/lump address= the set_advertised one if
  1219. present, else advertised_address else socket address.
  1220. set_advertised_port(no)
  1221. same as advertised_port but it affects only the current
  1222. message; see set_advertised_address & s/address/port/g
  1223. usrloc:
  1224. - usernames are case insensitive
  1225. registrar:
  1226. - lookup function succeeds when appending of a branch failed
  1227. auth_db:
  1228. - support for rpid stored in database (thanks to Jakob Schlyter)
  1229. Bug fixes
  1230. =========
  1231. - memory leak in digest credentials parser fixed
  1232. - authentication ha1 didn't include domain if username was of the form
  1233. user@domain and calculate_ha1 was set to yes (modules/auth_db)
  1234. - tm reply processing race condition (modules/tm), special thanks go to
  1235. Dong Liu
  1236. - Many bugs in pa module fixed, works with registrar again.
  1237. Security updates
  1238. ================
  1239. - fifo processing code will write responses only to other
  1240. fifos and only if they are not hard-linked, also default
  1241. ser fifo persmissions were changed to 0600.
  1242. Performance improvements
  1243. ========================
  1244. - tuned internal malloc implementation parameters to better reflect the
  1245. actual workload (malloc is a little bit faster now)
  1246. ***********************************************
  1247. * Changes introduced in 0.8.11
  1248. ***********************************************
  1249. +--------------------------------------------------------+
  1250. | CAUTION: the 0.8.11 release include changes which |
  1251. | are incompatible with scripts and databases used |
  1252. | in previous versions. Care is advised when upgrading |
  1253. | from previous releases to 0.8.11. |
  1254. +--------------------------------------------------------+
  1255. New features
  1256. =============
  1257. - RFC3261 support
  1258. - TCP support and cross-transport forwarding [core]
  1259. - loose routing support [rr module]
  1260. - New modules
  1261. - vm -- voicemail interface [vm]
  1262. - ENUM support [enum]
  1263. - presence agent [pa]
  1264. - dynamic domain management -- allows to manipulate
  1265. hosting of multiple domains in run-time [module]
  1266. - flat-text-file database support [dbtext]
  1267. - rich access control lists [permissions]
  1268. - Feature Improvements
  1269. - click-to-dial, which is based on improved tm/FIFO
  1270. that better supports external applications [tm module]
  1271. - web accounting -- acc module can report to serweb
  1272. on placed calls [acc module]
  1273. - improved exec module (header fields passed now
  1274. as environment variables to scripts) [exec module]
  1275. - Architectural Improvements
  1276. - powerpc fast locking support
  1277. - netbsd support
  1278. - 64 bits arch. support (e.g. netbsd/sparc64).
  1279. - New Experimental Features (not tested at all yet)
  1280. - nathelper utility for Cisco/ATA NAT traversal [nathelper]
  1281. - another NAT traversal utility [mangler]
  1282. - postgress support [postgress]
  1283. - fcp module [fcp]
  1284. - pdt module (prefix2domain) [pdt]
  1285. Changes to use of ser scripts
  1286. =============================
  1287. About Multiple Transport Support
  1288. --------------------------------
  1289. SER now supports multiple transport protocols: UDP and TCP. As there
  1290. may be UAs which support only either protocol and cannot speak to
  1291. each other directly, we recommend to alway record-route SIP requests,
  1292. to keep the transport-translating SER in path. Also, if a destination
  1293. transport is not known, stateful forwarding is recommended -- use of
  1294. stateless forwarding for TCP2UDP would result in loss of reliability.
  1295. core
  1296. ----
  1297. - reply_route has been renamed to failure_route -- the old name caused
  1298. too much confusion
  1299. - forward_tcp and forward_udp can force SER to forward via specific
  1300. transport protocol
  1301. acc module:
  1302. -----------
  1303. - radius and sql support integrated in this module; you need to
  1304. recompile to enable it
  1305. - acc_flag is now called log_flag to better reflect it relates
  1306. to the syslog mode (as opposed to sql/radius); for the same
  1307. reasons, the accounting action is now called "acc_log_request"
  1308. and the option for missed calls "log_missed_calls"
  1309. - log_fmt allows now to specify what will be printed to syslog
  1310. auth module:
  1311. ------------
  1312. - auth module has been split in auth, auth_db, auth_radius, group
  1313. group_radius, uri and uri_radius
  1314. - all the parameters that were part of former auth module are now
  1315. part of auth_db module
  1316. - auth_db module contains all functions needed for database
  1317. authentication
  1318. - auth_radius contains functions needed for radius authentication
  1319. - group module contains group membership checking functions
  1320. - group_radius contains radius group membership checking functions
  1321. - is_in_group has been renamed to is_user_in and places to groups
  1322. module
  1323. - check_to and check_from have been moved to the uri module
  1324. im module:
  1325. ----------
  1326. - im is no longer used and has been obsoleted by TM
  1327. exec module:
  1328. ------------
  1329. - exec_uri and exec_user have been obsoleted by exec_dset;
  1330. exec_dset is identical to exec_uri in capabilities; it
  1331. additionally passes content of request elements (header
  1332. fields and URI parts) in environment variables; users of
  1333. exec_user can use exec_dset now and use the "URI_USER"
  1334. variable to learn user part of URI
  1335. - exec_dset and exec_msg return false, if return value of
  1336. script does not euqal zero
  1337. - exec_dset takes an additional parameter, which enables
  1338. validation of SIP URIs returned by external application
  1339. jabber module:
  1340. --------------
  1341. - presence support for Jabber users is enabled loading the PA
  1342. module and using handle_subscribe("jabber") for SUBSCRIBE
  1343. requests to jabber user
  1344. msilo module:
  1345. -------------
  1346. - m_store has now a parameter to set what should be considered
  1347. for storing as destination uri. This enables support for saving
  1348. the messages on negative replies.
  1349. radius_acc module:
  1350. ------------------
  1351. - radius_acc module has been removed and radius accounting
  1352. is now part of acc module
  1353. registrar/usrloc modules:
  1354. -------------------------
  1355. - multi domain support, the modules user username@domain as AOR
  1356. if enabled
  1357. - descent modification time ordering of contacts
  1358. - case sensitive/insensitive comparison of URI can be enabled
  1359. rr module:
  1360. ----------
  1361. - addRecordRoute has been replaced with record_route
  1362. - rewriteFromRoute has been replaced with loose_route()
  1363. - a new option, "enable_full_lr" can be set to make life
  1364. with misimplemented UAs easier and put LR in from "lr=on"
  1365. - rr module can insert two Record-Route header fields when
  1366. necessary (disconnected networks, UDP->TCP and so on)
  1367. tm module:
  1368. ----------
  1369. - t_reply_unsafe, used in former versions within reply_routes,
  1370. is deprecated; now t_reply is used from any places in script
  1371. - t_on_negative is renamed to t_on_failure -- the old name just
  1372. caused too much confusion
  1373. - FIFO t_uac used by some applications (like serweb) has been
  1374. replaced with t_uac_dlg (which allows easier use by dialog-
  1375. oriented applications, like click-to-dial)
  1376. - if you wish to do forward to another destination from
  1377. failure_route (reply_route formerly), you need to call t_relay
  1378. or t_relay_to explicitely now
  1379. - t_relay_to has been replaced with t_relay_to_udp and t_relay_to_tcp