Ensure that if SipServer is configured via XML, right instance is used

Signed-off-by: Nicolas <nicolas@cipango.org>
Fix compilation issue

Signed-off-by: Nicolas <nicolas@cipango.org>