Fix autodetection of IP subscribed to opensips
Merge branch 'master' of https://github.com/cgrates/cgrates
Calculate stats after mediation storing the results in stordb