r4605 in private:

Make the sending of 100 Trying optional for SIP MESSAGE, even though it violates RFC3428.
Closes #1194.

git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@4613 19bc5d8c-e614-43d4-8b26-e1612bc8e597
This commit is contained in:
Kurtis Heimerl
2012-12-11 06:11:23 +00:00
parent 83f8196e24
commit aa1e334cd9
2 changed files with 4 additions and 1 deletions

View File

@@ -468,7 +468,9 @@ bool SIPInterface::checkInvite( osip_message_t * msg)
}
// Send trying, if appropriate.
if (serviceType!=L3CMServiceType::MobileTerminatedShortMessage) transaction->MTCSendTrying();
bool sendTrying = serviceType!=L3CMServiceType::MobileTerminatedShortMessage;
sendTrying = sendTrying || !gConfig.getBool("SIP.RFC3428.NoTrying");
if (sendTrying) transaction->MTCSendTrying();
// And if no channel is established yet, page again.
if (!chan) {