<div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)">><i> On 01 Mar 2016, at 16:29, Uri Shacked <<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">ushacked at gmail.com</a>> wrote:
</i>><i> 
</i>><i> Hi,
</i>><i> 
</i>><i> Is i possible to control the to_tag when i send my own stateless reply from kamailio.
</i>
Why would you want to do that? Curious.

I did however lack the capability of accessing the Kamailioi defined to-tag in the scripts. Maybe we should make
it available in a pseudovariable somewhere.

/O
</pre><div><br></div><div>I have a need (unfortunately :-)) to suspend the 200ok answer that i s being relayed to the caller.</div><div>I am using t_suspend() and t_continue() for it.</div><div>But, when the caller decide to cancel the call before I managed to resume the transaction, I would like to send a 487 stateless in order for the client to disconnect immediately.</div><div><br></div><div>So, I need to send the 487 with the relevant to_tag.</div><div><br></div><div>Uri</div><div><br></div><div>.</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 1, 2016 at 5:29 PM, Uri Shacked <span dir="ltr"><<a href="mailto:ushacked@gmail.com" target="_blank">ushacked@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>Is i possible to control the to_tag when i send my own stateless reply from kamailio.</div><div><br></div><div>Thanks,</div><div>Uri</div></div>
</blockquote></div><br></div>