Right before t_relay() $du is NULL.<br><br><div class="gmail_quote">2009/10/27 Iñaki Baz Castillo <span dir="ltr"><<a href="mailto:ibc@aliax.net">ibc@aliax.net</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">El Martes, 27 de Octubre de 2009, Alexander escribió:<br>
</div><div class="im">> It seems it doesn't leave - tcpdump shows nothing and our platform<br>
> receives nothing.<br>
> t_relay() is called, and I see this:<br>
><br>
> Oct 27 12:12:35 [16751] DBG:tm:retransmission_handler:<br>
> retransmission_handler : request resending (t=0xb618de58, INVITE<br>
> <a href="http://sip:200213@62.117.120.101:5061" target="_blank">sip:200213@62.117.120.101:5061</a> SIP/2.0...<br>
> Oct 27 12:12:35 [16751] DBG:tm:retransmission_handler:<br>
> retransmission_handler : request resending (t=0xb618de58, INVITE<br>
> <a href="http://sip:200213@62.117.120.101:5061" target="_blank">sip:200213@62.117.120.101:5061</a> SIP/2.0...<br>
> Oct 27 12:12:35 [16751] DBG:tm:retransmission_handler:<br>
> retransmission_handler : request resending (t=0xb618de58, INVITE<br>
> <a href="http://sip:200213@62.117.120.101:5061" target="_blank">sip:200213@62.117.120.101:5061</a> SIP/2.0...<br>
><br>
> <a href="http://62.117.120.101:5061" target="_blank">62.117.120.101:5061</a> - it's the address:port of our platform. I call<br>
> rewritehostport() to set this address and port, and then t_relay().<br>
><br>
> This happens when Opensips receives a call from another domain (for<br>
> example, from sipbroker). Inside our domain all works fine and INVITE<br>
> passes to our platform correctly.<br>
<br>
</div>Before doint t_relay() printf with xlog the value of $du pseudo-variable (the<br>
real destination). Even if you set the RURI, $du has preference).<br>
$du is usually automatically set when doing a loockup for a natted contact and<br>
so.<br>
<font color="#888888"><br>
--<br>
</font><div><div></div><div class="h5">Iñaki Baz Castillo <<a href="mailto:ibc@aliax.net">ibc@aliax.net</a>><br>
<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" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br>