// Add a new Via with a new unique branch. void SipMessage::smAddViaBranch3(string transport, string proxy, string branch) { string newvia = format("SIP/2.0/%s %s;branch=%s\r\n",transport,proxy,branch); commaListPushFront(&msmVias,newvia); }
void SipMessage::smAddViaBranch(SipBase *dialog, string branch) { // Add a visible hint to the tag for debugging. Use the Request Method, if any. string newvia = format("SIP/2.0/%s %s;branch=%s\r\n",dialog->transportName(),dialog->localIPAndPort(),branch); commaListPushFront(&msmVias,newvia); }
// Add a new Via with a new unique branch. void SipMessage::smAddViaBranch(string transport, string branch) { string newvia = format("SIP/2.0/%s %s;branch=%s\r\n",transport,localIPAndPort(),branch); commaListPushFront(&msmVias,newvia); }