Re: [SR-Users] Lua script calling rewriteuri

2012-06-13 Thread Sharif Tanvir Rahman
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

[SR-Users] Lua script calling rewriteuri

2011-06-21 Thread Sharif Tanvir Rahman
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'