[asterisk-dev] Broken SIP dialog if INFO messages received beforefinal OK

Karl H. Putz karl.putz at khptel.com
Mon Apr 19 11:24:17 CDT 2010


Section 12.1.1 of RFC 3261.  Check out the last portion of the copied  
text:
12.1.1 UAS behavior When a UAS responds to a request with a response  
that establishes a dialog (such as a 2xx to INVITE), the UAS MUST copy  
all Record-Route header field values from the request into the  
response (including the URIs, URI parameters, and any Record-Route  
header field parameters, whether they are known or unknown to the UAS)  
and MUST maintain the order of those values. The UAS MUST add a  
Contact header field to the response. The Contact header field  
contains an address where the UAS would like to be contacted for  
subsequent requests in the dialog (which includes the ACK for a 2xx  
response in the case of an INVITE).

The issue is that the header exists under most conditions except in  
the case where a SIP INFO digit is passed prior to Asterisk responding  
to the original Invite with the OK.


Karl H. Putz
(614)571-0899







On Apr 19, 2010, at 11:28 AM, Nick Lewis wrote:

>> Double checking the RFC confirms that the 2XX response to an INVITE
> requires the Contact Header.
>
> Where is this specified? I have looked at RFC2976 and it seems to
> prohibit a Contact Header in the 2XX response
>
>          Header                    Where    INFO
>          ------                    -----    ----
>          Contact                     R       o
>          Contact                    1xx      -
>          Contact                    2xx      -
>          Contact                    3xx      -
>          Contact                    485      -
>
>
> -- N_L
>
> _____________________________________________________________________
> This message has been checked for all known viruses by Star Internet  
> delivered through the MessageLabs Virus Control Centre.
> _____________________________________________________________________
> Disclaimer of Liability
> ATL Telecom Ltd shall not be held liable for any improper or  
> incorrect use of the  information described and/or contained herein  
> and assumes no responsibility for anyones use  of the information.  
> In no event shall ATL Telecom Ltd be liable for any direct,  
> indirect,  incidental, special, exemplary, or consequential damages  
> (including, but not limited to,  procurement or substitute goods or  
> services; loss of use, data, or profits; or business  interruption)  
> however caused and on any theory of liability, whether in contract,  
> strict  liability, or tort (including negligence or otherwise)  
> arising in any way out of the use of  this system, even if advised  
> of the possibility of such damage.
>
> Registered Office: ATL Telecom Ltd, Fountain Lane, St. Mellons  
> Cardiff, CF3 0FB
> Registered in Wales Number 4335781
>
> All goods and services supplied by ATL Telecom Ltd are supplied  
> subject to ATL Telecom Ltd standard terms and conditions, available  
> upon request.
>
> -- 
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-dev
>




More information about the asterisk-dev mailing list