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

CheeWii quanwei87 at gmail.com
Sat Oct 23 07:18:30 CEST 2010


Hi,Bogdan
No,I want to received a INVITE request and a MESSAGE request, then I send
MESSAGE on public interface and send INVITE on private interface.How can I
accomplish this?

Regards,
CheeWii

2010/10/23 Bogdan-Andrei Iancu <bogdan at voice-system.ro>

> 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
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20101023/d7078b72/attachment-0001.htm 


More information about the Users mailing list