Pick default remote host:port from rURI so that connection_id gets applied.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6191 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
2a965f8d80
commit
a899f5516e
|
@ -9304,8 +9304,9 @@ bool SIPDriver::sendMethod(Message& msg, const char* method, bool msgExec,
|
||||||
}
|
}
|
||||||
sip = new SIPMessage(method,uri);
|
sip = new SIPMessage(method,uri);
|
||||||
YateSIPPartyHolder holder;
|
YateSIPPartyHolder holder;
|
||||||
const char* host = msg.getValue("host");
|
URI rUri(uri);
|
||||||
int port = msg.getIntValue("port");
|
const char* host = msg.getValue("host",rUri.getHost());
|
||||||
|
int port = msg.getIntValue("port",rUri.getPort());
|
||||||
holder.setParty(msg,false,String::empty(),host,port);
|
holder.setParty(msg,false,String::empty(),host,port);
|
||||||
holder.setSipParty(sip,line,true,host,port);
|
holder.setSipParty(sip,line,true,host,port);
|
||||||
if (line)
|
if (line)
|
||||||
|
|
Loading…
Reference in New Issue