Configure your Sip Phones , here an example with X-Lite Most sip clients can detect your DNS SRV SIP records and this what you should use to make clients use a valid online Asterisk server in your domain. But domain can be a specific Asterisk server name or IP address.
See Asterisk trace
root@srv002:/etc/asterisk# asterisk -rvvvvvv
Asterisk 11.0.1, Copyright (C) 1999 - 2012 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
== Parsing '/etc/asterisk/asterisk.conf': Found
== Parsing '/etc/asterisk/extconfig.conf': Found
Connected to Asterisk 11.0.1 currently running on srv002 (pid = 13687)
srv002*CLI> sip show peers
Name/username Host Dyn Forcerport ACL Port Status Description
5212/pnomblot 192.168.0.23 D N 5060 Unmonitored
5214/kkreuk 192.168.0.20 D N 5060 Unmonitored
2 sip peers [Monitored: 0 online, 0 offline Unmonitored: 2 online, 0 offline]
== Using SIP RTP CoS mark 5
-- Executing [5212@home:1] Dial("SIP/5214-00000007", "SIP/5212,20") in new stack
== Using SIP RTP CoS mark 5
-- Called SIP/5212
-- SIP/5212-00000008 is ringing
-- SIP/5212-00000008 answered SIP/5214-00000007
-- Remotely bridging SIP/5214-00000007 and SIP/5212-00000008
srv002*CLI>
Check sip via command :
|
|
|