exposes the first VIA header in AmSipMsg::via1.

patch by Robert Szokovacs.
sayer/1.4-spce2.6
Raphael Coeffic 15 years ago
parent 325762d2da
commit 5818f8bcfd

@ -16,6 +16,7 @@ class _AmSipMsgInDlg
string contact;
string content_type;
string via1;
string hdrs;
string body;
unsigned int cseq;

@ -705,6 +705,8 @@ void SipCtrlInterface::prepare_routes_uac(const list<sip_header*>& routes, strin
route_field += ", " + c2stlstr((*it)->value);
}
}
req.via1 = c2stlstr(msg->via1->value);
}
void SipCtrlInterface::prepare_routes_uas(const list<sip_header*>& routes, string& route_field)

Loading…
Cancel
Save