[SR-Users] Outbound socket selection (HA implementation)

marius zbihlei marius.zbihlei at 1and1.ro
Tue Mar 29 17:18:14 CEST 2011


On 03/29/2011 05:47 PM, Asgaroth wrote:
> Hi Marius,
>
>    
>> I can't really say that the route table will work. One way I used for
>> testing is via Ping or netcat without any local parameters. The
>> choosing of the local address and port is left to the kernel, the same
>> as kamailio with mhomed, so if you can find a suitable routeing table
>> where only the ucarp interfaces are selected then you are ok. Why
>> don't you listen also on 192.168.1.99/192.168.2.99 ?
>>      
> When kamailio transmits the messages it will substitute (by default) the
> outbound interface ip address for its route/via headers. If I enable
> kamailio to listen on all addresses then kamailio sends the messages
> with source address of .99. I need the source address and routing
> headers to contain the floating address (.100), this is also for NAT
> traversal on the "public" address of the proxy.
>
>    

Hello,

If i understand, then you will need to force sending of outgoing 
requests (not in-dialog or replies) to be sent via the floating address, 
so reachable for them. You might want to look force_send_sock as well 
(don't know if already this appeared on this thread)

Marius
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>    




More information about the sr-users mailing list