[Kamailio-Users] Changing Source IP per Route

Klaus Darilion klaus.mailinglists at pernau.at
Thu Sep 11 16:16:50 CEST 2008



Ali Jawad schrieb:
> Hi All
> 
> Can the following be achieved.:
> 
>  
> 
> I do have a subscription at a carrier with two routes, on normal route 
> and one premium route. The problem is that I do have to use a different 
> source IP with each of these two routes. This would be easy to achieve 
> with two different openser boxes. However I do have only one at current 
> time.
> 
> So, is it possible to use a different source IP per route ?

Yes. Just add a second listen=..... statement and then use 
force_send_socket() before t_relay to choose the proper source IP

regards
klaus



> 
>  
> 
> Thanks
> 
>  
> 
>  
> 
>  
> 
> With Regards
> 
>  
> 
> Ali Jawad
> 
>  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Users mailing list
> Users at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users




More information about the Users mailing list