def __init__(self, server=False, sipaddr=('127.0.0.1', 5062)): '''Initialize the P2P-SIP agent''' AbstractAgent.__init__(self, sipaddr=sipaddr) self.p2p = ServerSocket( server=server) # for initial testing start as bootstrap server self.location = None # to prevent accidental access to location dictionary