[Kamailio-Users] we don't follow the RFCs!

Klaus Darilion klaus.mailinglists at pernau.at
Fri Nov 27 09:43:31 CET 2009



Olle E. Johansson schrieb:
> 26 nov 2009 kl. 22.18 skrev Iñaki Baz Castillo:
> 
>> El Martes, 24 de Noviembre de 2009, BERGANZ François escribió:
>>> Hello all,
>>>
>>>
>>>
>>> As I could see in the source, we don’t follow the RFCs.
>>>
>>> If I send an INVITE, kamailio response a “Giving a try”
>>>
>>> It isn’t in the RFCs! It is normaly “Trying”.
>>>
>>> I could change it in
>>>
>>> -src/modules/tm/t_funcs.c
>>>
>>> -line: static str relay_reason_100 = str_init("Giving a try");
>> That's just a response description, no more. RFC 3261 doesn't state that the 
>> 100 response reason must be "Trying", it could be any text (i.e. "your money 
>> is important for us").
> 
> Which also means that any SIP implementation that tries to parse the text is broken.
> Only the number is significant.

Yes. Parsing for internal use is broken. But displaying it to the user 
might be useful in case of error responses.

regards
klaus



More information about the Users mailing list