[OpenSER-Users] UDP/TCP failover in OpenSER

Iñaki Baz Castillo ibc at in.ilimit.es
Tue Apr 22 19:54:39 CEST 2008


El Tuesday 22 April 2008 17:45:26 Iñaki Baz Castillo escribió:


> > - Do I have something particular to do while registering to tell
> > OpenSER that the client is listening in UDP and TCP ?
>
> If a client registers using TCP it has "transport=tcp" in the
> REGISTER "Contact" header:
>   sip:user at 192.168.1.58;transport=tcp
>
> So you could add this parameter to "Contact" header before save it in
> location table.
>
> But I've a doubt: when client is behind NAT the "received" column stored
> in "location" table is:
>   sip:user at PUBLIC_IP;transport=tcp
>
> So I assume that it's neccesary to add also here the "transport=tcp"
> parameter but have no idea of how to do it. Suggestions? is it necessary or
> is it enought with the "transport=tcp" in "contact" field?

Afortunatelly I've forgiven an issue: the "socket" field:
  tcp:IP:5060  

so instead of trying to modify the register process, add "transport=tcp" 
parameter to the RURI when the request goes to one of these users.

-- 
Iñaki Baz Castillo
ibc at in.ilimit.es




More information about the Users mailing list