*** empty log message ***
git-svn-id: http://yate.null.ro/svn/yate/trunk@424 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
236bed08fc
commit
be59653ab3
|
@ -1328,6 +1328,7 @@ bool YateSIPConnection::callRouted(Message& msg)
|
||||||
if (s.startSkip("sip/",false) && s && msg.getBoolValue("redirect")) {
|
if (s.startSkip("sip/",false) && s && msg.getBoolValue("redirect")) {
|
||||||
Debug(this,DebugAll,"YateSIPConnection redirecting to '%s' [%p]",s.c_str(),this);
|
Debug(this,DebugAll,"YateSIPConnection redirecting to '%s' [%p]",s.c_str(),this);
|
||||||
SIPMessage* m = new SIPMessage(m_tr->initialMessage(),302);
|
SIPMessage* m = new SIPMessage(m_tr->initialMessage(),302);
|
||||||
|
s = "<" + s + ">";
|
||||||
m->addHeader("Contact",s);
|
m->addHeader("Contact",s);
|
||||||
m_tr->setResponse(m);
|
m_tr->setResponse(m);
|
||||||
m->deref();
|
m->deref();
|
||||||
|
|
Loading…
Reference in New Issue