def getAddr(self):
        if self.port == '':
            return (self.hostname, SipConf.default_port)
        else:
            return (self.hostname, self.port)
dataset/ETHPy150Open hgascon/pulsar/pulsar/core/sippy/SipVia.py/SipVia.getAddr/original