[SR-Users] Tag maximum size/length

Grant Bagdasarian GB at cm.nl
Thu Mar 28 12:41:39 CET 2013


Do you mean "implementation" in the context of Kamailio's implementation of SIP? If so, what if certain SIP clients implement it in a different way and their Tag values exceed this limitation? 

-----Original Message-----
From: Jiri Kuthan [mailto:jiri at iptel.org] 
Sent: Thursday, March 28, 2013 11:42 AM
To: Kamailio (SER) - Users Mailing List
Cc: Grant Bagdasarian
Subject: Re: [SR-Users] Tag maximum size/length

On 3/28/13 11:21 AM, Grant Bagdasarian wrote:
> Hello,
>
> Is there a maximum length/size defined for the From and To Tag?
>
> The RFC states: “it MUST be globally unique and cryptographically random with at least 32 bits of randomness”.
>
> Though I can’t find anything in the RFC about the maximum.
>
> The sip_capture table stores the to_tag and from_tag in a varchar(64). Does this mean the max is 64?
>
> Source: https://code.google.com/p/homer/source/browse/sql/create_sipcapture.sql

Yes, that's an implementation's limitation.

-jiri


More information about the sr-users mailing list