Knowledgebase
Connecting Adtran TA 904 to SoTel SIP Service
Posted by Sotel Admin Account on 02 June 2010 03:31 PM
|
|
* Make sure you have the latest version of the Adtran OS on the device. The release we used in this example is A1.03.00. * Although most of the configuration can be done via the web interface, it is good practice to double-check it using the text configuration. ! hostname "TA904 your-site" enable password encrypted your-password ! clock timezone -6-Central-Time ! ip subnet-zero ip classless ip routing ! ip domain-proxy ip name-server ip-address ! no auto-config ! event-history on no logging forwarding no logging email ! service password-encryption ! username "admin" password encrypted "your-password" ! banner motd # This a private system. Access is restricted and monitored. Go away! # ! ip firewall no ip firewall alg msn no ip firewall alg h323 ! no dot11ap access-point-control ! qos map ConfigWizardQoSMap 20 match dscp 46 ! ! interface eth 0/1 ip address your-ip your-netmask media-gateway ip primary no shutdown ! ! interface t1 0/1 shutdown ! ! On the 904, only t1 0/2 can be used for voice. ! interface t1 0/2 tdm-group 1 timeslots 1-24 speed 64 no shutdown ! ! interface pri 1 connect t1 0/2 tdm-group 1 role network b-channel-restarts disable no shutdown ! ! interface fxs 0/1 no shutdown ! interface fxs 0/2 no shutdown ! interface fxs 0/3 no shutdown ! interface fxs 0/4 no shutdown ! ! isdn-group 1 connect pri 1 ! ! In production you will probably want to use ! timing-source internal (as the primary) ! but since our PBX still has a PRI going to the ! Central Office, we use that clock rather than provide ! our own. ! timing-source t1 0/2 timing-source internal secondary ! ! ip route 0.0.0.0 0.0.0.0 your-default-gateway ! no ip tftp server no ip tftp server overwrite no ip http server ip http secure-server 8443 no ip snmp agent no ip ftp server no ip scp server no ip sntp server ! ! voice feature-mode local voice transfer-mode local voice forward-mode local ! ! voice codec-list PRI-trunk codec g711ulaw ! ! voice trunk T01 type sip description "Sotel IP Services" sip-server primary termination2.sotelips.net registrar primary register2.sotelips.net (Not required for IP Authentication) outbound-proxy primary termination2.sotelips.net codec-group PRI-trunk ! voice trunk T02 type isdn description "PRI" resource-selection circular descending connect isdn-group 1 rtp delay-mode adaptive codec-group PRI-trunk !! Required if your PBX cannot provide 11 digits caller-id. caller-id-override number-inbound 13147871800 !! Our PBX expected 7xxx instead of 1xxx. match "13147871XXX" substitute "7XXX" ! ! voice grouped-trunk SIP trunk T01 accept NXX-NXX-XXXX cost 200 accept 1-NXX-NXX-XXXX cost 200 accept 1-800-NXX-XXXX cost 200 accept 1-888-NXX-XXXX cost 200 accept 1-877-NXX-XXXX cost 200 accept 1-866-NXX-XXXX cost 200 accept 1-855-NXX-XXXX cost 200 accept 1-900-NXX-XXXX cost 200 accept 1-976-NXX-XXXX cost 200 accept 011-$ cost 200 accept 411 cost 200 accept 611 cost 200 accept 911 cost 200 ! ! voice grouped-trunk PRI trunk T02 !! List of DIDs routed to the PBX accept 131478718XX cost 0 accept 131478717XX cost 0 ! ip sip no ip sip registrar authenticate no ip sip grammar supported 100rel ! ! I use the "Dynamic and/or Private Ports" port series from ! http://www.iana.org/assignments/port-numbers ! for RPT ip rtp udp 49152 ! ip sdp grammar hold rfc3264 ! line con 0 no login ! line telnet 0 4 login shutdown line ssh 0 4 login local-userlist no shutdown ! sntp server pool.ntp.org version 2 ! end | |
|
Comments (0)