Module: sip-router Branch: ser_core_cvs Commit: 5525e5ccad77fb277be594a88e09e9ea19daf30e URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=5525e5cc...
Author: Miklos Tirpak miklos@iptel.org Committer: Miklos Tirpak miklos@iptel.org Date: Wed Apr 8 11:44:23 2009 +0000
Do not try to backlist and do not try DNS failover for blind UACs as they do not have a destination address.
---
modules/tm/timer.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/modules/tm/timer.c b/modules/tm/timer.c index a4ff7e5..0c0139a 100644 --- a/modules/tm/timer.c +++ b/modules/tm/timer.c @@ -449,7 +449,9 @@ inline static void final_response_handler( struct retr_buf* r_buf, DBG("DEBUG: final_response_handler:stop retr. and send CANCEL (%p)\n", t); #endif if ((r_buf->branch < MAX_BRANCHES) && /* r_buf->branch is always >=0 */ - (t->uac[r_buf->branch].last_received==0)){ + (t->uac[r_buf->branch].last_received==0) && + (t->uac[r_buf->branch].request.buffer!=NULL) /* not a blind UAC */ + ){ /* no reply received */ #ifdef USE_DST_BLACKLIST if (cfg_get(core, core_cfg, use_dst_blacklist)