Commit 2f5d0b68 authored by jehan's avatar jehan

do not create incoming transaction in case of ACK when suspending SipEvent

parent f6700ca8
......@@ -258,8 +258,10 @@ void RequestSipEvent::unlinkTransactions() {
void RequestSipEvent::suspendProcessing() {
SipEvent::suspendProcessing();
// Become stateful if not already the case.
createIncomingTransaction();
if (getSip()->sip_request->rq_method != sip_method_ack) {//Currently does not make sens to create incoming transaction in case of ACK, specialy by forward module.
// Become stateful if not already the case.
createIncomingTransaction();
}
}
RequestSipEvent::~RequestSipEvent() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment