Hi all, I have a simple (SIP Session Timer) sst call where 'Session-Expires' header (SE ) is present in the INVITE but not in the 200 OK constructed at the UAC. This indicates UAS does not support sst.
1. According to the spec (RFC4028), the stateful proxy remembers that SE was in the request, and adds the SE header to the 200OK, but fails to add the Require header (its not initially present either). Is there a way to modify the config to add a 'Require' header to a response when the session expires header was inserted by sst ?
2. Similarly in the mid-call 'refresh' txn, the addition of the SE header to the response does not work for me (v1.3.2). Shouldn't it automatically insert the SE header into the 200, like it did during call setup? When the SE is absent in the response the sst feature is thereafter disabled right?
http://tools.ietf.org/html/rfc4028#section-8.2
-will
El Jueves, 19 de Junio de 2008, William Quan escribió:
Hi all, I have a simple (SIP Session Timer) sst call where 'Session-Expires' header (SE ) is present in the INVITE but not in the 200 OK constructed at the UAC. This indicates UAS does not support sst.
According to the spec (RFC4028), the stateful proxy remembers that SE was in the request, and adds the SE header to the 200OK, but fails to add the Require header (its not initially present either). Is there a way to modify the config to add a 'Require' header to a response when the session expires header was inserted by sst ?
You can add headers to the reply when processing it in on_reply_route. I can't remember now the functions but it does exist. Look at the "tm" module.
El Viernes, 20 de Junio de 2008, Anatoly Pidruchny escribió:
Iñaki Baz Castillo wrote:
You can add headers to the reply when processing it in on_reply_route. I can't remember now the functions but it does exist. Look at the "tm" module.
append_hf function in textops module.
Thanks for the fix.