<div dir="ltr">Hi Liviu.<div><br></div><div>I did the change and Opensips started up ok. But when I run my tests, no message get to the UAS.</div><div><br></div><div>When I check the dump there's a lot of Destination Unreachable error for messages in UDP. It didn't change the transport protocol.</div><div><br></div><div>Thanks anyway.</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><br></div><div><div style="font-size:small">Atenciosamente,<br><br>Daniel Moreira Yokoyama.</div><div style="font-size:small">@dmyoko</div><div style="font-size:small"><a href="http://twitter.com/dmyoko" style="color:rgb(17,85,204)" target="_blank">http://twitter.com/dmyoko</a></div><div style="font-size:small"> </div><div style="font-size:small">TrafficTalks<br>Um podcast sobre cinema feito a partir de conversas de trânsito.</div><div style="font-size:small"><a href="http://traffictalks.com.br" target="_blank">http://traffictalks.com.br</a></div></div><div><br></div></div></div></div></div></div>
<br><div class="gmail_quote">2016-03-23 6:57 GMT-03:00 Liviu Chircu <span dir="ltr"><<a href="mailto:liviu@opensips.org" target="_blank">liviu@opensips.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<tt>Hi Daniel,<br>
<br>
It's not a limitation, but rather a performance optimization which
kills some of the user experience :)<br>
<br>
You can still do stateless forwarding to various destinations by
setting the Request-URI ahead:<br>
<br>
force_send_socket(sctp:<a href="http://10.12.8.108:5060" target="_blank">10.12.8.108:5060</a>)<br>
$ru = "sctp:" + $od + ":" + $op;<br>
forward();<br>
</tt>
<pre cols="72">Liviu Chircu
OpenSIPS Developer
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre><div><div class="h5">
<div>On 22.03.2016 22:23, Daniel Moreira
Yokoyama wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="h5">
<div dir="ltr">Hi everyone.
<div><br>
</div>
<div>I'm still trying to undestand why I can't use t_relay(dest)
or forward(dest) passing a variable instead of a literal.</div>
<div><br>
</div>
<div>In my scenario, all I have to do is to receive a UDP
message from a client and relay it on SCTP to the remote
endpoint.</div>
<div><br>
</div>
<div>The way I'm trying to achieve this is by:</div>
<div><br>
</div>
<div>
<div> force_send_socket(sctp:<a href="http://10.12.8.108:5060" target="_blank">10.12.8.108:5060</a>); </div>
<div> forward("sctp:$od:$op"); </div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>But Opensips doesn't even start up, complaining that the
domain and the port are invalid.</div>
<div><br>
</div>
<div>I only works in my tests when I put the literal value
(e.g: "sctp:<a href="http://10.0.8.104:5060" target="_blank">10.0.8.104:5060</a>").</div>
<div><br>
</div>
<div>I don't get it. Why would it restrict something like this?</div>
<div><br>
</div>
<div>Anyone can give me any guidance?</div>
<div><br>
</div>
<div>Thanks a lot.</div>
<div><br clear="all">
<div>
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div><br>
</div>
<div>
<div style="font-size:small">Atenciosamente,<br>
<br>
Daniel Moreira Yokoyama.</div>
<div style="font-size:small">@dmyoko</div>
<div style="font-size:small"><a href="http://twitter.com/dmyoko" style="color:rgb(17,85,204)" target="_blank"></a><a href="http://twitter.com/dmyoko" target="_blank">http://twitter.com/dmyoko</a></div>
<div style="font-size:small"> </div>
<div style="font-size:small">TrafficTalks<br>
Um podcast sobre cinema feito a partir de
conversas de trânsito.</div>
<div style="font-size:small"><a href="http://traffictalks.com.br" target="_blank"></a><a href="http://traffictalks.com.br" target="_blank">http://traffictalks.com.br</a></div>
</div>
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>