[Kamailio-Users-ES] Modificar Headers

Iñaki Baz Castillo ibc at aliax.net
Thu Feb 5 15:34:14 CET 2009


El día 5 de febrero de 2009 15:13, David A Céspedes
<ingdavidcespedes at cable.net.co> escribió:
> Totalmente de acuerdo que el problema no es ese. Pero definitivamente un SIP
> Proxy si debería poder cambiar los encabezados "Via:" ¿o no?

Pues no. Si lees todo el párrafo del RFC 3323 que antes mencionabas
verás que al principio dice:

-------------------------
5.1 Header Privacy

   If a privacy level of 'header' is requested, then the originating
   user has asked the privacy service to help to obscure headers that
   might otherwise reveal information about the originator of the
   request.  However, the values that have been so obscured must be
   recoverable when further messages in the dialog need to be routed to
   the originating user agent.  In order to provide these functions the
   privacy service must frequently act as a transparent back-to-back
   user agent *********(B2BUA)**********.
   [...]
   Privacy services operating on requests SHOULD remove all Via headers
   that have been added to the request prior to its arrival at the
   privacy service
-------------------------

Así que habla de un *B2BUA* y no de un proxy. El RFC 3261 dice bien
claro que un proxy NO puede quitar cabeceras Via. Además, es que no
tiene sentido quitar un Via ya que entonces ¿cómo sabrá el proxy a
dónde rutar las respuestas?

Definitivamente un proxy NO puede quitar cabeceras Via, va contra lo
más core del RFC 3261 :)


Saludos.

-- 
Iñaki Baz Castillo
<ibc at aliax.net>




More information about the Users-es mailing list