Fixes r168 in public. This involves the handling of "481 Call leg/transaction does not exist. Basically, we occasionally get this in response to a BYE or CANCEL (as it's been closed on the switch side). This was almost certainly fixed in a previous commit. I've updated the log message to clarify that the connection is cleared when we receive a 481.

git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@3150 19bc5d8c-e614-43d4-8b26-e1612bc8e597
This commit is contained in:
Kurtis Heimerl 2012-02-05 02:53:38 +00:00
parent 75541d23a3
commit f255bf728c

View file

@ -638,7 +638,7 @@ SIPState SIPEngine::MODWaitForOK()
saveResponse(ok);
osip_message_free(ok);
if (code!=200) {
LOG(WARNING) << "unexpected " << code << " response to BYE, from proxy " << mProxyIP << ":" << mProxyPort;
LOG(WARNING) << "unexpected " << code << " response to BYE/CANCEL, from proxy " << mProxyIP << ":" << mProxyPort << ". Assuming other end has cleared";
}
break;
}