Hi Miklos,
Miklos Tirpak wrote:
Hi Lada,
if SER generates the response: append_to_reply("Contact: sip:user@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");
Where is the %@contact taken from? Let's say I will always use the same SIP URI there. Will the param=value be included in following INVITE sent from the client somehow? The UA parse the Contact in 302 and place it to Request-URI of new INVITE but where the param=value will be?
thanks, Lada
Miklos
On 03/14/2008 10:35 AM, Ladislav Andel wrote:
Hi all, can I with SER add following in 302 response?
- 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@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers