[Users] Duplicate INVITEs - t_lookup_request and t_check_trans

Mahesh Paolini-Subramanya mahesh at corp.aptela.com
Thu Dec 14 17:31:32 CET 2006


Well, i read the documentation again, and found t_lookup_request, and t_check_trans.
Question 1 - t_lookup_request() creates the transaction if it doesn't exist, correct?  However, t_check_trans only checks to see if the transaction already exists, correct?

Question 2 - Assuming that t_check_trans only checks to see if the transaction already exists, then is the following correct?

Currently I do the following (after stripping out a bunch of stuff)

if (!t_relay()) {
   if (!is_method("ACK")) {
      sl_reply_error();
   }
}

should this, instead, actually look like the following?
if (is_method("INVITE")) {
   if (if !t_check_tran()) {
      t_relay();
   } 
} else if (!is_method("ACK")) {
   sl_reply_error();
}


      
----- Original Message -----
From: Klaus Darilion <klaus.mailinglists at pernau.at>
To: mahesh at aptela.com
Cc: users <users at openser.org>
Sent: Thursday, December 14, 2006 2:06:01 AM GMT-0600
Subject: Re: [Users] Duplicate INVITEs

Mahesh Paolini-Subramanya wrote:
> We're seeing sporadic situations where fones 
> a) send an INVITE 
> b) ignore the 100-Trying response, and instead 
> c) send another INVITE with the same sequence number. 
> 
> The question is, What should happen here? 

If the message is completely identical then it is a retransmission. 
Retransmissions should be detected by tm module (e.g. t_relay()) and 
absorbed,

regards
klaus


> Currently, we send back a 500 response (server error). 
> Is this correct? (i think not, cause it invariably causes the fone to go fast busy). 
> Is this some other response that should occur? 
> 
> poring over 3261 resulted in a headache, and no additional clarity... 
> 
> 
> 
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users


-- 
Klaus Darilion
nic.at



-- 
*******************************************
Mahesh Paolini-Subramanya      (703) 386-1500 x9100
CTO                                         mahesh at aptela.com
Aptela, Inc.                               http://www.aptela.com
"Aptela: How Business Answers The Call"
*******************************************





More information about the sr-users mailing list