Incoming VoIP Features: Difference between revisions

 
===More about SRV Records===
An example of using srv records would be as follows: Say you have two VoIP servers and they have the public IPs of <code>192.0.2.50</code> and <syntaxhighlight inlinecod>192.0.2.60</syntaxhighlightcode> and you want to give it the DNS name of <syntaxhighlightcode inline>a-pbx.example.com</syntaxhighlightcode> and <syntaxhighlight inlinecode>b-pbx.example.com</syntaxhighlightcode>. You'd create the following DNS records for it as follows:
 
a-pbx.example.com. A 192.0.2.50
_sip._udp.pbx.example.com. SRV 1 0 5060 b-pbx.example.com.
 
In the AAISP control pages, you'd enter <syntaxhighlight inlinecode>pbx.example.com</syntaxhighlightcode> as the server hostname, our systems will then look up the SRV records and will route the call accordingly.
 
The format of the 'host' part of a SRV record is: