mi_http: code cleanup
- added support for rule fallback - if all GWs from a rule failed, the next rules (for same or shorter prefix) are used
- do_routing() last param converted to string of flags: F - do fallback, L - strict len matching on prefix , W - use weights on gw ordering
no longer log BYEs from the caller's side for early dialogs as bogus
Add +sip.instance header parameter when constructing Contact headers with GRUUs
- the client authentication (in opensips) supports also precalculated HA1 (instead of plaintext passwords)
  Closes feature request #3413312 
Don't assume the previous hop was a strict router if the RURI contains a local
domain for an in-dialog request if the URI is a GRUU
Added support for variables in the acc_*_request methods exported by the acc module. It also supplies a default reason if just a sip code is accounted.
Examples:
	acc_db_request("$T_reply_code $(<reply>rr)");
	#This will be accounted with the reason 'Not Found'
	acc_db_request("404");

Contributed by Ryan Bullock
Closes Patch #3504627
- fixed bug where table name length would not be updated
- documented the db_table parameter
- fixed bug where table name length would not be updated
- documented the db_table parameter
- documented the replication_mode parameter
TM will no longer do retransmission for the 407/401 replies (if no ACK is received) for both local or proxied replies.

According to RFC 3261, retransmitting 407s/401s is probably a bad idea:

26.3.2.4 DoS Protection

<snip/>

UAs and proxy servers SHOULD challenge questionable requests with
only a single 401 (Unauthorized) or 407 (Proxy Authentication
Required), forgoing the normal response retransmission algorithm, and
thus behaving statelessly towards unauthenticated requests.

Retransmitting the 401 (Unauthorized) or 407 (Proxy Authentication
Required) status response amplifies the problem of an attacker
using a falsified header field value (such as Via) to direct
traffic to a third party.

In summary, the mutual authentication of proxy servers through
mechanisms such as TLS significantly reduces the potential for rogue
intermediaries to introduce falsified requests or responses that can
deny service. This commensurately makes it harder for attackers to
make innocent SIP nodes into agents of amplification.


Credits for original patch to "David".
Closed patch #3496382
- changed the label on 1.8.0 from dev to beta
* Fixed configuration tool to build correctly inside debian packages
* Updated package description to mention configuration tool (opensipsmc)
- small update
-fixed path in osipsconsole when installing
 Closes bug #3365035
- changed from opensipsmc to osipsconfig :P
Fixed rtpproxy engage in branch route for early media
Closes bug #3498720
Force symmetric RTP in rtpproxy_* functions using the 's' flag
('w' flag is also supported for backwards compatibility)
Closes patch #3411513
updated migration tool for 1.7 -> 1.8 DB migration
- fixed race condition between setting the retransmission timer (at request time) and reseting it at reply time. Sometime, the resetting may happen before the actual setting (due parallel processing) and end up with bogus retransmissions
Thanks for reported and for help of troubleshooting to Damien Sandras
mentioned that you can use menuconfig from within debs to generate cfg files, by running osipsconfig