<html><head><title>Re: [OpenSIPS-Users] Pass calls to another realm via gateway</title>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
</head>
<body>
<span style=" font-family:'Courier New'; font-size: 9pt;"> No ideas? :(<br>
<br>
</span><table>
<tr>
<td width=2 bgcolor= #0000ff><br>
</td>
<td width=1683><span style=" font-family:'courier new'; font-size: 9pt;"> Right before t_relay() $du is NULL.<br>
<br>
2009/10/27 Iñaki Baz Castillo <<a href="mailto:ibc@aliax.net">ibc@aliax.net</a>><br>
El Martes, 27 de Octubre de 2009, Alexander escribió:<br>
> 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">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">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">sip:200213@62.117.120.101:5061</a> SIP/2.0...<br>
><br>
> <a href="http://62.117.120.101:5061">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>
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>
<br>
<span style=" color: #888888;">--<br>
<span style=" color: #000000;">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">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a></td>
</tr>
</table>
<span style=" font-family:'Courier New'; font-size: 9pt;"><br><br>
<br>
<br>
<span style=" font-family:'arial'; font-size: 8pt; color: #c0c0c0;"><i>-- <br>
С уважением,<br>
Alexander <a style=" font-style: normal;" href="mailto:goal81@gmail.com">mailto:goal81@gmail.com</a></body>