| 510 | } |
| 511 | |
| 512 | static int tm_existing_ack_trans(struct sip_msg *msg) |
| 513 | { |
| 514 | struct cell *t = get_t(); |
| 515 | if (t == T_UNDEFINED) { |
| 516 | if (t_lookup_request(msg, 0) != -1) { |
| 517 | LM_DBG("e2e ACK or known CANCEL, do not replicate\n"); |
| 518 | return 1; |
| 519 | } |
| 520 | t = get_t(); /* fetch again the transaction */ |
| 521 | } |
| 522 | if (t) { |
| 523 | LM_DBG("transaction already present here, no need to replicate\n"); |
| 524 | return 1; |
| 525 | } |
| 526 | return 0; |
| 527 | } |
| 528 | |
| 529 | static int tm_existing_invite_trans(struct sip_msg *msg) |
| 530 | { |
no test coverage detected