[sr-dev] [dialog] Adding more info (variables) to a dialog

Iñaki Baz Castillo ibc at aliax.net
Thu Jul 22 22:03:59 CEST 2010


2010/7/22 Carsten Bock <lists at bock.info>:
> - store the original From-Header in a Dialog-Parameter in order to replace
> the "From"-Header in subsequential requests (e.g. the uac-Module stores this
> in the RR-Headers, would be nice to store this in a Dialog-Parameter
> instead)

Nice, this avoids xtra params in Route header (some gateways complain
against long Route or Record-Route headers).


> - validate subsequential "Routes" by comparing them with the defined Route
> in the original request?

Yes, but note that SIP URI comparison (RFC 3261 19.1.4) is a complex
task. If it's weel done it could be a good security addition (avoid
spoofed BYE's and so).

Regards.


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



More information about the sr-dev mailing list