[OpenSIPS-Users] Removing a VIA line required by Telco.

Bogdan-Andrei Iancu bogdan at voice-system.ro
Tue Apr 21 10:46:15 CEST 2009


Hi Iñaki,

Iñaki Baz Castillo wrote:
> El Lunes, 20 de Abril de 2009, David Gilbert escribió:
>
>   
>> Can't OpenSIPS be smart and remember the other VIA line as part of the
>> "state" it keeps?
>>     
>
> This would require storing the second (and others) Via headers in memory and 
> appending them back in the responses. Obviously OpenSIPS (as any proxy in the 
> world) is not designed for such a mess. Why would a proxy behave as anything 
> but a proxy? It doesn't make sense.
>   
Actually, theoretically speaking, it can do that - as being transaction 
statefull and VIA being relevant at transaction level, openSIPS could 
strip all received VIA , store them into transaction and restore them in 
replies when sending out.
Actually, IMHO, VIA stack is pointless in transactions statefull proxies 
.....because a proxy keeps in transaction all information required to 
route back the replies...no need for VIA..

With some hacks in TM, you could do that, but it is a bit non-sense from 
RFC pov.

Regards,
Bogdan



More information about the Users mailing list