--> first version for method register()
--> Add correct working method register() in class SipLayer