Merge pull request #1 from OpenSIPS/master

Dialplan Features/Patch Backport
- A new column (named timerec varchar 255 not nullable) in dialplan database schema is needed.
- TimeRec value should be compliant to RFC2445 (Internet Calendaring and Scheduling - Core Object Specification) standards in order to match.
- A timerec failed match doesn't stops dialplan rule searching.
- An empty timerec value is not evaluated in rule matching algorithm.
- Attached patch should to be applied to Dialplan Module rev.5895 (actual master).
Fixed timerec_parsed memory leak problem.
Fixed timerec_parsed memory leak problem on new clean pull request.
Fixed shared memory issue due to parsed_timerec data structure.
Fixed rule->parsed_timerec memory allocation leak
Merge pull request #319 from Parantido/master

dialplan: add possibility of time recurrence based rule enabling (RFC 2445 compatible strings)
dialplan: db schema update

	* new dialplan table version : 5
	* new dialplan column : timerec
regenerate SQL scripts
First dr_api draft
drouting api implementation done
Exported load_dr function for loading dr_api
dr-api removed unnecessary lock when deleting partition
[drouting] Fixed api leak and added rule_id as parameter when adding rule. No more internal lock per partition
dialplan: do not start if a partition fails to initialize
[drouting] dr_api removed unnecessary label
[drouting] dr_api: match_number returns rt_info_t
Fixed the dialog timeout that gets replicated via BIN for updates
(cherry picked from commit 4c08b62cdabb3549ac99c4dc9cae8485d1f40e68)
Matched prefix's length available through match_number function
redis: fix crash when using FQDN in URL