mirror of
https://github.com/PentHertz/OpenBTS.git
synced 2026-05-10 20:25:31 +00:00
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:
parent
83f8196e24
commit
aa1e334cd9
2 changed files with 4 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue