This is driving me a bit insane. I know the solution is probably pretty easy, but PRI to SIP works fine. FXS inbound from the SIP trunk works. However, outbound calls on the FXS are routing to the PRI instead of the SIP trunk.
TA904#sh conf
Using 5478 bytes
!
!
! ADTRAN, Inc. OS version A4.11.00.E
! Boot ROM version 14.04.00
! Platform: Total Access 904 (2nd Gen), part number 4212904L1
! Serial number xxxxxxxxxxxx
!
!
hostname "TA904"
enable password xxxxxxxx
!
clock timezone -6-Central-Time
!
statistics rate-interval 30
!
ip subnet-zero
ip classless
ip default-gateway xx.xx.xx.x
ip routing
!
!
ip name-server 8.8.8.8
!
!
no auto-config
!
event-history on
no logging forwarding
no logging email
!
no service password-encryption
!
username "admin" password "xxxxxxxxxx"
!
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.
#
!
ip policy-timeout tcp all-ports 120
ip policy-timeout udp all-ports 30
ip policy-timeout icmp 10
!
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 xx.xx.xx.xx 255.255.255.248
media-gateway ip primary
no shutdown
!
!
!
!
interface t1 0/1
shutdown
!
interface t1 0/2
description Avaya PRI
fdl att
tdm-group 1 timeslots 1-24 speed 64
no shutdown
!
!
interface pri 1
description pri 1
isdn name-delivery display
connect t1 0/2 tdm-group 1
digits-transferred 7
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
!
!
isdn-group 2
!
!
!
!
timing-source internal secondary
!
!
!
!
!
!
!
ip route 0.0.0.0 0.0.0.0 xx.xx.xx.xx
!
no ip tftp server
no ip tftp server overwrite
no ip http server
ip http secure-server
no ip 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 international-prefix abbreviated
voice transfer unattended
!
voice feature-mode network
voice timeouts interdigit 2
voice forward-mode network
voice call-appearance-mode single
!
!
!
!
!
!
!
voice dial-plan 1 local NXX-NXX-XXXX
voice dial-plan 2 local $
!
!
!
!
!
voice ani-list fxs-ani-list
ani 9722700319
ani 9722700543
ani 9726818700
ani 9726818727
!
!
voice trunk T01 type sip
description "Coredial"
sip-server primary xxxxxxxxxx.coredial.com
registrar primary xxxxxxxxxx.coredial.com
registrar expire-time 1200
outbound-proxy primary xxxxxxxxx.coredial.com
domain "xxxxxxxx.coredial.com"
register xxxxxxxxxxxxxxxxx
grammar from host local
grammar to host domain
!
voice trunk T02 type isdn
description "T02"
resource-selection linear ascending
connect isdn-group 1
rtp delay-mode adaptive
!
!
voice grouped-trunk PRI
trunk T02
accept NXX-XXXX cost 0
accept 1-NXX-NXX-XXXX cost 0
accept 1-800-NXX-XXXX cost 0
accept 1-888-NXX-XXXX cost 0
accept 1-877-NXX-XXXX cost 0
accept 1-866-NXX-XXXX cost 0
accept 1-855-NXX-XXXX cost 0
accept 011-$ cost 0
accept 911 cost 0
accept 0-NXX-NXX-XXXX cost 0
accept $ cost 0
accept NXX-NXX-XXXX cost 0
reject 976-XXXX
reject 1-900-NXX-XXXX
reject 1-976-NXX-XXXX
!
!
voice grouped-trunk COREDIAL
trunk T01
accept NXX-XXXX cost 0
accept 1-NXX-NXX-XXXX cost 0
accept 1-800-NXX-XXXX cost 0
accept 1-888-NXX-XXXX cost 0
accept 1-877-NXX-XXXX cost 0
accept 1-866-NXX-XXXX cost 0
accept 1-855-NXX-XXXX cost 0
accept 011-$ cost 0
accept 911 cost 0
accept 0-NXX-NXX-XXXX cost 0
accept NXX-NXX-XXXX cost 0
reject 976-XXXX
reject 1-900-NXX-XXXX
reject 1-976-NXX-XXXX
!
!
voice grouped-trunk SIP1-TG
trunk T01
accept NXX-NXX-XXXX cost 0
accept $ cost 0
permit list fxs-ani-list
!deny all other trunks
!deny all other ani
!
!
voice user 9722700319
connect fxs 0/2
password "1234"
sip-authentication password "1234"
!
!
voice user 9722700543
connect fxs 0/1
password "1234"
sip-authentication password "1234"
!
!
voice user 9726818700
connect fxs 0/3
password "1234"
sip-authentication password "1234"
!
!
voice user 9726818727
connect fxs 0/4
password "1234"
sip-authentication password "1234"
!
!
!
!
!
!
!
!
!
!
!
ip sip registrar default-expires 120
!
!
!
!
!
!
!
ip sip timer registration-failure-retry 10
!
!
!
!
!
!
ip rtp quality-monitoring
ip rtp quality-monitoring udp
ip rtp quality-monitoring sip
no ip rtp quality-monitoring threshold lq-mos info
no ip rtp quality-monitoring threshold lq-mos notice
no ip rtp quality-monitoring threshold lq-mos warning
no ip rtp quality-monitoring threshold lq-mos error
no ip rtp quality-monitoring threshold pq-mos info
no ip rtp quality-monitoring threshold pq-mos notice
no ip rtp quality-monitoring threshold pq-mos warning
no ip rtp quality-monitoring threshold pq-mos error
ip rtp quality-monitoring history max-streams 500
ip rtp quality-monitoring round-trip-delay icmp-timestamp
!
line con 0
login local-userlist
!
line telnet 0 4
login local-userlist
password password
shutdown
line ssh 0 4
login local-userlist
no shutdown
!
!
!
!
!
end
TA904#
Hi ddunagan:
There are two trunk groups containing trunk T01. I'm not sure whether this is supported (or a good idea)--at least I haven't seen this kind of configuration before. I would consider eliminating one of the two trunk groups and try to consolidate dialing rules on a single group containing T01.
Your trunk groups all use accept <number> cost 0. To prefer one over the other for FXS, I think you'll need to change the other trunk group to use a higher cost for overlapping accept statements. Maybe like this:
!
voice grouped-trunk PRI
trunk T02
accept NXX-XXXX cost 10
accept 1-NXX-NXX-XXXX cost 10
accept 1-800-NXX-XXXX cost 10
accept 1-888-NXX-XXXX cost 10
accept 1-877-NXX-XXXX cost 10
accept 1-866-NXX-XXXX cost 10
accept 1-855-NXX-XXXX cost 10
accept 011-$ cost 10
accept 911 cost 10
accept 0-NXX-NXX-XXXX cost 10
accept $ cost 10
accept NXX-NXX-XXXX cost 10
reject 976-XXXX
reject 1-900-NXX-XXXX
reject 1-976-NXX-XXXX
!
!
voice grouped-trunk COREDIAL
trunk T01
accept NXX-XXXX cost 0
accept 1-NXX-NXX-XXXX cost 0
accept 1-800-NXX-XXXX cost 0
accept 1-888-NXX-XXXX cost 0
accept 1-877-NXX-XXXX cost 0
accept 1-866-NXX-XXXX cost 0
accept 1-855-NXX-XXXX cost 0
accept 011-$ cost 0
accept 911 cost 0
accept 0-NXX-NXX-XXXX cost 0
accept NXX-NXX-XXXX cost 0
reject 976-XXXX
reject 1-900-NXX-XXXX
reject 1-976-NXX-XXXX
!
Best,
Chris
Hi ddunagan:
There are two trunk groups containing trunk T01. I'm not sure whether this is supported (or a good idea)--at least I haven't seen this kind of configuration before. I would consider eliminating one of the two trunk groups and try to consolidate dialing rules on a single group containing T01.
Your trunk groups all use accept <number> cost 0. To prefer one over the other for FXS, I think you'll need to change the other trunk group to use a higher cost for overlapping accept statements. Maybe like this:
!
voice grouped-trunk PRI
trunk T02
accept NXX-XXXX cost 10
accept 1-NXX-NXX-XXXX cost 10
accept 1-800-NXX-XXXX cost 10
accept 1-888-NXX-XXXX cost 10
accept 1-877-NXX-XXXX cost 10
accept 1-866-NXX-XXXX cost 10
accept 1-855-NXX-XXXX cost 10
accept 011-$ cost 10
accept 911 cost 10
accept 0-NXX-NXX-XXXX cost 10
accept $ cost 10
accept NXX-NXX-XXXX cost 10
reject 976-XXXX
reject 1-900-NXX-XXXX
reject 1-976-NXX-XXXX
!
!
voice grouped-trunk COREDIAL
trunk T01
accept NXX-XXXX cost 0
accept 1-NXX-NXX-XXXX cost 0
accept 1-800-NXX-XXXX cost 0
accept 1-888-NXX-XXXX cost 0
accept 1-877-NXX-XXXX cost 0
accept 1-866-NXX-XXXX cost 0
accept 1-855-NXX-XXXX cost 0
accept 011-$ cost 0
accept 911 cost 0
accept 0-NXX-NXX-XXXX cost 0
accept NXX-NXX-XXXX cost 0
reject 976-XXXX
reject 1-900-NXX-XXXX
reject 1-976-NXX-XXXX
!
Best,
Chris
Thanks,Chris.
I have not removed the extra grouped-trunk, but setting the cost up on the PRI trunk worked!
Are you able to transfer using the FXS port?