[Serusers] Moved Temporarily 302 - redirect server
Miklos Tirpak
miklos at iptel.org
Fri Mar 14 11:23:34 CET 2008
Hi Lada,
if SER generates the response:
append_to_reply("Contact: sip:user at host;param=value\r\n");
if SER forwards the response:
(There might be a better way, the following example replaces the whole
header field. And I am not sure that it works correctly with multiple
contact headers.)
assign_hf_value("Contact", "%@contact;param=value");
Miklos
On 03/14/2008 10:35 AM, Ladislav Andel wrote:
> Hi all,
> can I with SER add following in 302 response?
> 1) add a parameter in Contact header that a UA will read and copy it to
> the new INVITE and how would I do it in ser config.
> 2) or add a new header field with in 302 that a UA will read and copy it
> to the new INVITE
>
> The first should be possible as RFC3261 in 20.10 shows in example but
> I'm wondering if SER can do it too.
>
> Thank you,
> Lada
> _______________________________________________
> Serusers mailing list
> Serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
More information about the sr-users
mailing list