===== Asterisk Servers ===== ==== DEV/QA ==== Internal IP: 192.168.225.231 Server Access: From dev or qa crossbow server, ssh to the above IP as root. ==== PROD ==== External IP: 50.57.232.54 Server Access: Direct ssh access. ==== Software Packages ==== * asterisknow-version-1.7.1-3_centos5 * asterisk18-voicemail-1.8.7.0-2_centos5 * asterisk18-dahdi-1.8.7.0-2_centos5 * asterisk18-configs-1.8.7.0-2_centos5 * asterisk18-core-1.8.7.0-2_centos5 * asterisk18-doc-1.8.7.0-2_centos5 * asterisk-sounds-core-en-gsm-1.4.21-1_centos5 * asterisk18-1.8.7.0-2_centos5 ==== Freeswitch Config ==== === /opt/freeswitch/conf/autoload_configs/acl.conf.xml === (primary IP as seen with ifconfig) (external IP of asterisk server as seen from BBB Server) === /opt/freeswitch/conf/autoload_configs/switch.conf.xml === === /opt/freeswitch/conf/sip_profiles/external.xml === (external IP of BBB Server as seen from Asterisk server) (external IP of BBB Server as seen from Asterisk server) ==== Asterisk Config ==== === /etc/asterisk/rtp.conf === ; RTP Configuration ; [general] ; ; RTP start and RTP end configure start and end addresses ; ; Defaults are rtpstart=5000 and rtpend=31000 ; rtpstart=10000 rtpend=10600 === Additional asterisk configuration files === * /etc/asterisk/users.conf * /etc/asterisk/sip.conf * /etc/asterisk/extensions.conf ==== Changes required to switch the production server ==== === /etc/asterisk/sip.conf === [meetprod-gw] type=peer username=meetprod-gw insecure=very contactpermit=107.170.80.241/255.255.255.255 qualify=no nat=no host=107.170.80.241 canreinvite=no disallow=all allow=ulaw === /etc/asterisk/extensions.conf === exten => 45015,1,Playback(conf-enteringno) exten => 45015,2,sayalpha(${EXTEN}) exten => 45015,3,Playback(beep) exten => 45015,4,Dial(SIP/meetprod-gw/${EXTEN}) exten => 45015,5,Hangup ==== Firewall Settings ==== * Allow incoming udp 5060 and 16384:32768 from asterisk server to freeswitch BBB server (this setting needs to be applied in network where BBB server resides) * Allow incoming udp 5060 and 10000:10600 from freeswitch to asterisk server (this setting needs to be applied in network where asterisk server resides)