[OpenSIPS-Users] How to t_relay() from two send socket?

Bogdan-Andrei Iancu bogdan at voice-system.ro
Fri Oct 22 18:40:16 CEST 2010


Hi CheeWii,

Do you want to received the a INVITE request and to send it to two 
destinations , one on private interface and one on public interface? Did 
I get it right ?

Regards,
Bogdan

CheeWii wrote:
> Hi,
>      My OpenSIPS server has two network cards. One is public ip 
> address such as 202.102.XX.XX,and the other is private ip address,such 
> as 10.0.1.5.
>     
>      Now ,I want to forward INVITE ,BYE,CANCEL from 10.0.1.5 to 
> 10.0.1.6,while forward MESSAGE and REGISTER from 202.102.XX.XX to 
> 202.102.YY.YY.
>  
>      I have test use force_send_socket to control the send sockets to 
> different kinds of messages,but it seems to unuseful. It just send 
> message from one socket. How can we accomplish this demo? Thanks a lot.
>  
> CheeWii
>    
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>   


-- 
Bogdan-Andrei Iancu
OpenSIPS Bootcamp
15 - 19 November 2010, Edison, New Jersey, USA
www.voice-system.ro




More information about the Users mailing list