[Kamailio-Users] incorrect tag in ACK message

Klaus Darilion klaus.mailinglists at pernau.at
Tue Nov 18 22:39:54 CET 2008


Alex Balashov wrote:
> Klaus Darilion wrote:
> 
>> actually transaction matching is based on branch id in Via header
> 
> Entirely? 

I do not know either. RFC 3261 is your friend :-)

    The branch parameter in the topmost Via header field of the request
    is examined.  If it is present and begins with the magic cookie
    "z9hG4bK", the request was generated by a client transaction
    compliant to this specification.  Therefore, the branch parameter
    will be unique across all transactions sent by that client.  The
    request matches a transaction if:

       1. the branch parameter in the request is equal to the one in the
          top Via header field of the request that created the
          transaction, and

       2. the sent-by value in the top Via of the request is equal to the
          one in the request that created the transaction, and

       3. the method of the request matches the one that created the
          transaction, except for ACK, where the method of the request
          that created the transaction is INVITE.

So actually the Via header and CSEq header

regards
klaus




More information about the Users mailing list