| 297 | |
| 298 | |
| 299 | TranEntry *SipDialog::createMTTransaction(SipMessage *invite) |
| 300 | { |
| 301 | // Create an incipient TranEntry. It does not have a TI yet. |
| 302 | TranEntry *tran = NULL; |
| 303 | //string& callerId = this->mRemoteUsername; |
| 304 | string callerId = sipRemoteDisplayname(); |
| 305 | FullMobileId msid; |
| 306 | msid.mImsi = invite->smGetInviteImsi(); |
| 307 | if (invite->isINVITE()) { |
| 308 | tran = TranEntry::newMTC(this,msid,GSM::L3CMServiceType::MobileTerminatedCall,callerId); |
| 309 | // Tell the sender we are trying. |
| 310 | this->MTCSendTrying(); |
| 311 | } else { |
| 312 | assert(0); |
| 313 | } |
| 314 | return tran; |
| 315 | } |
| 316 | |
| 317 | // If the cause is handoverOutbound, kill the dialog now: dont send a BYE, dont wait for any other incoming messsages. |
| 318 | // Used for outbound handover, where the SIP session was transferred to another BTS. |
no test coverage detected