modules/xmlrpc: xmlrpc scalar <int> value can be positive or negative
(cherry picked from commit 67c2101fc60e4a963a6133f7a71f5faf510ca214)

(cherry picked from commit 18376e35ebbc1ba82fcce78c4eaa7f7b04e00aa8)
doc: updated year and removed unused revhistory from bookinfo.xml

(cherry picked from commit a99e71e609c9f703458ac4304d80c7078f46a129)
(cherry picked from commit d6110528600bb6780e8be3b62b291fcecb60b02e)
uac: safety check to be sure the reg hash table is initialized

- reported by Alex Villacís Lasso

(cherry picked from commit b1900f66cc4acd254f1e6750538f31a3653fcd7f)
(cherry picked from commit 35d83b91a8654a2218bf1ba900d7486fad189851)
dialog: proper detection of keepalive flag for destination

- credit to Bill Radis, FS#416, for report and fix

(cherry picked from commit 933a621f40eaa31b193e76f162f9cc016b49aeac)
(cherry picked from commit 2eed3023870f793b6824d091b75099bc9a82edf9)
app_perl: print return code if perl_parse() failes

(cherry picked from commit 6c5ebff42c1ee702ab4a859ffdd5ffeccbf8e11d)
(cherry picked from commit a8b3660d0048fe81f2d8961c967fb839558c465a)
mtree: safety checks for column types and values

- following the report FS#412 by adeel

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

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

- reported by Alex Villacís Lasso

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

(cherry picked from commit a95cae3fb6a62120b7fe2770fb565195178bb6f7)
(cherry picked from commit 63afdda4fcf20156ad5db1be02481ab47404a602)
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)
(cherry picked from commit ca4cbf7e2929bd368f15bac148ffa6cbc9abb2d1)
permissions: peer_tag_mode is integer, not string

Fixing example in doc file

(cherry picked from commit b745f5869e86bc7cce774dc4b54be9a1be90e3e5)
(cherry picked from commit e4ff5dac04eb09191e5185dae6146100e8772bef)
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)
(cherry picked from commit adac3876d273ac2d32d684778d30f3aa36cc914d)
srdb1: get rid of llvm warnings related to extern inline definitions

(cherry picked from commit 4cb7abe093ce0c56a4661377f9792fc417f83786)
(cherry picked from commit df80c0aa34fd5edf6c9fbcbf1e5e53b4fa0d7b2d)
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)
(cherry picked from commit 3cbb00ecde32696c334384462b9e06b924d13244)
tmrec: fixed typo in header file guard define

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

(cherry picked from commit eb5b9c6965d1da46f8cb45d3ac2eb6598b3b6dea)
(cherry picked from commit 3d8df518f78eefd706b6c98f1dd90e739d2fec39)
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)
(cherry picked from commit 07c25fe8bf8425cdc7f909ea5b16670a65254ff9)
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)
(cherry picked from commit da5beb9839ea5a6a2e27dbe2fff8866b2d4d69ca)
tmx: properly receive the branch index for $T(...) in the branch_failure_route

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

(cherry picked from commit ac2e49b41840e0b05750b20c367a6c380caa983a)
(cherry picked from commit 3c686813c88ad575e7085351297f4d0ae4f2cfe1)