Fixed deadlock when calling dr_number_routing
Added the matched prefix to the output of the dr_number_routing MI func
Fixed CDR writing for replicated dialogs
(cherry picked from commit 128d3777f4a11a21eabb3e94a720c223bf0cf654)
lua, perl: fix compilation issues (from commit dcc07b4c)
Merge pull request #316 from dsanders11/master

New PV which holds the current route type
Added EVENT_ROUTE in $rT output
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