[OpenSIPS-Users] Passing Register requests with B2BUA Topology Hiding

Duane Larson duane.larson at gmail.com
Sun Jan 13 23:27:32 CET 2013


You need to re-read the B2B_Logic module.

http://www.opensips.org/html/docs/modules/1.8.x/b2b_logic.html#id292703

You should only call the b2b_init_request function on an initial invite.
 So you need something like this

if(is_method("INVITE") && !has_totag()

before you call b2b_init_request

You shouldn't be calling the b2b_init function for a REGISTER request.


On Sat, Jan 12, 2013 at 10:27 AM, Jeryes . <jeryes at voicetechnology.com.br>wrote:

> Hi Duane,
>
> Thanks for your reply!
>
> I don't know if this is right, but my idea is to forward the Register
> requests from one sip proxy to the other passing through opensips, creating
> a new a new dialog by executing b2b_init_request("top hiding"), as it is
> working to INVITE requests:
>
> route
> {
>
>     if( is_method("INVITE") || is_method("REGISTER") )
>     {
>       b2b_init_request("top hiding");
>
>       exit;
>
>     }
>
> }
>
> Does top hiding work this way, to pass Register requests? Do I need to
> implement any function to make it work?
>
> Thank you!
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>


-- 
--
*--*--*--*--*--*
Duane
*--*--*--*--*--*
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130113/564fd1d6/attachment.htm>


More information about the Users mailing list