Introducing a B2BUA for far end NAT traversal

319 views
Skip to first unread message

Joegen Baclor

unread,
Feb 10, 2016, 8:15:28 PM2/10/16
to SIPfoundry users and developers group


I think you have already heard about the recent canary release from SIPFoundry.  In this release, we removed all components that are either not used by most people or are so unstable that it becomes hard to maintain it in a real production environment.  One of the items that needed to go is the proxy NTAP plug in and sipXrelay.  The original intent was to leverage Kamailio as the ingress proxy (which is still the case in canary) and use it as the NAT anchor in conjunction with rtpproxy-ng.  However, we learned that kamailio utilizes record routes to preserve NAT states (2 for each call).  If the call goes in from and back out to the internet, the total record route inserted with the INVITE is 5 adding the record route inserted by the proxy for its own state persistence.  For me, this is a show stopper because we are guaranteed to fragment packets for remote workers.  

So we are using a new approach to this and that is by utilizing a B2BUA to handle remote workers.  This B2BUA will sit infront the open internet and sipx-ng and would take care of NAT and media anchoring.  This is similar, in a way, to sipXbridge but is written in C++ and has a built-in media relay, also written in C++.  The downside to this, is since the ingress proxy already own ports 5060 and 5061, the B2BUA has to sit on a different port, presumably port 5062.  This would require that DNS/SRV records visible from the internet should point to 5062 and not 5060.  Only internal phones will register to 5060 directly, bypassing the need for the B2BUA.

Does this make sense to most people or do you see any problems you will encounter with this approach?   We are expecting to release this feature as an update by next week.  

Joegen

Kurt Albershardt

unread,
Feb 11, 2016, 3:15:51 PM2/11/16
to SIPfoundry users and developers group
Will this eventually be capable of small volume SIP trunking?


thank you~

Joegen E. Baclor

unread,
Feb 11, 2016, 6:54:06 PM2/11/16
to Kurt Albershardt, SIPfoundry users and developers group
Kurt,

Yes that is the plan.

Joegen
--
You received this message because you are subscribed to a topic in the Google Groups "SIPfoundry users and developers group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sipfoundry-users-and-developers-group/PiJnKifvDvw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sipfoundry-users-and-dev...@googlegroups.com.
To post to this group, send email to sipfoundry-users-a...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sipfoundry-users-and-developers-group/e01c9b36-7955-498c-82e1-7678b143e7f9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Marco

unread,
Feb 17, 2016, 3:44:28 AM2/17/16
to SIPfoundry users and developers group
Hi Joegen,

I think it's a good approach.
How are you designing the solution in a cluster configuration? Will the administrator be able to assign the B2BUA functionality to one or more nodes inside the cluster?

Thank you.

Marco.

Joegen E. Baclor

unread,
Feb 17, 2016, 4:19:29 AM2/17/16
to Marco, SIPfoundry users and developers group
A B2BUA can be assigned per node so there can be multiple B2BUA and load balanced via your DNS/SRV global records.
--
You received this message because you are subscribed to a topic in the Google Groups "SIPfoundry users and developers group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sipfoundry-users-and-developers-group/PiJnKifvDvw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sipfoundry-users-and-dev...@googlegroups.com.
To post to this group, send email to sipfoundry-users-a...@googlegroups.com.
Message has been deleted

Rick Cogley

unread,
Apr 10, 2016, 8:45:19 PM4/10/16
to SIPfoundry users and developers group
Hi Joegen - just wondering if this feature has been released already? I'm on sipXecs (2016.02.1.7f726 2016-02-24UTC10:02:54 2e5d52493173) update 0. 
Regards,
Rick

Joegen E. Baclor

unread,
Apr 10, 2016, 10:24:23 PM4/10/16
to Rick Cogley, SIPfoundry users and developers group
It's there, yes.
--
You received this message because you are subscribed to a topic in the Google Groups "SIPfoundry users and developers group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sipfoundry-users-and-developers-group/PiJnKifvDvw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sipfoundry-users-and-dev...@googlegroups.com.
To post to this group, send email to sipfoundry-users-a...@googlegroups.com.

Rick Cogley

unread,
Apr 12, 2016, 5:20:01 AM4/12/16
to SIPfoundry users and developers group
Thanks Joegen. Sorry to be thick, but in Canary, where can I find these settings. I'm happy to read something, but I can't find anything other than what I had read back when I installed 4.4. Appreciate your pointing me in the right direction. --Rick

On Monday, April 11, 2016 at 11:24:23 AM UTC+9, Joegen Baclor wrote:
It's there, yes.

Ryan Colobong

unread,
Apr 12, 2016, 6:34:31 AM4/12/16
to Rick Cogley, SIPfoundry users and developers group
Hello Rick,

If you enabled the sip proxy under System > Servers > Telephony Services, SBC should be automatically enabled (You should be able to see the SBC tick box). Once you have apply the changes to your server, you can configure the SBC under Servers > SBC. On the canary release, you can only configure the log level and the advertise IP (by default if empty, this will automatically detected by the SBC).

Hope that helps.

regards,

--
You received this message because you are subscribed to the Google Groups "SIPfoundry users and developers group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sipfoundry-users-and-dev...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages