Caller number is forwarded to SIP.

git-svn-id: http://yate.null.ro/svn/yate/trunk@258 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2005-03-17 15:11:15 +00:00
parent 10af040d96
commit 42b71cbaf2
1 changed files with 1 additions and 1 deletions

View File

@ -752,7 +752,7 @@ YateSIPConnection::YateSIPConnection(Message& msg, const String& uri)
setReason();
m_uri.parse();
SIPMessage* m = new SIPMessage("INVITE",uri);
plugin.ep()->buildParty(m);
m->complete(plugin.ep()->engine(),msg.getValue("caller"),msg.getValue("domain"));
m_host = m->getParty()->getPartyAddr();
m_port = m->getParty()->getPartyPort();
SDPBody* sdp = createPasstroughSDP(msg);