forked from retronetworking/yate
Ignore To tags in 100 answers, they are not supposed to establish a dialog.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5587 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
f7287c7d7b
commit
3843f27737
|
@ -507,10 +507,14 @@ SIPTransaction::Processed SIPTransaction::processMessage(SIPMessage* message, co
|
||||||
const NamedString* ns = message->getParam("To","tag");
|
const NamedString* ns = message->getParam("To","tag");
|
||||||
if (m_tag.null()) {
|
if (m_tag.null()) {
|
||||||
if (ns) {
|
if (ns) {
|
||||||
// establish the dialog
|
if (message->code > 100) {
|
||||||
m_tag = *ns;
|
// establish the dialog
|
||||||
DDebug(getEngine(),DebugInfo,"SIPTransaction found dialog tag '%s' [%p]",
|
m_tag = *ns;
|
||||||
m_tag.c_str(),this);
|
DDebug(getEngine(),DebugInfo,"SIPTransaction found dialog tag '%s' [%p]",
|
||||||
|
m_tag.c_str(),this);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
Debug(getEngine(),DebugMild,"Received To tag in 100 answer! (sender bug)");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (!ns) {
|
else if (!ns) {
|
||||||
|
|
Loading…
Reference in New Issue