The following example shows you how to register to sip server and set local port 5060 as listener port. User contact address is sip:Bob@192.168.2.2:5060 . Method OnReceiveRequest shows you that user will accept any request/call from the server or another sip client.