Parcourir la source

documentation: Fix Content-Length typos

- Fix typos in textops/textopsx documenation
- Regenerate cfg list documentation
Hugh Waite il y a 12 ans
Parent
commit
1c276452b2

+ 5 - 5
doc/cfg_list/Makefile

@@ -22,20 +22,20 @@ files_list= \
 	$(COREPATH)/sctp_options.c:sctp \
 	$(COREPATH)/tcp_options.c:tcp \
 	$(COREPATH)/modules/tm/config.c:tm \
-	$(COREPATH)/modules_k/registrar/config.c:registrar \
-	$(COREPATH)/modules_k/siputils/config.c:siputils \
-	$(COREPATH)/modules_s/maxfwd/maxfwd.c:maxfwd \
+	$(COREPATH)/modules/registrar/config.c:registrar \
+	$(COREPATH)/modules/siputils/config.c:siputils \
+	$(COREPATH)/modules/maxfwd/maxfwd.c:maxfwd \
 	$(COREPATH)/modules/carrierroute/config.c:carrierroute \
 	$(COREPATH)/modules/malloc_test/malloc_test.c:malloc_test \
 	$(COREPATH)/modules/tls/tls_cfg.c:tls \
-	$(COREPATH)/modules_k/dispatcher/config.c:dispatcher
+	$(COREPATH)/modules/dispatcher/config.c:dispatcher
 
 
 
 # list of excluded groups
 grp_exclude=pa
 # list of file prefixes to exclude (full path needed)
-file_exclude= $(COREPATH)/modules_s/tls/
+file_exclude= $(COREPATH)/modules/tls/
 
 # special per file group overrides
 # format= grp_filename=... ,where filename does not contain the extension

+ 33 - 2
doc/cfg_list/cfg_core.txt

@@ -254,8 +254,39 @@ Configuration Variables for core
         memory debugging information displayed on exit (flags):  0 -
         off, 1 - dump all the pkg used blocks (status), 2 - dump all
         the shm used blocks (status), 4 - summary of pkg used blocks, 8
-        - summary of shm used blocks.
+        - summary of shm used blocks, 16 - short status instead of
+        dump.
         Default: 3.
-        Range: 0 - 15.
+        Range: 0 - 31.
+        Type: integer.
+
+44. core.mem_safety
+        safety level for memory operations.
+        Default: 0.
+        Type: integer.
+
+45. core.mem_join
+        join free memory fragments.
+        Default: 0.
+        Type: integer.
+
+46. core.corelog
+        log level for non-critical core error messages.
+        Default: -1.
+        Type: integer.
+
+47. core.latency_log
+        log level for latency limits alert messages.
+        Default: -1.
+        Type: integer.
+
+48. core.latency_limit_db
+        limit is ms for alerting on time consuming db commands.
+        Default: 0.
+        Type: integer.
+
+49. core.latency_limit_action
+        limit is ms for alerting on time consuming config actions.
+        Default: 0.
         Type: integer.
 

+ 14 - 13
doc/cfg_list/cfg_registrar.txt

@@ -4,62 +4,63 @@ Configuration Variables for registrar
                   [ this file is autogenerated, do not edit ]
 
 
- 1. registrar.default_expires
+ 1. registrar.realm_pref
+        Realm prefix to be removed. Default is "".
+        Default: <unknown:str>.
+        Type: string.
+
+ 2. registrar.default_expires
         Contains number of second to expire if no expire hf or contact
         expire present.
         Default: 3600.
         Type: integer.
 
- 2. registrar.default_expires_range
+ 3. registrar.default_expires_range
         Percent from default_expires that will be used in generating
         the range for the expire interval.
         Default: 0.
         Range: 0 - 100.
         Type: integer.
 
- 3. registrar.min_expires
+ 4. registrar.min_expires
         The minimum expires value of a Contact. Value 0 disables the
         checking. .
         Default: 60.
         Type: integer.
 
- 4. registrar.max_expires
+ 5. registrar.max_expires
         The maximum expires value of a Contact. Value 0 disables the
         checking. .
         Default: 0.
         Type: integer.
 
- 5. registrar.max_contacts
+ 6. registrar.max_contacts
         The maximum number of Contacts for an AOR. Value 0 disables the
         checking. .
         Default: 0.
         Type: integer.
 
- 6. registrar.retry_after
+ 7. registrar.retry_after
         If you want to add the Retry-After header field in 5xx replies,
         set this parameter to a value grater than zero.
         Default: 0.
         Type: integer.
 
- 7. registrar.case_sensitive
+ 8. registrar.case_sensitive
         If set to 1 then AOR comparison will be case sensitive.
         Recommended and default is 0, case insensitive.
         Default: 0.
         Type: integer.
 
- 8. registrar.default_q
+ 9. registrar.default_q
         The parameter represents default q value for new contacts..
         Default: -1.
         Range: -1 - 1000.
         Type: integer.
 
- 9. registrar.append_branches
+10. registrar.append_branches
         If set to 1(default), lookup will put all contacts found in msg
         structure.
         Default: 1.
         Type: integer.
 
-10. registrar.realm_pref
-        Realm prefix to be removed. Default is "".
-        Type: string.
-

+ 29 - 24
doc/cfg_list/cfg_tcp.txt

@@ -20,121 +20,126 @@ Configuration Variables for tcp
         Type: integer.
 
  4. tcp.max_connections
-        maximum connection number, soft limit.
+        maximum tcp connections number, soft limit.
         Range: 0 - 2147483647.
         Type: integer.
 
- 5. tcp.no_connect
+ 5. tcp.max_tls_connections
+        maximum tls connections number, soft limit.
+        Range: 0 - 2147483647.
+        Type: integer.
+
+ 6. tcp.no_connect
         if set only accept new connections, never actively open new
         ones.
         Range: 0 - 1.
         Type: integer.
 
- 6. tcp.fd_cache
+ 7. tcp.fd_cache
         file descriptor cache for tcp_send.
         Range: 0 - 1.
         Type: integer. Read-only.
 
- 7. tcp.async
+ 8. tcp.async
         async mode for writes and connects.
         Range: 0 - 1.
         Type: integer. Read-only.
 
- 8. tcp.connect_wait
+ 9. tcp.connect_wait
         parallel simultaneous connects to the same dst. (0) or one
         connect.
         Range: 0 - 1.
         Type: integer. Read-only.
 
- 9. tcp.conn_wq_max
+10. tcp.conn_wq_max
         maximum bytes queued for write per connection (depends on
         async).
         Range: 0 - 1048576.
         Type: integer.
 
-10. tcp.wq_max
+11. tcp.wq_max
         maximum bytes queued for write allowed globally (depends on
         async).
         Range: 0 - 1073741824.
         Type: integer.
 
-11. tcp.defer_accept
+12. tcp.defer_accept
         0/1 on linux, seconds on freebsd (see docs).
         Range: 0 - 3600.
         Type: integer. Read-only.
 
-12. tcp.delayed_ack
+13. tcp.delayed_ack
         initial ack will be delayed and sent with the first data
         segment.
         Range: 0 - 1.
         Type: integer.
 
-13. tcp.syncnt
+14. tcp.syncnt
         number of syn retransmissions before aborting a connect (0=not
         set).
         Range: 0 - 1024.
         Type: integer.
 
-14. tcp.linger2
+15. tcp.linger2
         lifetime of orphaned sockets in FIN_WAIT2 state in s (0=not
         set).
         Range: 0 - 3600.
         Type: integer.
 
-15. tcp.keepalive
+16. tcp.keepalive
         enables/disables keepalives for tcp.
         Range: 0 - 1.
         Type: integer.
 
-16. tcp.keepidle
+17. tcp.keepidle
         time before sending a keepalive if the connection is idle
         (linux).
         Range: 0 - 86400.
         Type: integer.
 
-17. tcp.keepintvl
+18. tcp.keepintvl
         time interval between keepalive probes on failure (linux).
         Range: 0 - 86400.
         Type: integer.
 
-18. tcp.keepcnt
+19. tcp.keepcnt
         number of failed keepalives before dropping the connection
         (linux).
         Range: 0 - 1024.
         Type: integer.
 
-19. tcp.crlf_ping
+20. tcp.crlf_ping
         enable responding to CRLF SIP-level keepalives .
         Range: 0 - 1.
         Type: integer.
 
-20. tcp.accept_aliases
+21. tcp.accept_aliases
         turn on/off tcp aliases (see tcp_accept_aliases) .
         Range: 0 - 1.
         Type: integer.
 
-21. tcp.alias_flags
+22. tcp.alias_flags
         flags used for adding new aliases (FORCE_ADD:1 , REPLACE:2) .
         Range: 0 - 2.
         Type: integer.
 
-22. tcp.new_conn_alias_flags
+23. tcp.new_conn_alias_flags
         flags for the def. aliases for a new conn. (FORCE_ADD:1,
         REPLACE:2 .
         Range: 0 - 2.
         Type: integer.
 
-23. tcp.accept_no_cl
-        accept TCP messges without Content-Lenght .
+24. tcp.accept_no_cl
+        accept TCP messges without Content-Length .
         Range: 0 - 1.
         Type: integer.
 
-24. tcp.rd_buf_size
+25. tcp.rd_buf_size
         internal read buffer size (should be > max. expected datagram).
-        Range: 512 - 65536.
+        Range: 512 - 16777216.
         Type: integer.
 
-25. tcp.wq_blk_size
+26. tcp.wq_blk_size
         internal async write block size (debugging use only for now).
         Range: 1 - 65535.
         Type: integer.

+ 38 - 33
doc/cfg_list/cfg_tm.txt

@@ -16,95 +16,100 @@ Configuration Variables for tm
         Range: 0 - 1.
         Type: integer.
 
- 3. tm.fr_timer
+ 3. tm.callid_matching
+        perform callid check in transaction matching.
+        Default: 0.
+        Type: integer.
+
+ 4. tm.fr_timer
         timer which hits if no final reply for a request or ACK for a
         negative INVITE reply arrives (in milliseconds).
         Default: 30000.
         Type: integer.
 
- 4. tm.fr_inv_timer
+ 5. tm.fr_inv_timer
         timer which hits if no final reply for an INVITE arrives after
         a provisional message was received (in milliseconds).
         Default: 120000.
         Type: integer.
 
- 5. tm.fr_inv_timer_next
+ 6. tm.fr_inv_timer_next
         The value [ms] of fr_inv_timer for subsequent branches during
         serial forking..
         Default: 30000.
         Type: integer.
 
- 6. tm.wt_timer
+ 7. tm.wt_timer
         time for which a transaction stays in memory to absorb delayed
         messages after it completed.
         Default: 5000.
         Type: integer.
 
- 7. tm.delete_timer
+ 8. tm.delete_timer
         time after which a to-be-deleted transaction currently ref-ed
         by a process will be tried to be deleted again..
         Default: 200.
         Type: integer.
 
- 8. tm.retr_timer1
+ 9. tm.retr_timer1
         initial retransmission period (in milliseconds).
         Default: 500.
         Type: integer.
 
- 9. tm.retr_timer2
+10. tm.retr_timer2
         maximum retransmission period (in milliseconds).
         Default: 4000.
         Type: integer.
 
-10. tm.max_inv_lifetime
+11. tm.max_inv_lifetime
         maximum time an invite transaction can live from the moment of
         creation.
         Default: 180000.
         Type: integer.
 
-11. tm.max_noninv_lifetime
+12. tm.max_noninv_lifetime
         maximum time a non-invite transaction can live from the moment
         of creation.
         Default: 32000.
         Type: integer.
 
-12. tm.noisy_ctimer
+13. tm.noisy_ctimer
         if set, INVITE transactions that time-out (FR INV timer) will
         be always replied.
         Default: 1.
         Range: 0 - 1.
         Type: integer.
 
-13. tm.auto_inv_100
+14. tm.auto_inv_100
         automatically send 100 to an INVITE.
         Default: 1.
         Range: 0 - 1.
         Type: integer.
 
-14. tm.auto_inv_100_reason
+15. tm.auto_inv_100_reason
         reason text of the automatically send 100 to an INVITE.
         Default: trying -- your call is important to us.
         Type: string.
 
-15. tm.unix_tx_timeout
+16. tm.unix_tx_timeout
         Unix socket transmission timeout, in milliseconds.
         Default: 500.
         Type: integer.
 
-16. tm.restart_fr_on_each_reply
+17. tm.restart_fr_on_each_reply
         restart final response timer on each provisional reply.
         Default: 1.
         Range: 0 - 1.
         Type: integer.
 
-17. tm.pass_provisional_replies
+18. tm.pass_provisional_replies
         enable/disable passing of provisional replies to
         TMCB_LOCAL_RESPONSE_OUT callbacks.
         Default: 0.
         Range: 0 - 1.
         Type: integer.
 
-18. tm.aggregate_challenges
+19. tm.aggregate_challenges
         if the final response is a 401 or a 407, aggregate all the
         authorization headers (challenges) (rfc3261 requires this to be
         on).
@@ -112,27 +117,27 @@ Configuration Variables for tm
         Range: 0 - 1.
         Type: integer.
 
-19. tm.unmatched_cancel
+20. tm.unmatched_cancel
         determines how CANCELs with no matching transaction are handled
         (0: statefull forwarding, 1: stateless forwarding, 2: drop).
         Default: 0.
         Range: 0 - 2.
         Type: integer.
 
-20. tm.default_code
+21. tm.default_code
         default SIP response code sent by t_reply(), if the function
         cannot retrieve its parameters.
         Default: 500.
         Range: 400 - 699.
         Type: integer.
 
-21. tm.default_reason
+22. tm.default_reason
         default SIP reason phrase sent by t_reply(), if the function
         cannot retrieve its parameters.
         Default: Server Internal Error.
         Type: string.
 
-22. tm.reparse_invite
+23. tm.reparse_invite
         if set to 1, the CANCEL and negative ACK requests are
         constructed from the INVITE message which was sent out instead
         of building them from the received request.
@@ -140,55 +145,55 @@ Configuration Variables for tm
         Range: 0 - 1.
         Type: integer.
 
-23. tm.ac_extra_hdrs
+24. tm.ac_extra_hdrs
         header fields prefixed by this parameter value are included in
         the CANCEL and negative ACK messages if they were present in
         the outgoing INVITE (depends on reparse_invite).
         Default: <unknown:str>.
         Type: string.
 
-24. tm.blst_503
+25. tm.blst_503
         if set to 1, blacklist 503 SIP response sources.
         Default: 0.
         Range: 0 - 1.
         Type: integer.
 
-25. tm.blst_503_def_timeout
+26. tm.blst_503_def_timeout
         default 503 blacklist time (in s), when no Retry-After header
         is present.
         Default: 0.
         Type: integer.
 
-26. tm.blst_503_min_timeout
+27. tm.blst_503_min_timeout
         minimum 503 blacklist time (in s).
         Default: 0.
         Type: integer.
 
-27. tm.blst_503_max_timeout
+28. tm.blst_503_max_timeout
         maximum 503 blacklist time (in s).
         Default: 3600.
         Type: integer.
 
-28. tm.blst_methods_add
+29. tm.blst_methods_add
         bitmap of method types that trigger blacklisting on transaction
         timeouts.
         Default: 1.
         Type: integer.
 
-29. tm.blst_methods_lookup
+30. tm.blst_methods_lookup
         Bitmap of method types that are looked-up in the blacklist
         before statefull forwarding.
         Default: -9.
         Type: integer.
 
-30. tm.cancel_b_method
+31. tm.cancel_b_method
         How to cancel branches on which no replies were received: 0 -
         fake reply, 1 - retransmitting the request, 2 - send cancel.
         Default: 1.
         Range: 0 - 2.
         Type: integer.
 
-31. tm.reparse_on_dns_failover
+32. tm.reparse_on_dns_failover
         if set to 1, the SIP message after a DNS failover is
         constructed from the outgoing message buffer of the failed
         branch instead of from the received request.
@@ -196,13 +201,13 @@ Configuration Variables for tm
         Range: 0 - 1.
         Type: integer.
 
-32. tm.disable_6xx_block
+33. tm.disable_6xx_block
         if set to 1, 6xx is treated like a normal reply (breaks rfc).
         Default: 0.
         Range: 0 - 1.
         Type: integer.
 
-33. tm.local_ack_mode
+34. tm.local_ack_mode
         if set to 1 or 2, local 200 ACKs are sent to the same address
         as the corresponding INVITE (1) or the source of the 200 reply
         (2) instead of using the contact and the route set (it breaks
@@ -212,14 +217,14 @@ Configuration Variables for tm
         Range: 0 - 2.
         Type: integer.
 
-34. tm.local_cancel_reason
+35. tm.local_cancel_reason
         if set to 1, a Reason header is added to locally generated
         CANCELs (see RFC3326).
         Default: 1.
         Range: 0 - 1.
         Type: integer.
 
-35. tm.e2e_cancel_reason
+36. tm.e2e_cancel_reason
         if set to 1, Reason headers from received CANCELs are copied
         into the corresponding generated hop-by-hop CANCELs.
         Default: 1.

Fichier diff supprimé car celui-ci est trop grand
+ 250 - 247
modules/textops/README


+ 1 - 1
modules/textops/doc/textops_admin.xml

@@ -1238,7 +1238,7 @@ if(remove_hf_re("^P-"))
 		<para>
 		The function returns <emphasis>true</emphasis> if the SIP message
 		has a body attached. The checked includes also the 
-		<quote>Content-Lenght</quote> header presence and value.
+		<quote>Content-Length</quote> header presence and value.
 		</para>
 		<para>
 		If a parameter is given, the mime described will be also checked against

+ 92 - 90
modules/textopsx/README

@@ -1,3 +1,4 @@
+
 1. Textopsx Module
 
 Andrei Pelinescu-Onciul
@@ -10,25 +11,25 @@ Daniel-Constantin Mierla
    <[email protected]>
 
    Copyright © 2003 FhG FOKUS
-     __________________________________________________________________
+     _________________________________________________________________
 
    1.1. Overview
    1.2. Functions
 
-        1.2.1. msg_apply_changes()
-        1.2.2. change_reply_status(code, reason)
-        1.2.3. remove_body()
-        1.2.4. keep_hf(regexp)
-        1.2.5. fnmatch(value, expr [, flags])
-        1.2.6. append_hf_value(hf, hvalue)
-        1.2.7. insert_hf_value(hf, hvalue)
-        1.2.8. remove_hf_value(hf_par)
-        1.2.9. remove_hf_value2(hf_par)
-        1.2.10. assign_hf_value(hf, hvalue)
-        1.2.11. assign_hf_value2(hf, hvalue)
-        1.2.12. include_hf_value(hf, hvalue)
-        1.2.13. exclude_hf_value(hf, hvalue)
-        1.2.14. hf_value_exists(hf, hvalue)
+        1.2.1. msg_apply_changes() 
+        1.2.2. change_reply_status(code, reason) 
+        1.2.3. remove_body() 
+        1.2.4. keep_hf(regexp) 
+        1.2.5. fnmatch(value, expr [, flags]) 
+        1.2.6. append_hf_value(hf, hvalue) 
+        1.2.7. insert_hf_value(hf, hvalue) 
+        1.2.8. remove_hf_value(hf_par) 
+        1.2.9. remove_hf_value2(hf_par) 
+        1.2.10. assign_hf_value(hf, hvalue) 
+        1.2.11. assign_hf_value2(hf, hvalue) 
+        1.2.12. include_hf_value(hf, hvalue) 
+        1.2.13. exclude_hf_value(hf, hvalue) 
+        1.2.14. hf_value_exists(hf, hvalue) 
         1.2.15. Selects
 
               1.2.15.1. @hf_value
@@ -37,18 +38,18 @@ Daniel-Constantin Mierla
 
 1.1. Overview
 
-   This module implements functions for SIP message text operations in
-   routing block configurations. It adds new features similar to the
+   This  module  implements  functions for SIP message text operations in
+   routing  block  configurations.  It  adds  new features similar to the
    textops module (textops eXtentions).
 
 1.2. Functions
 
-1.2.1. msg_apply_changes()
+1.2.1.  msg_apply_changes()
 
-   Use this function to apply changes performed on SIP request content. Be
-   careful when using this function; due to special handling of changes to
-   the SIP message buffer so far, using this function might change the
-   behaviour of your config. Do test your config properly!
+   Use  this  function to apply changes performed on SIP request content.
+   Be  careful  when  using  this  function;  due  to special handling of
+   changes  to  the  SIP message buffer so far, using this function might
+   change the behaviour of your config. Do test your config properly!
 
    This function can be used from REQUEST_ROUTE.
 
@@ -65,7 +66,7 @@ if(msg_apply_changes())
 }
 ...
 
-1.2.2. change_reply_status(code, reason)
+1.2.2.  change_reply_status(code, reason)
 
    Intercept a SIP reply (in an onreply_route) and change its status code
    and reason phrase prior to forwarding it.
@@ -86,7 +87,7 @@ onreply_route {
 }
 ...
 
-1.2.3. remove_body()
+1.2.3.  remove_body()
 
    Use this function to remove the body of SIP requests or replies.
 
@@ -97,11 +98,11 @@ onreply_route {
 remove_body();
 ...
 
-1.2.4. keep_hf(regexp)
+1.2.4.  keep_hf(regexp)
 
    Remove headers that don't match the regular expression regexp. Several
-   header are ignored always (thus not removed): Via, From, To, Call-ID,
-   CSeq, Content-Lenght, Content-Type, Max-Forwards, Contact, Route,
+   header  are ignored always (thus not removed): Via, From, To, Call-ID,
+   CSeq,  Content-Length,  Content-Type,  Max-Forwards,  Contact,  Route,
    Record-Route -- these can be removed one by one with remove_hf().
 
    This function can be used from ANY_ROUTE.
@@ -111,13 +112,13 @@ remove_body();
 keep_hf("User-Agent");
 ...
 
-1.2.5. fnmatch(value, expr [, flags])
+1.2.5.  fnmatch(value, expr [, flags])
 
-   Match the value against the expr using shell-style pattern for file
-   name matching (see man page for C function fnmatch()). It is known to
+   Match  the  value  against the expr using shell-style pattern for file
+   name  matching (see man page for C function fnmatch()). It is known to
    be faster and use less-memory than regular expressions.
 
-   Parameter 'flags' is optional and can be 'i' to do case insensitive
+   Parameter  'flags'  is  optional and can be 'i' to do case insensitive
    matching.
 
    This function can be used from ANY_ROUTE.
@@ -130,15 +131,15 @@ if(fnmatch("$rU", "123*"))
 }
 ...
 
-1.2.6. append_hf_value(hf, hvalue)
+1.2.6.  append_hf_value(hf, hvalue)
 
    Append new header value after an existing header, if no index acquired
-   append at the end of list. Note that a header may consist of comma
+   append  at  the  end  of list. Note that a header may consist of comma
    delimited list of values.
 
    Meaning of the parameters is as follows:
-     * hf - Header field to be appended. Format: HFNAME [ [IDX] ]. If
-       index is not specified new header is inserted at the end of
+     * hf  -  Header  field  to be appended. Format: HFNAME [ [IDX] ]. If
+       index  is  not  specified  new  header  is  inserted at the end of
        message.
      * hvalue - Value to be added, config var formatting supported.
 
@@ -146,20 +147,20 @@ if(fnmatch("$rU", "123*"))
 ...
 append_hf_value("foo", "gogo;stamp=$Ts")   # add new header
 append_hf_value("foo[1]", "gogo")  # add new value behind first value
-append_hf_value("foo[-1]", "$var(Bar)") # try add value to the last header, if n
-ot exists add new header
+append_hf_value("foo[-1]", "$var(Bar)") # try add value to the last header, if
+not exists add new header
 ...
 
-1.2.7. insert_hf_value(hf, hvalue)
+1.2.7.  insert_hf_value(hf, hvalue)
 
-   Insert new header value before an existing header, if no index acquired
-   insert before first hf header. Note that a header may consist of comma
-   delimited list of values. To insert value behing last value use
-   appenf_hf_value.
+   Insert  new  header  value  before  an  existing  header,  if no index
+   acquired insert before first hf header. Note that a header may consist
+   of  comma  delimited list of values. To insert value behing last value
+   use appenf_hf_value.
 
    Meaning of the parameters is as follows:
-     * hf - Header field to be appended. Format: HFNAME [ [IDX] ]. If
-       index is not specified new header is inserted at the top of
+     * hf  -  Header  field  to be appended. Format: HFNAME [ [IDX] ]. If
+       index  is  not  specified  new  header  is  inserted at the top of
        message.
      * hvalue - Value to be added, config var formatting supported.
 
@@ -170,14 +171,14 @@ insert_hf_value("foo", "$avp(foo)")   # add new header at the top of list
 insert_hf_value("foo[1]", "gogo") # try add to the first header
 ...
 
-1.2.8. remove_hf_value(hf_par)
+1.2.8.  remove_hf_value(hf_par)
 
-   Remove the header value from existing header, Note that a header may
+   Remove  the  header value from existing header, Note that a header may
    consist of comma delimited list of values.
 
    Meaning of the parameters is as follows:
-     * hf_par - Header field/param to be removed. Format: HFNAME [ [IDX] ]
-       [. PARAM ] If asterisk is specified as index then all values are
+     * hf_par  - Header field/param to be removed. Format: HFNAME [ [IDX]
+       ] [. PARAM ] If asterisk is specified as index then all values are
        affected.
 
    Example 8. remove_hf_value usage
@@ -189,35 +190,35 @@ remove_hf_value("foo.bar")  # delete parameter
 remove_hf_value("foo[*].bar") # for each foo delete bar parameters
 ...
 
-1.2.9. remove_hf_value2(hf_par)
+1.2.9.  remove_hf_value2(hf_par)
 
-   Remove specified header or parameter. It is expected header in
-   Authorization format (comma delimiters are not treated as multi-value
+   Remove  specified  header  or  parameter.  It  is  expected  header in
+   Authorization  format (comma delimiters are not treated as multi-value
    delimiters).
 
    Meaning of the parameters is as follows:
-     * hf_par - Header/param to be removed. Format: HFNAME [ [IDX] ] [.
-       PARAM ] If asterisk is specified as index then all values are
+     * hf_par  -  Header/param to be removed. Format: HFNAME [ [IDX] ] [.
+       PARAM  ]  If  asterisk  is  specified as index then all values are
        affected.
 
    Example 9. remove_hf_value2 usage
 ...
 remove_hf_value2("foo")  # remove foo[1]
-remove_hf_value2("foo[*]")  # remove all foo's headers, the same as remove_hf_he
-ader("foo[*]");
+remove_hf_value2("foo[*]")  # remove all foo's headers, the same as remove_hf_h
+eader("foo[*]");
 remove_hf_value2("foo[-1]") # last foo
 remove_hf_value2("foo.bar")  # delete parameter
 remove_hf_value2("foo[*].bar") # for each foo delete bar parameters
 ...
 
-1.2.10. assign_hf_value(hf, hvalue)
+1.2.10.  assign_hf_value(hf, hvalue)
 
    Assign value to specified header value / param.
 
    Meaning of the parameters is as follows:
-     * hf_para - Header field value / param to be appended. Format: HFNAME
-       [ [IDX] ] [. PARAM] If asterisk is specified as index then all
-       values are affected.
+     * hf_para  -  Header  field  value  /  param to be appended. Format:
+       HFNAME  [ [IDX] ] [. PARAM] If asterisk is specified as index then
+       all values are affected.
      * hvalue - Value to be assigned, config var formatting supported. If
        value is empty then no equal sign apears in param.
 
@@ -232,16 +233,16 @@ assign_hf_value("foo[*]", "")  # remove all foo's, empty value remains
 assign_hf_value("foo[*].bar", "")  # set empty value (ex. lr)
 ...
 
-1.2.11. assign_hf_value2(hf, hvalue)
+1.2.11.  assign_hf_value2(hf, hvalue)
 
-   Assign value to specified header. It is expected header in
-   Authorization format (comma delimiters are not treated as multi-value
+   Assign   value   to   specified  header.  It  is  expected  header  in
+   Authorization  format (comma delimiters are not treated as multi-value
    delimiters).
 
    Meaning of the parameters is as follows:
-     * hf_para - Header field value / param to be appended. Format: HFNAME
-       [ [IDX] ] [. PARAM] If asterisk is specified as index then all
-       values are affected.
+     * hf_para  -  Header  field  value  /  param to be appended. Format:
+       HFNAME  [ [IDX] ] [. PARAM] If asterisk is specified as index then
+       all values are affected.
      * hvalue - Value to be assigned, config var formatting supported. If
        value is empty then no equal sign apears in param.
 
@@ -252,7 +253,7 @@ assign_hf_value2("foo[-1]", "gogo")  # foo[last_foo]
 assign_hf_value2("foo[*].bar", "")  # set empty value (ex. lr)
 ...
 
-1.2.12. include_hf_value(hf, hvalue)
+1.2.12.  include_hf_value(hf, hvalue)
 
    Add value in set if not exists, eg. "Supported: path,100rel".
 
@@ -265,7 +266,7 @@ assign_hf_value2("foo[*].bar", "")  # set empty value (ex. lr)
 include_hf_value("Supported", "path");
 ...
 
-1.2.13. exclude_hf_value(hf, hvalue)
+1.2.13.  exclude_hf_value(hf, hvalue)
 
    Remove value from set if exists, eg. "Supported: path,100rel".
 
@@ -278,13 +279,13 @@ include_hf_value("Supported", "path");
 exclude_hf_value("Supported", "100rel");
 ...
 
-1.2.14. hf_value_exists(hf, hvalue)
+1.2.14.  hf_value_exists(hf, hvalue)
 
-   Check if value exists in set. Alternate select
+   Check     if     value     exists    in    set.    Alternate    select
    @hf_value_exists.HF.VALUE may be used. It returns one or zero.
 
    Meaning of the parameters is as follows:
-     * hf - Header field name to be affected. Underscores are treated as
+     * hf  - Header field name to be affected. Underscores are treated as
        dashes.
      * hvalue - config var formatting supported.
 
@@ -303,27 +304,28 @@ if (@hf_value_exists.supported.path == "1") {
 
 1.2.15.1. @hf_value
 
-   Get value of required header-value or param. Note that functions called
-   'value2' works with Authorization-like headers where comma is not
-   treated as value delimiter. Formats: @hf_value.HFNAME[IDX] # idx value,
-   negative value counts from bottom @hf_value.HFNAME.PARAM_NAME
-   @hf_value.HFNAME[IDX].PARAM_NAME @hf_value.HFNAME.p.PARAM_NAME # or
-   .param., useful if requred called "uri", "p", "param"
-   @hf_value.HFNAME[IDX].p.PARAM_NAME # dtto @hf_value.HFNAME[IDX].uri #
-   (< & > excluded) @hf_value.HFNAME[*] # return comma delimited list of
+   Get  value  of  required  header-value  or  param. Note that functions
+   called  'value2'  works with Authorization-like headers where comma is
+   not  treated  as value delimiter. Formats: @hf_value.HFNAME[IDX] # idx
+   value,  negative  value counts from bottom @hf_value.HFNAME.PARAM_NAME
+   @hf_value.HFNAME[IDX].PARAM_NAME  @hf_value.HFNAME.p.PARAM_NAME  #  or
+   .param.,    useful    if    requred   called   "uri",   "p",   "param"
+   @hf_value.HFNAME[IDX].p.PARAM_NAME  # dtto @hf_value.HFNAME[IDX].uri #
+   (<  & > excluded) @hf_value.HFNAME[*] # return comma delimited list of
    all values (combines headers) @hf_value.HFNAME # the same as above [*]
-   but may be parsed by cfg.y @hf_value.HFNAME[*].uri # return comma
-   delimited list of uris (< & > excluded) @hf_value.HFNAME.uri # the same
-   as above [*] but may be parsed by cfg.y @hf_value.HFNAME[IDX].name #
-   returns name part, quotes excluded @hf_value.HFNAME.name # returns name
-   part of the first value @hf_value2.HFNAME # returns value of first
-   header @hf_value2.HFNAME[IDX] # returns value of idx's header
-   @hf_value2.HFNAME.PARAM_NAME @hf_value2.HFNAME[IDX].PARAM_NAME
-   @hf_value.HFNAME[IDX].uri # return URI, quotes excluded
-   @hf_value.HFNAME.p.uri # returns param named uri, not URI itself
-   @hf_value.HFNAME.p.name # returns param named name, not name itself
-   @hf_value.HFNAME[IDX].uri.name # any sel_any_uri nested features may be
-   used @hf_value.HFNAME[IDX].nameaddr.name # select_any_nameaddr
+   but  may  be  parsed  by  cfg.y @hf_value.HFNAME[*].uri # return comma
+   delimited  list  of  uris  (< & > excluded) @hf_value.HFNAME.uri # the
+   same as above [*] but may be parsed by cfg.y
+   @hf_value.HFNAME[IDX].name   #  returns  name  part,  quotes  excluded
+   @hf_value.HFNAME.name   #   returns  name  part  of  the  first  value
+   @hf_value2.HFNAME     #     returns     value    of    first    header
+   @hf_value2.HFNAME[IDX]    #    returns    value    of   idx's   header
+   @hf_value2.HFNAME.PARAM_NAME         @hf_value2.HFNAME[IDX].PARAM_NAME
+   @hf_value.HFNAME[IDX].uri    #    return    URI,    quotes    excluded
+   @hf_value.HFNAME.p.uri  #  returns  param  named  uri,  not URI itself
+   @hf_value.HFNAME.p.name  #  returns  param named name, not name itself
+   @hf_value.HFNAME[IDX].uri.name  #  any sel_any_uri nested features may
+   be used @hf_value.HFNAME[IDX].nameaddr.name # select_any_nameaddr
 
    Meaning of the parameters is as follows:
      * HFNAME - Header field name. Underscores are treated as dashes.

+ 1 - 1
modules/textopsx/doc/functions.xml

@@ -100,7 +100,7 @@ remove_body();
 		<para>
 			Remove headers that don't match the regular expression regexp.
 			Several header are ignored always (thus not removed): Via, From,
-			To, Call-ID, CSeq, Content-Lenght, Content-Type, Max-Forwards,
+			To, Call-ID, CSeq, Content-Length, Content-Type, Max-Forwards,
 			Contact, Route, Record-Route -- these can be removed one by one
 			with remove_hf().
 		</para>

Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff