[OpenSIPS-Users] Pass calls to another realm via gateway

Iñaki Baz Castillo ibc at aliax.net
Tue Oct 27 11:17:58 CET 2009


El Martes, 27 de Octubre de 2009, Alexander escribió:
>   It seems it doesn't leave - tcpdump shows nothing and our platform
> receives nothing.
>   t_relay() is called, and I see this:
> 
> Oct 27 12:12:35 [16751] DBG:tm:retransmission_handler:
> retransmission_handler : request resending (t=0xb618de58, INVITE
> sip:200213 at 62.117.120.101:5061 SIP/2.0...
> Oct 27 12:12:35 [16751] DBG:tm:retransmission_handler:
> retransmission_handler : request resending (t=0xb618de58, INVITE
> sip:200213 at 62.117.120.101:5061 SIP/2.0...
> Oct 27 12:12:35 [16751] DBG:tm:retransmission_handler:
> retransmission_handler : request resending (t=0xb618de58, INVITE
> sip:200213 at 62.117.120.101:5061 SIP/2.0...
> 
>   62.117.120.101:5061 - it's the address:port of our platform. I call
> rewritehostport() to set this address and port, and then t_relay().
> 
>   This happens when Opensips receives a call from another domain (for
> example, from sipbroker). Inside our domain all works fine and INVITE
>  passes to our platform correctly.

Before doint t_relay() printf with xlog the value of $du pseudo-variable (the 
real destination). Even if you set the RURI, $du has preference).
$du is usually automatically set when doing a loockup for a natted contact and 
so.

-- 
Iñaki Baz Castillo <ibc at aliax.net>



More information about the Users mailing list