Fix parsing of the SIP URI in db_get_auth_id() .

Closes #340.

(cherry picked from commit 465a978b812a1eae6a219e26f9a55d1d985a176b)
Fix how the contact URI is build.

Do not add transport info to URI when storing it, but rather when using it - avoid double "transport" param.

(cherry picked from commit bef1f938b8e6479b563c1164e0110c76753b7b02)
dialog: Fix dialog_admin documentation regarding column names.

(backport from b519d6997e6faa654ff4a513843359008f8cb66e)
Merge pull request #352 from wdoekes/wjd-dialog-modparam-columns-1.8

dialog: Fix dialog_admin documentation regarding column names.
Compatibility fix for add_body() with new body.

When computing the new content-len, accept the case when there is no pre-existing body and a newly added body.
Reported by Antonis Psaras via LinkedIn

(cherry picked from commit 8054dbfb4d0c5c621d35db6bc886da41d3a05294)

Conflicts:
	msg_translator.c
fix rr force_send_socket when using mhomed

(cherry picked from commit 56ca96a8d25724d74fc6cd31a1125933dfc62f1c)
db_unixodbc: fix query result handling and improve performance

Until now, query rows were incrementally stored in a list with
separately allocated length and string buffers, along with a great deal
of useless pointer dereferencing, effectively wasting CPU cycles and pkg
mem usage.

This patch eliminates the linked list logic with a global buffer of
pointers (doubling in size when required) meant to hold each result column.
Each column is transparently freed by the DB backend. This completes
commit d63ee19a8.
(cherry picked from commit 683dfaa63df0af317f7485042539bdacf8646eab)

Conflicts:

	modules/db_unixodbc/list.c
	modules/db_unixodbc/list.h
	modules/db_unixodbc/row.c
(cherry picked from commit baa9c36421bc62ef1f1a389fd33d3a5ce0ab3522)
RPM spec: support for el7
Fix bogus unsigned to signed int conversion.

This leads to failures of computing VIA branches when hash label is higer than 2^31

(cherry picked from commit 2759890fcf41c1af1237206a0f97957cca1f635c)
Fix restoring route type and AVP list when droping branch.

Closes #365.

(cherry picked from commit 9e033465cb2328dd10b6e0ac0d09bf92136dfd33)
increase version to 1.8.6
update ChangeLog for 1.8.6
exec: properly handle exec replies

when using exec on replies, populate the reply code and reason instead of
R-URI variables

(cherry picked from commit 7e5bbcf4e522eece1222cb49d2a69790a9992957)

Conflicts:
	modules/exec/exec_hf.c

(cherry picked from commit e6a36b5324e18c3f473b393b1290f2af3e29868a)
Changes to stop keepalives on unregisters

Observed cases where keepalives from `nat_traversal` continued after unregister were traced back to a few lines of code which prevented stopping keepalives on unregister events.
(cherry picked from commit f4ed457bc10d6ddfcd6dc77dcc9e460e767bdc4b)

(cherry picked from commit 8187a92d48abe24643f8ea2f1b0988857f0ccb1b)
permissions: raise the proper error when the IP is not provided

(cherry picked from commit a4f849d3e6553182205fabd1dfbdf5c21005e188)