commit #37

To retrieve the media realy ip, changed sm.server.ip to sm.relay.ip in
mod_init function.