modules/textopx: Prevent msg_apply_changes() from adding the router header if path is set.
	This avoids adding router header twice when calling msg_apply_changes

(cherry picked from commit 45e6878a398f7ba75ce253a7bfcbb66bc7a5c088)
mtree: safety checks for column types and values

- following the report FS#412 by adeel

(cherry picked from commit 6c0370b806aebcdd6c7c000536be3d9ae6154837)
db_unixodbc: use odbc_config to find paths for include and libs

(cherry picked from commit a0ef714c12d9d9ae4cf152d6a62bd8a7d6bb5c34)
db_unixodbc: free local variables in case of errors or no result

- reported by Alex Villacís Lasso

(cherry picked from commit edc78dfb148c22f0d256485193bbdb0185b76d2f)
ctl: fix crash when listing in struc format
 - example: kamcmd core.sockets_list

(cherry picked from commit a95cae3fb6a62120b7fe2770fb565195178bb6f7)
dialog: lock for updating the cseq

- race can happen on processing two requests at the same time within
  same dialog

(cherry picked from commit 2376c833aad92bf8661f985d5917d952874a7509)
kamdbctl: added rtpproxy table to the extra group

- it was not listed at all, thus not created

(cherry picked from commit 193431802ed1407bb66b722fbf6a5cc89d690a40)
permissions: peer_tag_mode is integer, not string

Fixing example in doc file

(cherry picked from commit b745f5869e86bc7cce774dc4b54be9a1be90e3e5)
sqlops: note about return value of query functions

(cherry picked from commit 5ac454af6aedb91265c3359a523354541cabd161)
tm: avoid tryin to mitigate relaying 487 for local canceling branches when a reply is forced from config

- it can result in deadlock if there is a local retransmission timeout
  and the response code is overwritten by admin in failure route with a
  t_reply()
- reported by Jason Penton

(cherry picked from commit 198e123e89c849da39efec1973c25c3c25a2be89)
tmx: allow spanning over second for fetching stats

- try to catch the same snapshot for all tm stats
- re-enabled stats for received and relayed replies, computed from what
  is relayed and was was local reply
- todo: check if drops replies are caught later or is ok

(cherry picked from commit 82e742fcdd7c22391cae8e3b36d42f23d684dee8)
srdb1: get rid of llvm warnings related to extern inline definitions

(cherry picked from commit 4cb7abe093ce0c56a4661377f9792fc417f83786)
cnxcc: inline functions defined in other objects throw warning in llvm

- an option would be defining whole function inside the .h file

(cherry picked from commit da0fe20153eb9fc4b8f79a2f5260cb871bb3fc0d)
srdb1: removed extern inline function prototypes

- the .c files are not linked against modules code, thus inline
  replacing request cannot be resolved by compilers, the strict ones
  (e.g., llvm) throw error

(cherry picked from commit 5beb495d47fa16ed94c36e340011c09de50db9c7)
tmrec: fixed typo in header file guard define

(cherry picked from commit 3d9040bb5494bafe3411744da17bf43de6a22604)
pv: use pv cache to lookup avp name for $cnt(...)

(cherry picked from commit eb5b9c6965d1da46f8cb45d3ac2eb6598b3b6dea)
maxfwd: max_limit default value set to 70

- recommended value by RFC
- lower value can create issues when terminating to PSTN/ISUP where
  can be used to set the Hop Counter
- patch by Sebastian Damm, FS#418

(cherry picked from commit 73c440e87fc256cda99ab572c0a259c13acac700)
dialog: set lower limit for dlg_ka_interval parameter to 30 sec

- avoid many keepalives in shorter interval than retransmission timeout
  could be
- an improvement would be to export the fr_timer value from tm and have
  condition based on it
- reported by FS#417, Bill Radis

(cherry picked from commit 5c5b587d44a46b3a4d48c7e7926c42a44cd4d8c8)
tmx: properly receive the branch index for $T(...) in the branch_failure_route

(cherry picked from commit 27c383c9224055e3d1b01238ff47785449e4057c)
tm: lock replies before restoring flags for onreply_route

(cherry picked from commit ac2e49b41840e0b05750b20c367a6c380caa983a)