Would just like to add that why send 100 at all. You may, but why? You do not necessarily need the 100 to stop the INVITE retransmission. You need a message, which could be a final response, to be send out in the specified time to quench retransmissions.
Shouldn't that be right to say that as far as possible the final responses should be transmitted rather than inter mediate responses? Do you think that a proxy will require more than a few milliseconds to figure out that it needs to send a 401/407? Or do you think that proxy will take substantially more time to generate the 401/407 response compared to 100 response? Trying to consult a remote database before generating a 401/407, are you? How much time do you think the proxy will on an average take to generate 401/407. If lets say you find out that 80% of the time it can generate a 401/407 response before that retransmission timer expires at the remote end, why waste a 100 response. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Ramachandran Iyer Sent: Monday, August 23, 2004 2:24 PM To: prabhan; [EMAIL PROTECTED] Subject: Re: [Sip-implementors] 100 Trying before 401/407response messages inline.. prabhan <[EMAIL PROTECTED]> wrote: Hello, If a User agent Server or a Proxy server is authenticating an incoming reuest, say INVITE or register , Can the server send 100 trying before sending 401/407 Authentication required ? >>>> Infact, 100 trying is supposed to be sent before (4xx final response). UAS sends 1xx if it cannot send a final response within 200ms. for proxy, it will immdetiately send a 100 to the UAC and transmit the INVITE to the other side. 100 Trying is to be sent to stop the retransmission of INVITE requests . >>> YES. Suppose the server sends 401/407 first and after the authentication is successful sends 100 trying, will there not be retransmissions of INVITE requests ? >>> That is never the case. Provisonal response (1xx) is sent only b'cos one does'nt have a final response. So once a final repsonse like a 4xx is sent, there is no need to send a 1xx. Thanks, Prabha N _______________________________________________ Sip-implementors mailing list [EMAIL PROTECTED] http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors --------------------------------- Do you Yahoo!? Win 1 of 4,000 free domain names from Yahoo! Enter now. _______________________________________________ Sip-implementors mailing list [EMAIL PROTECTED] http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors _______________________________________________ Sip-implementors mailing list [EMAIL PROTECTED] http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors
