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

Method smGetPrecis

SIP/SIPMessage.cpp:336–344  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

334}
335
336string SipMessage::smGetPrecis() const
337{
338 const char *methodname = smGetMethodName(); // May be empty, but never NULL
339 if (*methodname) {
340 return format("method=%s to=%s",methodname,smGetToHeader().c_str());
341 } else {
342 return format("response code=%d %s %s to=%s",smGetCode(),smGetReason(),smCSeqMethod().c_str(),smGetToHeader().c_str());
343 }
344}
345
346
347// Multipart SIP body looks like this:

Callers 3

siWriteMethod · 0.80
newDriveIncomingMethod · 0.80
handleInviteMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected