[OpenSIPS-Users] TCP Mode Only

Giuseppe Roberti jnod at jnod.org
Thu Oct 16 20:33:35 CEST 2008


Why force_send_socket(tcp:...) does not automatically add ;transport=tcp ?


Iñaki Baz Castillo wrote:
> 2008/10/16 Klaus Darilion <klaus.mailinglists at pernau.at>:
>> AFAIK when using force_send_socket(tcp:...) the protocol is ignored when the
>> proxy thinks that the request should be forwarded with udp.
>>
>> i think the only working workaround is to add transport=tcp to $du before
>> t_relay()
> 
> Correct, the transport type is choosen based on RFC 3263 (Locating SIP
> Servers). A request is just sent via TCP if the top Route (or the RURI
> if there is no Route) has a ;transport=tcp parameter.
> 
> I already spent some time with it until I understood. Forcing a TCP
> socket does nothing.
> 


-- 
Giuseppe Roberti
<jnod at jnod.org>



More information about the Users mailing list