Copy sip headers for 200 OK sent or received on re-invite.
git-svn-id: http://voip.null.ro/svn/yate@6412 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
22ebf95683
commit
80a92b00a2
|
@ -7273,6 +7273,7 @@ bool YateSIPConnection::processTransaction2(SIPEvent* ev, const SIPMessage* msg,
|
|||
Message* m = message("call.update");
|
||||
decodeIsupBody(*m,msg->body);
|
||||
copySipBody(*m,msg->body);
|
||||
copySipHeaders(*m,*msg);
|
||||
if (code < 300) {
|
||||
m->addParam("operation","notify");
|
||||
String natAddr;
|
||||
|
@ -8093,6 +8094,7 @@ bool YateSIPConnection::msgUpdate(Message& msg)
|
|||
updateTarget(m1);
|
||||
SIPMessage* m = new SIPMessage(m1,200);
|
||||
m->setBody(sdp);
|
||||
copySipHeaders(*m,msg);
|
||||
m_tr2->setResponse(m);
|
||||
if (m_tr2->autoAck())
|
||||
detachTransaction2();
|
||||
|
|
Loading…
Reference in New Issue