Brekeke PBX Wiki

  1. Brekeke PBX basic Info
  2. Security
  3. Update & Upgrade
  4. Configuration
    1. Installation
    2. User Management
    3. Brekeke PBX default settings
    4. Network Configuration
    5. Brekeke PBX Administration Tool
    6. Functions Configuration
      1. Processes on Brekeke PBX
      2. Performance optimization
      3. Access Control - System Admin Menu
      4. ARS (Automatic Route Selection)
        1. ARS - Overview
        2. ARS - Route Settings / Route Template
        3. ARS - Route Variables
        4. ARS - Tutorials / Samples
          1. Basic: ARS Route Management
          2. PSTN Access with a VoIP Gateway
          3. Connecting with ITSPs
          4. ARS Outbound Route Failover
          5. ARS Resource Setting
          6. ARS Group Setting
          7. Add Tag on ARS
          8. Calls between two Brekeke PBX
          9. Call between two tenants
          10. CPS Management on ARS
          11. Decline non-numbered caller ID calls
          12. Display caller name
          13. Distinguish outbound calls from calls between extensions
          14. Matching pattern to match user sessions
          15. Redirect call with 3xx response
          16. Set the value of the Alert-Info header by ARS
        5. ARS - Default Plug-ins
        6. ARS - FAQ
      5. DID
      6. Auto Attendant
      7. BLF, SCA, and Presence
      8. Codec
      9. Voicemail
      10. Back up Brekeke PBX
      11. Callback
      12. Call Forwarding
      13. Call Hold/Call Transfer
      14. Call Hunting
      15. Call Pickup, Call Park
      16. Call Queue
      17. Call Waiting
      18. Conference Call
      19. Confirm Call
      20. Video Call
      21. Fax Support
      22. Flow Selection for a tenant
      23. Paging
      24. Phone ID settings
      25. Ring Group
      26. SRTP Support
      27. Stereo Recording Support
      28. Switching Plan
      29. Three-Way Calls
      30. Tutor Mode
      31. Caller ID from analog (PSTN) phones
      32. Change busy forwarding destination according to response
      33. Change Music On Hold
      34. Rotate Music On Hold
      35. Change recorded audio files destination location
      36. Change RFC2833 Payload
      37. Customize login page for each tenant
      38. Download phonebook info on provisioning
      39. Replace display name
      40. Session Management
      41. Set RTP packet's TOS value
      42. TCP Support
      43. Third-Party Call Control
      44. Microsoft OCS
      45. How to bypass Brekeke PBX
      46. How to create voice files (Fo IVR, Auto Attendant, Guidance) using your phone
      47. WebRTC
      48. Web Phone / Brekeke Phone
      49. Text to Speech
    7. Brekeke PBX Redundancy
    8. Remote Access of Brekeke Heartbeat
  5. Brekeke PAL option
  6. Integration with Zoho Products
  7. Add-ons
  8. Troubleshooting
  9. Developer's Guides
  10. User's Guide
  11. Version History

Calls between two Brekeke PBX

Let’s assume you will use
Extension 1XXX at 1st PBX and
Extension 2XXX at 2nd PBX.

 

Create an ARS rule at 1st PBX with following patterns:

Pattern IN: to accept call from 2nd PBX

[Matching Patterns:] 
[From:] sip:(2...)@<2nd_PBX_IP>
[To:] sip:(1...)@ 

[Deploy Patterns:]
[To:] $1

Pattern OUT: send call with prefix 2 dialing number to 2nd pbx

[Matching Patterns:] 
[To:] sip:(2...)@ 

[Deploy Patterns:]
[To:] sip:$1@<2nd_PBX_IP>

 

Create an ARS rule at 2nd PBX with following patterns:

Pattern IN: to accept call from 1st PBX

[Matching Patterns:] 
[From:] sip:(1...)@<1st_PBX_IP>
[To:] sip:(2...)@ 

[Deploy Patterns:]
[To:] $1

Pattern OUT: send call with prefix 1 dialing number to 1st pbx

[Matching Patterns:]
[To:] sip:(1...)@ 

[Deploy Patterns:] 
[To:] sip:$1@<1st_PBX_IP>

 

Create the dialplan in both of PBXs to accept calls from peer PBX:

Click [Apply Rules] button after saving the following dailplan.

Brekeke PBX v3:

[Matching Patterns:]
$request = ^INVITE
$addr = <the_other_PBX_IP>
$pbx.inport = (.+)

[Deploy Patterns:]
$target = 127.0.0.1:%1
$transport = udp
$b2bua = true
$auth = false
&net.sip.replace.callid = false
&net.sip.fixed.addrport.uas = true
&net.sip.fixed.addrport.uac = true

 

Yes No
Suggest Edit