Requirements for a B2BUA

From SIPfoundry sipx, The Open Source SIP PBX for Linux - Calivia

Jump to: navigation, search

Contents

[edit] Application

A B2BUA shall be used to allow mostly SOHO and residential users to connect calls to a SIP service provider such as FWD, Vonage, etc.

[edit] Project Source Code

A working prototype has been developed:

http://scm.sipfoundry.org/viewsvn/sipX/main/sipXb2bua/

[edit] General Requirements

  • Each instance of the B2BUA represents one physical line
  • The B2BUA functionaly works like an FXO gateway (The B2BUA first picks up a call incoming from the provider after the final destination has picked up. Same thing for outgoing calls to the provider.)
  • It shall be possible to define multiple B2BUAs to accommodate connections to different providers. Therefore they shall be able to use a specified port number for SIP traffic.
  • The B2BUA has a sipX side and a provider side
  • It shall be possible to define an IP Address / Domain Name and port for the B2BUA (typically the B2BUA will be on the same machine as the sipX server. However, it shall be possible to run it on a different host like a gateway).

[edit] Provider Side

  • The B2BUA can (as an option) register with the provider using "username", "password", and "SIP server address". If NAT traversal is required the B2BUA will always register with the provider so that it can be reached.
  • The B2BUA sends all calls received on the sipX side to the provider side.
  • It shall be possible to define the outbound line identification (default: The username assigned by the provider)
  • The B2BUA shall use STUN if turned on. A STUN server address must be provided.

[edit] sipX Side

  • The B2BUA sends calls received on the provider side to the sipX side
  • A domain (if SRV is used) or the FQHN of the sipX server shall be specified
  • It shall be possible to specify a user ID to which incoming calls on the provider side are forwarded. The sipX domain or FQHN shall be appended to that user ID to create a valid SIP URI

[edit] sipXconfig Interface

  • As a minimum it shall be possible to configure the B2BUA manually using a config file. It would then be an unmanaged gateway in sipXconfig.
  • Add it as a managed gateway to the current gateway drop down list
  • Managed parameters include:
   - Checkbox if SRV is used
   - sipX proxy domain name (realm)
   - Checkbox "Only accept calls on the sipX side from this realm"  (security)
   - sipX proxy address and port
   - B2BUA SIP port number
   - STUN checkbox
   - STUN server address / port
   - Checkbox Register
   - Username to register with provider
   - Password to register with provider
   - Provider's SIP proxy address
   - User ID or extension to forward incoming calls from provider (together with the sipX proxy domain name a complete SIP URI is formed)
Personal tools