DjangoPBX cluster operation

babak

Member
Dec 4, 2016
47
4
8
53
Hi
In DjangoPBX documentation mentioned https://www.djangopbx.com/documentation/cluster/basic_cluster_operation.html :

For any given domain (customer) we have two DNS records (CNAMEs are fine),for example cust1.djangopbx.com and portal-cust1.djangopbx.com.

This means you have your DNS server and can force all sip clients ( soft phones on PC , Mobile app clients, Hardware Sip phones) even on Internet to use that ?
what DNS Server you use ?

Regards
Babak
 
Hi, Yes that is correct. The "cust1" will point to your SIP server and "portal-cust1" will point to your DjangoPBX instance for all the usual portal type activities like phone provisioning, viewing CDRs etc.

In production, we have a master PgSQL database that is replicated many times, it forms a "single source of truth". Then we have several DjangoPBX instances that all read from the replica DBs but write to the master. But one single instance of DjangoPBX is fine for most use cases.

As for DNS server, we use bind9, it is another stand-alone machine but replicated with secondaries in different DCs.
 
  • Like
Reactions: babak