Hello,<br><br>How/Where would be the best place to purposely drop a particular reply message ( &gt; 400 )<br><br>I have armed both the reply route and failure route and attempted to drop the message by calling the drop() function but this doesn&#39;t seem to work.
<br>Is there a simple method for conditionally dropping a reply message?<br><br>My goal is to force the UAC that created the original request to retransmit (UDP) the request in certain scenarios, such as when ACK to an initial invite has not been fully processed by the downstream UAS but a re-invite has been received by the UAS causing the UAS to return a 400 for the re-invite.&nbsp; I do not want the UAC to see the 400 reply, instead I simply want the UAC to resend the re-invite because no final response has been received, presumably by this time&nbsp; the ACK processing will be finished and the retransmitted re-invite would be handled smoothly.
<br><br>I realize replies are routed based on via headers.&nbsp; Is there some way to short circuit this routing other than drop()? <br><br>Thanks<br><br>Tim<br><br><br>Tried this from failure route<br><br>&nbsp;if(t_check_status(&quot;400&quot;))
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; xlog( &quot;L_ERR&quot;, &quot;400 message in failure route 2 ********** \n&quot; );<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; drop();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br><br>Tried this from reply route<br>
<br>if(status == &quot;400&quot;)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; xlog( &quot;L_ERR&quot;, &quot;400 in reply route 2 .... dropping\n&quot; );<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; drop();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br><br>