contact headers to reply, you should use:
>
> sr.hdr.append_to_reply("Contact: <_here_is_your_uri_>\r\n");
>
> Cheers,
> Daniel
>
>
> On 6/20/11 3:23 PM, Sharif Tanvir Rahman wrote:
>
> Hello,
>
> We plan to use Kamailio as redirect server. Corresponding c
Hello,
We plan to use Kamailio as redirect server. Corresponding contact list is to
be fetched by a Lua script from DB.
The problem is about calling the required 'rewriteuri' function:
1. From lua script. both 'sr.rewriteuri()' and 'sr.modf("rewriteuri",
...)" fails to write the 'contact'