<div dir="ltr"><div>Hello all,</div><div><br></div><div>I've been trying to handle OPTIONS statelessly, but proper handling fails for UACs behind NAT without ALG. I thought I'd overcome this by setting the $du pseudovariable, but apparently I'm missing something. The following does not work:</div><div><br></div><div>        if ($Rp == "6050") {<br></div><div>            force_send_socket(udp:<a href="http://10.10.10.10:6050">10.10.10.10:6050</a>);</div><div>        }</div><div>        $du = "sip:" + $si + ":" + $sp;<br>        sl_send_reply("200","OK");</div><div>        exit;</div><div><br></div><div>I'm now realising that I put this in request_route() so force_send_socket() and $du have no use whatsoever, since the request is not forwarded anywhere. Is this the reason?<br></div><div><br></div><div>So the question is, how can I do the following things for a stateless reply: a) choose a sending socket for the reply and b) change the destination for the reply to something other than the URI in the first Via header.</div><div><br></div><div>Thanks!</div><div><br></div><div>BR,</div><div>George<br></div></div>