Title: Re: [OpenSIPS-Users] Pass calls to another realm via gateway
  No ideas? :(


  Right before t_relay() $du is NULL.

2009/10/27 Iñaki Baz Castillo <[email protected]>
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:[email protected]:5061 SIP/2.0...
> Oct 27 12:12:35 [16751] DBG:tm:retransmission_handler:
> retransmission_handler : request resending (t=0xb618de58, INVITE
sip:[email protected]:5061 SIP/2.0...
> Oct 27 12:12:35 [16751] DBG:tm:retransmission_handler:
> retransmission_handler : request resending (t=0xb618de58, INVITE
sip:[email protected]: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 <[email protected]>

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




-- 
С уважением,
 Alexander                          mailto:[email protected]
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to