15 Replies Latest reply on May 24, 2013 5:25 AM by david

    Configuration need

    mba New Member


      Can some provide me a complete configuration for Total Access 900/900e series. I want to configure SIP trunk from service provider and deliver as PRI to client and another configuration I want to configure SIP trunk from service provider and deliver as SIP trunk to client.

        • Re: Configuration need
          jayh Hall_of_Fame

          It's pretty difficult to address this with the info provided.  For SIP, will you use registration?  If so a single pilot number for the trunk or each individual DID?  What about authentication? ISDN switch type, number of B channels, digits, clocking, etc. also needed for PRI.

            • Re: Configuration need
              mba New Member

              Thanks for reply. I only need an sample configuration. All I want to know the flow of configuration.

                • Re: Configuration need
                  jayh Hall_of_Fame

                  Basically do the ISO 7-layer model.

                   

                  IP routing

                  • Configure interface(s) for IP, default route, etc.
                  • Firewall, media-gateway IP
                  • Set up any dynamic routing protocols used
                  • NAT config if needed for inside SIP trunk

                   

                  For PRI:

                  • Set up T1 interface, clocking, framing etc.
                  • Set up PRI interface with ISDN switch type, channels, etc.

                   

                  Voice trunks

                  • Define SIP trunk(s) with IP or hostname as appropriate
                  • Registration and authentication
                  • ISDN trunk configuration, digits transferred, hunting order, etc.

                   

                  Voice routing

                  • Dial plan
                  • Grouped-trunk configuration - toward PSTN
                  • Grouped trunk with DIDs routed to PRI/SIP PBX

                   

                  Test and debug.

                   

                  Post your config so far and where you are having issues.

                    • Re: Configuration need
                      mci New Member

                      mba,

                       

                        I need that configuration also !  I have an Asterisk switch in our data center, want to install an Adtran 908e at my customer's location and need to provide PRI to a TDM PBX via SIP from the Asterisk.   The PRI is NI-2  23-B  + 1-D......have 6 DID's to route within the TDM PBX with last 4 digits.

                • Re: Configuration need
                  david Employee

                  Mba,

                   

                  Thanks for posting!  Your first step should be to setup IP connectivity by setting IP addresses on interfaces and adding a default route.  If you are having trouble with this part of the configuration, we will need to know more about the type of uplink and protocols in use to give you more specific instruction and documentation.

                   

                  For the voice portion of your configuration we have several guides which go over a baseline configuration for SIP to PRI.  Below are links to those guides.

                   

                  Total Access 9XX - SIP to PRI sample configuration

                  Total Access 9XXe - SIP to PRI sample configuration

                  Total Access 9XXe - SIP to dual PRIs sample configuration

                   

                  So that we document a basic example in this post, below is the configuration shown from the first guide.

                   

                  configure terminal

                  !

                  ! PRI TRUNK CONFIGURATION

                  !

                  interface t1 0/2

                    tdm-group 1 timeslots 1-24

                    no shutdown

                  !

                  interface pri 1

                    connect t1 0/2 tdm-group 1

                    no shutdown

                  !

                  isdn-group 1

                    connect pri 1

                  !

                  voice trunk T02 type isdn

                    connect isdn-group 1

                  !

                  voice grouped-trunked PRI

                    trunk T02

                    accept $

                  !

                  ! SIP TRUNK CONFIGURATION

                  !

                  voice trunk T01 type sip

                    sip-server primary <INSERT_SIP_SERVER_ADDRESS>

                  !

                  voice grouped-trunk SIP

                    trunk T01

                    accept $

                  !

                  exit

                  exit

                  write

                   

                  You can use this to help you configure a SIP trunk on both sides of the unit as well.  You would just need to create two separate SIP trunks and grouped-trunks like the one shown at the bottom of that example under "SIP TRUNK CONFIGURATION".  If you have further questions, feel free to respond on this thread. 

                   

                  Thanks!

                  David

                    • Re: Configuration need
                      jasonc New Member

                      Here is a working 908e config. Hope this helps.

                       

                      =~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2013.03.13 09:23:42 =~=~=~=~=~=~=~=~=~=~=~=
                      908>en
                      Password:
                      908#show run
                      Building configuration...
                      !
                      !
                      ! ADTRAN, Inc. OS version R10.6.0.E
                      ! Boot ROM version 14.05.00.SA
                      ! Platform: Total Access 908e (2nd Gen), part number 4242908L5
                      ! Serial number
                      !
                      !
                      hostname "908"
                      enable password encrypted 1a13a519ed47050e7f7cd438c6965bf12cf2
                      !
                      !
                      clock timezone -6-Central-Time
                      !
                      ip subnet-zero
                      ip classless
                      ip default-gateway X.X.X.X
                      ip routing
                      no ipv6 unicast-routing
                      !
                      !
                      !
                      !
                      no auto-config
                      auto-config authname adtran encrypted password 2721bf4deba3bd798dc1839aa58a7da49d2f
                      !
                      event-history on
                      no logging forwarding
                      no logging email
                      !
                      service password-encryption
                      !
                      username "admin" password encrypted "454c541acde871ae981147cc45523a95ebcb"
                      username "ADMIN" password encrypted "3a346c915b493f1bc7e33ad9c11cd4f72cc9"
                      !
                      banner motd #
                      -----------------------------------------------------------
                      -------------
                      W A R N I N G
                      -------------
                      Unauthorized access prohibited
                      Disconnect IMMEDIATELY if you are not an authorized user!
                      -----------------------------------------------------------
                      Unauthorized use may subject you to criminal prosecution.
                      Evidence of any such unauthorized use collected during
                      monitoring may be used for administrative, criminal or
                      other adverse action. Use of this system constitutes
                      consent to monitoring for these purposes.
                      -----------------------------------------------------------#
                      !
                      !
                      no ip firewall alg msn
                      no ip firewall alg mszone
                      no ip firewall alg h323
                      !
                      !
                      !
                      !
                      !
                      radius-server host X.X.X.X auth-port 1645
                      radius-server host X.X.X.X key encrypted 1f0b2f3f3c0ee5b5ac8c56fb5a79675c063717123788d54b594a4ad9a6c8846b869e
                      radius-server host X.X.X.X auth-port 1645
                      radius-server host X.X.X.X key encrypted 190d0e7550fd3cacecae8221f8467f61d55d93e3c30300216d04da98305f6fbd2c31
                      !
                      aaa authentication login default group radius local
                      !
                      !
                      !
                      no dot11ap access-point-control
                      !
                      !
                      !
                      !
                      !
                      !
                      ip dhcp pool "Private"
                        network X.X.X.X 255.255.255.0
                        netbios-node-type h-node
                        default-router X.X.X.X
                      !
                      !
                      !
                      !
                      !
                      !
                      !
                      !
                      !
                      !
                      !
                      !
                      interface eth 0/1
                        description connection to ONT
                        encapsulation 802.1q
                        no shutdown
                      !
                      interface eth 0/1.40
                        vlan-id 40
                        ip address  X.X.X.X  255.255.255.0
                        no shutdown
                      interface eth 0/1.50
                        vlan-id 50
                        ip address  X.X.X.X  255.255.252.0
                        media-gateway ip primary
                        no shutdown
                      !
                      interface eth 0/2
                        description Management Interface
                        no ip address
                        shutdown
                      !
                      !
                      !
                      !
                      interface t1 0/1
                        shutdown
                      !
                      interface t1 0/2
                        shutdown
                      !
                      interface t1 0/3
                        shutdown
                      !
                      interface t1 0/4
                        shutdown
                      !
                      !
                      interface fxs 0/1
                        description "Test Line"
                        no shutdown
                      !
                      interface fxs 0/2
                        no shutdown
                      !
                      interface fxs 0/3
                        no shutdown
                      !
                      interface fxs 0/4
                        no shutdown
                      !
                      interface fxs 0/5
                        no shutdown
                      !
                      interface fxs 0/6
                        no shutdown
                      !
                      interface fxs 0/7
                        no shutdown
                      !
                      interface fxs 0/8
                        no shutdown
                      !
                      !
                      interface fxo 0/0
                        no shutdown
                      !
                      !
                      !
                      !
                      !
                      !
                      !
                      !
                      !
                      !
                      !
                      !
                      ip route X.X.X.X 255.255.255.0 X.X.X.X
                      ip route X.X.X.X 255.255.252.0 X.X.X.X
                      ip route X.X.X.X 255.255.255.255 X.X.X.X
                      ip route X.X.X.X 255.255.0.0 X.X.X.X
                      !
                      no tftp server
                      no tftp server overwrite
                      http server
                      http secure-server
                      no snmp agent
                      no ip ftp server
                      no ip scp server
                      no ip sntp server
                      !
                      !
                      !
                      !
                      !
                      !
                      !
                      !
                      ip sip
                      ip sip udp 5060
                      no ip sip tcp
                      !
                      !
                      !
                      voice feature-mode network
                      voice forward-mode network
                      voice conferencing-mode local
                      !
                      !
                      !
                      !
                      voice spre 1 *XX
                      !
                      !
                      !
                      !
                      voice dial-plan 1 local NXX-XXXX
                      voice dial-plan 2 long-distance 1-NXX-NXX-XXXX
                      voice dial-plan 3 operator-assisted 1-411
                      voice dial-plan 4 user1 N11
                      voice dial-plan 5 user2 XXX-NXX-XXXX
                      voice dial-plan 6 user3 xxx-NXX-XXXX
                      !
                      !
                      !
                      !
                      voice codec-list 711
                        default
                        codec g711ulaw
                      !
                      !
                      !
                      voice trunk T01 type sip
                        sip-server primary X.X.X.X
                        registrar primary X.X.X.X
                        codec-list 711 both
                      !
                      !
                      voice grouped-trunk OUTBOUND
                        trunk T01
                        accept $ cost 0
                      !
                      !
                      voice user 9999999999
                        connect fxs 0/1
                        password encrypted "1c18c8833690fd7eb7cd7af7485d29c9883c"
                        sip-identity 9999999999 T01 register auth-name "9999999" password encrypted "161444f02e79f6a8b41ff99f9d434ab1234c"
                        sip-authentication password encrypted "3c3988470cb9b200c4ad00db555e6abc68da"
                        codec-list 711
                      !
                      !


                      line con 0
                        no login
                      !
                      line telnet 0 4
                        login local-userlist
                        password md5 encrypted 19fca902a2e1542801adf9717afef0bd
                        no shutdown
                      line ssh 0 4
                        login local-userlist
                        no shutdown
                      !
                      sntp server X.X.X.X version 2
                      !
                      !
                      !
                      !
                      end
                      908#

                        • Re: Configuration need
                          mattdarnell New Member

                          I am having similar issues.  Here is my setup:

                           

                          Telco <--> Adtran 550 <-ISDN-PRI-> TA908e <-TCP SIP-> Mitel 3300

                           

                          I can get calls from the telco through the 550 and to the 908e, but then I get this error:

                          14:49:05.534 ISDN.RES_MGR Reserving an inbound channel.
                          14:49:05.534 ISDN.RES_MGR Searching for matching ISDN Group.

                          14:49:05.534 ISDN.GROUP 0 ISDN Group 0: Interface 'pri 1' is not connected.

                          14:49:05.534 ISDN.GROUP 1 ISDN Group 1: Interface 'pri 1' is not connected.

                          14:49:05.534 ISDN.GROUP 2 ISDN Group 2: Interface 'pri 1' is not connected.

                          14:49:05.534 ISDN.RES_MGR ISDN Group 0 is best match.

                          14:49:05.534 ISDN.RES_MGR Could not get an ISDN channel.

                           

                          I thought the 'accept $' would route all calls from one trunk to the other.  The system does even try the SIP connection to the PBX.

                           

                          The 908e is hust passing the traffic back and forth, not doing any routing or registration.

                           

                          Here is my config, anyone see the issue?

                           

                          !
                          !
                          ! ADTRAN, Inc. OS version A4.11.00.E
                          ! Boot ROM version 14.05.00.SA
                          ! Platform: Total Access 908e (2nd Gen), part number 4242908L1
                          ! Serial number CFG1089218
                          !
                          !
                          hostname "TA908e"
                          enable password password
                          !
                          clock timezone -10
                          clock no-auto-correct-DST
                          !
                          ip subnet-zero
                          ip classless
                          ip default-gateway 192.168.200.1
                          ip routing
                          !
                          !
                          !
                          !
                          no auto-config
                          !
                          event-history on
                          no logging forwarding
                          no logging email
                          !
                          no service password-encryption
                          !
                          username "admin" password "password"
                          !
                          banner motd #
                                  Important

                          Web username/password is configured to admin/password.
                          Enable and Telnet passwords are configured to "password".
                          Please change them immediately.

                          The ethernet 0/1 interface is enabled with an address of 10.10.10.1
                          Telnet/SSH access is also enabled.
                          #
                          !
                          !
                          no ip firewall alg msn
                          no ip firewall alg mszone
                          no ip firewall alg h323
                          !
                          !
                          !
                          !
                          !
                          no dot11ap access-point-control
                          !
                          !
                          !
                          !
                          !
                          !
                          !
                          !
                          !
                          !
                          !
                          !
                          !
                          interface eth 0/1
                            ip address  192.168.200.85  255.255.255.0
                            no shutdown
                          !
                          !
                          interface eth 0/2
                            ip address  10.100.200.200  255.255.255.0
                            no awcp
                            shutdown
                          !
                          !
                          !
                          !
                          interface t1 0/1
                            shutdown
                          !
                          interface t1 0/2
                            shutdown
                          !
                          interface t1 0/3
                            shutdown
                          !
                          interface t1 0/4
                            description T1 0/4
                            tdm-group 1 timeslots 1-24 speed 64
                            no shutdown
                          !
                          !
                          interface pri 1
                            description pri 1
                            connect t1 0/4 tdm-group 1
                            role user
                            no shutdown
                          !
                          interface pri 2
                            description pri 2
                            isdn name-delivery proceeding
                            role user
                            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
                          !
                          interface fxs 0/5
                            no shutdown
                          !
                          interface fxs 0/6
                            no shutdown
                          !
                          interface fxs 0/7
                            no shutdown
                          !
                          interface fxs 0/8
                            no shutdown
                          !
                          !
                          interface fxo 0/0
                            no shutdown
                          !
                          !
                          isdn-group 1
                          !
                          !
                          isdn-group 2
                          !
                          !
                          !
                          !
                          timing-source t1 0/4
                          !
                          timing-source t1 0/1 secondary
                          !
                          !
                          !
                          !
                          !
                          !
                          !
                          ip route 0.0.0.0 0.0.0.0 192.168.200.1
                          !
                          no ip tftp server
                          no ip tftp server overwrite
                          ip http server
                          no ip http secure-server
                          no ip snmp agent
                          no ip ftp server
                          no ip scp server
                          no ip sntp server
                          !
                          !
                          !
                          !
                          !
                          !
                          ip sip
                          no ip sip udp
                          ip sip tcp 5060
                          !
                          !
                          !
                          voice feature-mode network
                          voice forward-mode network
                          !
                          !
                          !
                          !
                          !
                          !
                          !
                          !
                          !
                          !
                          !
                          !
                          !
                          voice trunk T01 type sip
                            description "SIP to vMCD"
                            sip-server primary 192.168.200.141
                          !
                          voice trunk T02 type isdn
                            description "PRI to 550"
                            resource-selection circular descending
                            connect isdn-group 1
                            rtp delay-mode adaptive
                          !
                          !
                          voice grouped-trunk TG01
                            description "SIP Trunk Group"
                            trunk T01
                            accept $ cost 0
                          !
                          !
                          voice grouped-trunk TG02
                            description "ISDN-PRI"
                            trunk T02
                          !
                          !
                          !
                          !
                          !
                          !
                          !
                          !
                          !
                          !
                          !
                          !
                          !
                          !
                          !
                          !
                          !
                          !
                          !
                          !
                          !
                          !
                          !
                          !
                          !
                          line con 0
                            no login
                          !
                          line telnet 0 4
                            login
                            password password
                            no shutdown
                          line ssh 0 4
                            login local-userlist
                            no shutdown
                          !
                          !
                          !
                          !
                          !
                          end



                            • Re: Configuration need
                              mattdarnell New Member

                              I have tried to massage the above configs and they don't seem to work with me.  One thing that sticks out is the first sample has this:

                              isdn-group 1

                                   connect pri 1

                               

                              I am not clear as to what the above does, I am using Net 4 for the PRI.

                               

                              -Matt

                          • Re: Configuration need
                            mattdarnell New Member

                            I upgrade to R10.3.3.E with no change.

                             

                            Added 'accept $ cost 0' for the PRI group with no change.

                             

                            -Matt

                              • Re: Configuration need
                                jasonc New Member

                                try adding {media-gateway ip primary} to your interface eth 0/1

                                 

                                 

                                Jason

                                  • Re: Configuration need
                                    mattdarnell New Member

                                    Had to make a few changes:

                                     

                                    • On the PRI grouped-trunk, we had to add "accept $." 
                                    •   We had to add "connect pri 1" to the isdn-group.
                                    •   We had to add "media-gateway ip primary" to the Ethernet interface.
                                    •   We had to add "TCP" to the SIP server command to signify that we were using SIP via TCP.

                                     

                                    Here is the working config - change 192.168.200.85 to the ip address of your 908e, change 192.168.200.1 to the gateway, and 192.168.200.141 to the SIP server.  The time zone in HST, user is admin, password is password.

                                    Note that I am using TCP from the 908e to the SIP server

                                     

                                    ------------------------------------------------

                                    !
                                    !
                                    ! ADTRAN, Inc. OS version R10.3.3.E
                                    ! Boot ROM version 14.05.00.SA
                                    ! Platform: Total Access 908e (2nd Gen), part number 4242908L1
                                    ! Serial number CFG1089218
                                    !
                                    !
                                    hostname "TA908e"
                                    enable password password
                                    !
                                    clock timezone -10
                                    clock no-auto-correct-DST
                                    !
                                    ip subnet-zero
                                    ip classless
                                    ip routing
                                    ipv6 unicast-routing
                                    !
                                    !
                                    !
                                    !
                                    no auto-config
                                    !
                                    event-history on
                                    no logging forwarding
                                    no logging email
                                    !
                                    no service password-encryption
                                    !
                                    username "admin" password "password"
                                    !
                                    !
                                    no ip firewall alg msn
                                    no ip firewall alg mszone
                                    no ip firewall alg h323
                                    !
                                    !
                                    !
                                    !
                                    !
                                    !
                                    !
                                    !
                                    no dot11ap access-point-control
                                    !
                                    !
                                    !
                                    !
                                    !
                                    !
                                    !
                                    !
                                    !
                                    !
                                    !
                                    !
                                    !
                                    !
                                    !
                                    !
                                    !
                                    interface eth 0/1
                                      ip address  192.168.200.85  255.255.255.0
                                      media-gateway ip primary
                                      no shutdown
                                    !
                                    !
                                    interface eth 0/2
                                      ip address  10.100.200.200  255.255.255.0
                                      media-gateway ip primary
                                      no awcp
                                      shutdown
                                    !
                                    !
                                    !
                                    !
                                    interface t1 0/1
                                      shutdown
                                    !
                                    interface t1 0/2
                                      shutdown
                                    !
                                    interface t1 0/3
                                      shutdown
                                    !
                                    interface t1 0/4
                                      description T1 0/4
                                      tdm-group 1 timeslots 1-24 speed 64
                                      no shutdown
                                    !
                                    !
                                    interface pri 1
                                      description pri 1
                                      connect t1 0/4 tdm-group 1
                                      role user
                                      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
                                    !
                                    interface fxs 0/5
                                      no shutdown
                                    !
                                    interface fxs 0/6
                                      no shutdown
                                    !
                                    interface fxs 0/7
                                      no shutdown
                                    !
                                    interface fxs 0/8
                                      no shutdown
                                    !
                                    !
                                    interface fxo 0/0
                                      no shutdown
                                    !
                                    !
                                    isdn-group 1
                                      connect pri 1
                                    !
                                    !
                                    !
                                    !
                                    timing-source t1 0/4
                                    !
                                    timing-source t1 0/1 secondary
                                    !
                                    !
                                    !
                                    !
                                    !
                                    !
                                    !
                                    !
                                    !
                                    ip route 0.0.0.0 0.0.0.0 192.168.200.1
                                    !
                                    no tftp server
                                    no tftp server overwrite
                                    http server
                                    no http secure-server
                                    no snmp agent
                                    no ip ftp server
                                    no ip scp server
                                    no ip sntp server
                                    !
                                    !
                                    !
                                    !
                                    !
                                    !
                                    !
                                    !
                                    ip sip
                                    no ip sip udp
                                    ip sip tcp 5060
                                    !
                                    !
                                    !
                                    voice feature-mode network
                                    voice forward-mode network
                                    !
                                    !
                                    !
                                    !
                                    !
                                    !
                                    !
                                    !
                                    !
                                    !
                                    !
                                    !
                                    !
                                    !
                                    voice trunk T01 type sip
                                      description "SIP to vMCD"
                                      sip-server primary 192.168.200.141 tcp
                                    !
                                    voice trunk T02 type isdn
                                      description "PRI to 550"
                                      resource-selection circular descending
                                      connect isdn-group 1
                                      rtp delay-mode adaptive
                                    !
                                    !
                                    voice grouped-trunk TG01
                                      description "SIP Trunk Group"
                                      trunk T01
                                      accept $ cost 0
                                    !
                                    !
                                    voice grouped-trunk TG02
                                      description "ISDN-PRI"
                                      trunk T02
                                      accept $ cost 0
                                    !
                                    !
                                    !
                                    !
                                    !
                                    !
                                    !
                                    !
                                    !
                                    !
                                    !
                                    !
                                    !
                                    !
                                    !
                                    !
                                    !
                                    !
                                    !
                                    !
                                    !
                                    !
                                    !
                                    !
                                    !
                                    !
                                    !
                                    !
                                    line con 0
                                      no login
                                    !
                                    line telnet 0 4
                                      login
                                      password password
                                      no shutdown
                                    line ssh 0 4
                                      login local-userlist
                                      no shutdown
                                    !
                                    !
                                    !
                                    !
                                    !
                                    end


                              • Re: Configuration need
                                jayh Hall_of_Fame

                                For what it's worth, I like to be more specific on the voice grouped-trunk configuration than "accept $ cost 0", especially facing the PBX.  This helps to eliminate post-dial delay, allows for future expansion to additional trunk groups and helps prevent routing errors.  For example:

                                 

                                voice grouped-trunk TG01

                                  description "SIP gateway to PSTN"

                                  trunk T01

                                  accept NXX-XXXX cost 0

                                  accept NXX-NXX-XXXX cost 0

                                  accept 1-NXX-NXX-XXXX cost 0

                                  accept 011-$ cost 0

                                  accept N11 cost 0

                                  accept 0-NXX-NXX-XXXX cost 0

                                 

                                Assume PBX has DID range 312-555-0100 -> 312-555-0199

                                 

                                voice grouped-trunk TG02

                                  description "ISDN-PRI"

                                  trunk T02

                                  accept 312-555-01XX cost 0

                                • Re: Configuration need
                                  david Employee

                                  Mba,

                                   

                                  Do you have the sample configurations that you need?  Were you able to get your unit working as you would expect?  Please reply to this post if I can be of further assistance.

                                   

                                  Thanks!

                                  David

                                  • Re: Configuration need
                                    david Employee

                                    Mba,

                                     

                                    I went ahead and flagged the "Correct Answer" on this post to make it more visible and help other members of the community find solutions more easily. If you don't feel like the answer I marked was correct, feel free to come back to this post and unmark it and select another in its place with the applicable buttons.  If you still need assistance, we would be more than happy to continue working with you on this - just let us know in a reply.

                                     

                                    Thanks,

                                    David