[OpenSIPS-Users] question on B2B module

Anca Vamanu anca at opensips.org
Fri Dec 18 11:22:48 CET 2009


Hi,


ha do wrote:
> Hi Anca
>
>
> let me describe the topology:
> VOIP Service Provider --------SIP trunk port 5070----Opensips1 --sip 
> trunk port 5060----Opensips2----Ip phone
>
> the Opnesips1 has 2 interface :
>       interface 1 : IP address 192.168.1.2 -- trunking with opensips2
>       interface 2 : IP address 115.22.22.3 -- trunking with VOIP 
> service provider
>       VOIP provider IP address : 115.1.1.2
> IP address of Opensips2 : 192.168.1.3
>
> when i do top hiding
> if(is_method("INVITE") && src_ip=="115.1.1.2")
>    $du=192.168.1.3//is it right ?
>
It seems correct.
>    b2b_init_request("top hiding");
> what is value i set :
> modparam("b2b_entities", "server_address", "which IP address Private or Public")
>
This address is used in the Contact filed of the replies that the server 
sends, specifying on which interface the future in dialog messages will 
be received. So you what the address used in the comunication with the 
voip provider - that is public, interface 2.

Regards,

-- 
Anca Vamanu
www.voice-system.ro



> Thank you
> Ha`
>
> --- On *Wed, 12/16/09, Anca Vamanu /<anca at opensips.org>/* wrote:
>
>
>     From: Anca Vamanu <anca at opensips.org>
>     Subject: Re: [OpenSIPS-Users] question on B2B module
>     To: "OpenSIPS users mailling list" <users at lists.opensips.org>
>     Date: Wednesday, December 16, 2009, 2:30 AM
>
>     Hi Ha,
>
>     Yes, such a configuration is possible. You have to set the $du to the
>     address of OpenSIPS2 before doing b2b_init on OpenSIPS1.
>
>     Regards,
>
>     -- 
>     Anca Vamanu
>     www.voice-system.ro
>
>
>
>     ha do wrote:
>     > Hi all
>     >
>     > network topology:
>     > VOIP Service Provider --------SIP trunk port 5070----Opensips1
>     --sip
>     > trunk port 5060----Opensips2----Ip phone
>     >
>     > Media :
>     > VOIP Service Provider --------Opensips1(rtpproxy)----Ip phone
>     >
>     > can i use the B2B module on opensips1 to do topology hiding and use
>     > the rtpproxy on opensips1 to force media from IP phone to VOIP SP
>     >
>     > please advice.
>     >
>     > Thank you
>     > Ha
>     >
>     >
>     >
>     ------------------------------------------------------------------------
>     >
>     > _______________________________________________
>     > Users mailing list
>     > Users at lists.opensips.org </mc/compose?to=Users at lists.opensips.org>
>     > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>     >   
>
>     _______________________________________________
>     Users mailing list
>     Users at lists.opensips.org </mc/compose?to=Users at lists.opensips.org>
>     http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>   



More information about the Users mailing list