From e8309f362020577201f3062427c98a6b52d18450 Mon Sep 17 00:00:00 2001 From: Thomas Ries Date: Mon, 4 Feb 2008 21:54:33 +0000 Subject: [PATCH] *** empty log message *** --- src/plugin_defaulttarget.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/plugin_defaulttarget.c b/src/plugin_defaulttarget.c index bd18654..91503f8 100644 --- a/src/plugin_defaulttarget.c +++ b/src/plugin_defaulttarget.c @@ -133,6 +133,13 @@ int plugin_process(int stage, sip_ticket_t *ticket){ return sts; } + /* Catch the ACK following the rediredct */ + if ((ticket->direction == DIRTYP_UNKNOWN) && + (MSG_IS_REQUEST(ticket->sipmsg)) && + (MSG_IS_ACK(ticket->sipmsg))) { + /* eat it up and don't react */ + return STS_SIP_SENT; + } return STS_SUCCESS; }