Total Access 9XX - Bookending: Extending analog trunks over SIP
NOTE: This feature requires A2.05.00 or newer firmware.
The sample configuration below is designed to be used as a basic voice configuration template for extending analog trunks (FXO to FXS) over a packet network on the TA 9XX series. Two TA 9XX series IPBGs will be required to complete this application, one at the main location (FXO) and one at a remote location (FXS).
It is assumed that the routing features of the IPBG have already been configured. For more information about configuring IP interfaces for AOS voice applications, see this guide:Configuring IP Interfaces for SIP in AOS IPBGs . Before pasting the config at the privileged (enable) prompt of the command line, make sure and replace the SIP server address with the appropriate IP address (or hostname) of the remote device. It is also important to note that the media-gateway command must be applied to any interface used to source SIP or RTP traffic. For more information about the media-gateway command, see this guide: . For information on how to access the command line and enable prompt, see Accessing the Command Line Interface in AOS
Main Site TA 9XX (FXO)
!
voice dial-plan 10 local 100X
voice dial-plan 11 local 200X
!
voice trunk T01 type sip
description "SIP trunk to Remote Site"
sip-server primary <INSERT_WAN_IP_OF_REMOTE_SITE>
!
voice grouped-trunk SIP
trunk T01
accept 200X cost 0
!
!
voice trunk T11 type analog supervision loop-start
trunk-number 2001
connect fxo 0/1
match dnis 1001 substitute “”
!
voice trunk T12 type analog supervision loop-start
trunk-number 2002
connect fxo 0/2
match dnis 1002 substitute “”
!
voice trunk T13 type analog supervision loop-start
trunk-number 2003
connect fxo 0/3
match dnis 1003 substitute “”
!
voice grouped-trunk FXO-1
trunk T11
accept 1001 cost 0
!
voice grouped-trunk FXO-2
trunk T12
accept 1002 cost 0
!
voice grouped-trunk FXO-3
trunk T13
accept 1003 cost 0
!
|
Remote Site TA 9XX (FXS)
!
voice dial-plan 10 local 100X
voice dial-plan 11 local 200X
!
voice trunk T01 type sip
description "SIP trunk to Main Site"
sip-server primary <INSERT_WAN_IP_OF_MAIN_SITE>
!
voice grouped-trunk SIP
trunk T01
accept 100X cost 0
!
voice user 2001
connect fxs 0/1
hotline 1001
!
voice user 2002
connect fxs 0/2
hotline 1002
!
voice user 2003
connect fxs 0/3
hotline 1003
!
|
For more detail, see the guides here: