Re-install dlg callbacks (for restoring FROM/TO hdr) upon re-loading dialogs on startup.
Reported by Jeff Pyle.
Use proper locking function (via the generic locking API)
Reported by Max E. Reyes Vera Juarez.
core: enhance error log for un-parsable msg by adding the source IP and port
(cherry picked from commit 57e60928db2ba2a406026565e4569155fb811b6b)
Also trace the CANCEL requests in case we're doing trace_dialog()
(cherry picked from commit 50463f044c5bd42eb5485cac52419a8ec45ee201)
Do proper return code to script from cachedb_* functions ( treat 0 as success )
(cherry picked from commit 5635d716e0bf1ce8a23688698fe6497fadfe7f23)
Allow drouting module to be used for DID matching only ( where you only have prefixes provisioned, no GWs, and call do_routing with the 'C' flag )
(cherry picked from commit 92a2c9d6061462b2c818da0963e805cbfaa62904)