Thanks a lot, it worked<br><br><div><span class="gmail_quote">On 1/27/06, <b class="gmail_sendername">Bogdan-Andrei Iancu</b> <<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>not sure I understand your scenario, but to add something to the<br>replies, use texops function append_to_reply() before t_relay():<br> <a href="http://openser.org/docs/modules/1.1.x/textops.html#AEN180">http://openser.org/docs/modules/1.1.x/textops.html#AEN180
</a><br><br>regards,<br>bogdan<br><br>Jose Antonio Garvayo wrote:<br><br>> Hi,<br>><br>> I want to use the openser as a UAS on behalf of a user that's not<br>> registered.<br>> There's a proxy in the middle that receives an INVITE and find that
<br>> the user is not registered, and rely the INVITE to the openser.<br>> I want the openser to send a 200 OK response, but also to put a<br>> Contact in the response so the final ACK will be send also to the<br>
> openser.<br>><br>> I have tried the following:<br>><br>> append_hf("Contact: xxxxx:pp");<br>> if (t_newtran()) {<br>> xlog("UAS logic");<br>> append_hf("Contact:
xxxxx:pp");<br>> t_reply("200","OK");<br>> append_hf("Contact:
xxxxx:pp");<br>> } else sl_reply_error();<br>><br>><br>> But still no Contact appears in the 200 OK response.<br>><br>> Thanks<br>><br>>------------------------------------------------------------------------
<br>><br>>_______________________________________________<br>>Users mailing list<br>><a href="mailto:Users@openser.org">Users@openser.org</a><br>><a href="http://openser.org/cgi-bin/mailman/listinfo/users">
http://openser.org/cgi-bin/mailman/listinfo/users</a><br>><br>><br><br></blockquote></div><br>