MCPcopy Create free account
hub / github.com/RangeNetworks/openbts / localContact

Method localContact

SIP/SIPBase.h:352–354  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

350 return format("<sip:%s@%s>",localUsername,localIP());
351 }
352 string localContact(string localUsername, int expires=3600) {
353 return format("<sip:%s@%s>;expires=%u",localUsername,localIPAndPort(),expires);
354 }
355 string proxyIP() const { return mProxy.mipIP; }
356 string transportName() { return string("UDP"); } // TODO
357 bool isReliableTransport() { return transportName() == "TCP"; } // TODO

Callers 1

SipMessageReplyMethod · 0.80

Calls 1

localIPAndPortFunction · 0.85

Tested by

no test coverage detected