| 285 | } |
| 286 | |
| 287 | TranEntry *SipDialog::findTranEntry() |
| 288 | { |
| 289 | if (this->mTranId == 0) { |
| 290 | // No attached transaction. Can happen if we jumped the gun (the dialog is created before the transaction |
| 291 | // and there could be a race with an incoming message) or if we responded with an early error |
| 292 | // to a dialog and never created a transaction for it, for example, 486 Busy Here. |
| 293 | return NULL; |
| 294 | } |
| 295 | return gNewTransactionTable.ttFindById(this->mTranId); |
| 296 | } |
| 297 | |
| 298 | |
| 299 | TranEntry *SipDialog::createMTTransaction(SipMessage *invite) |
no test coverage detected