We have a customer set up with 2 SIP backhauled PRI's.
Customer is dialing (slowly) and their PBX inter-digit timer expires. Upon expiry, the customer PBX sends a PRI SETUP with an invalid number. The Adtran 908 receives the PRI SETUP and sends the SIP INVITE to the soft-switch. The soft-switch rejects the call with a SIP 484 (Address Incomplete) back to the Adtran 908. Which is what we expect to happen.
Once the Adtran 908 receives the SIP 484, it tries to route the call down the 2nd PRI back into the customer's PBX.
1) What could be causing this behavior?
2) How can it be corrected?
Configuration is below. IP addresses and passwords have been changed to protect the innocent...
Building configuration... |
! |
! |
! ADTRAN, Inc. OS version R10.9.6.E |
! Boot ROM version R10.9.3.B2 |
! Platform: Total Access 900e (3rd Gen), part number 4243924F1 |
! Serial number CFG1503548 |
! |
! |
hostname "XXXXXXXXXXXXXX" |
enable password XXXXXXXX |
! |
! |
clock timezone -6-Central-Time |
! |
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 "XXXXXXX" |
! |
banner motd # |
Important |
SSH & Web username/password is configured to admin/password. |
Enable and Telnet passwords are configured to "password". |
Please change them immediately. |
The gig 0/1 interface is enabled with an address of 1.2.3.4 |
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 |
! |
! |
! |
! |
! |
! |
! |
ip dhcp pool "Private" |
network 1.2.3.0 255.255.255.0 |
netbios-node-type h-node |
default-router 1.2.3.1 |
! |
! |
! |
! |
! |
! |
! |
ip crypto ffe |
! |
! |
! |
! |
! |
! |
! |
interface eth 0/1 |
description WAN interface to Meta |
ip address 6.7.8.9 255.255.255.0 |
no ip proxy-arp |
media-gateway ip primary |
no shutdown |
! |
! |
interface eth 0/2 |
no ip address |
shutdown |
! |
! |
! |
interface gigabit-eth 0/1 |
ip address 1.2.3.1 255.255.255.0 |
no shutdown |
! |
! |
! |
! |
interface t1 0/1 |
description DO_NOT_USE_FOR_PRI!! |
fdl none |
shutdown |
! |
interface t1 0/2 |
description DO_NOT_USE_FOR_PRI!! |
fdl none |
shutdown |
! |
interface t1 0/3 |
description T1 PRI to PBX |
fdl none |
tdm-group 1 timeslots 1-24 speed 64 |
no shutdown |
! |
interface t1 0/4 |
description T1 PRI to PBX |
fdl none |
tdm-group 2 timeslots 1-24 speed 64 |
no shutdown |
! |
! |
interface pri 1 |
description pri 1 |
role network b-channel-restarts enable |
isdn name-delivery display |
connect t1 0/3 tdm-group 1 |
digits-transferred 4 |
no shutdown |
! |
interface pri 2 |
description pri 2 |
role network b-channel-restarts enable |
isdn name-delivery setup |
connect t1 0/4 tdm-group 2 |
digits-transferred 4 |
no shutdown |
! |
! |
interface fxs 0/1 |
impedance 600r |
no shutdown |
! |
interface fxs 0/2 |
impedance 600r |
no shutdown |
! |
interface fxs 0/3 |
impedance 600r |
no shutdown |
! |
interface fxs 0/4 |
impedance 600r |
no shutdown |
! |
interface fxs 0/5 |
impedance 600r |
no shutdown |
! |
interface fxs 0/6 |
impedance 600r |
no shutdown |
! |
interface fxs 0/7 |
impedance 600r |
no shutdown |
! |
interface fxs 0/8 |
impedance 600r |
no shutdown |
! |
interface fxs 0/9 |
impedance 600r |
no shutdown |
! |
interface fxs 0/10 |
impedance 600r |
no shutdown |
! |
interface fxs 0/11 |
impedance 600r |
no shutdown |
! |
interface fxs 0/12 |
impedance 600r |
no shutdown |
! |
interface fxs 0/13 |
impedance 600r |
no shutdown |
! |
interface fxs 0/14 |
impedance 600r |
no shutdown |
! |
interface fxs 0/15 |
impedance 600r |
no shutdown |
! |
interface fxs 0/16 |
impedance 600r |
no shutdown |
! |
interface fxs 0/17 |
impedance 600r |
no shutdown |
! |
interface fxs 0/18 |
impedance 600r |
no shutdown |
! |
interface fxs 0/19 |
impedance 600r |
no shutdown |
! |
interface fxs 0/20 |
impedance 600r |
no shutdown |
! |
interface fxs 0/21 |
impedance 600r |
no shutdown |
! |
interface fxs 0/22 |
impedance 600r |
no shutdown |
! |
interface fxs 0/23 |
impedance 600r |
no shutdown |
! |
interface fxs 0/24 |
impedance 600r |
no shutdown |
! |
! |
isdn-group 2 |
connect pri 1 |
! |
! |
isdn-group 3 |
connect pri 2 |
! |
! |
! |
! |
! |
! |
! |
! |
! |
! |
! |
! |
ip route 0.0.0.0 0.0.0.0 6.7.8.1 |
! |
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 |
! |
! |
! |
! |
! |
! |
! |
! |
sip |
sip udp 5060 |
sip tcp 5060 |
! |
! |
! |
voice feature-mode network |
voice timeouts interdigit 3 |
voice flashhook mode transparent |
voice forward-mode network |
voice conferencing-mode local |
voice codec-priority offer-sdp |
! |
! |
! |
! |
! |
! |
! |
! |
voice timeouts named-digit-timeout international 5 |
! |
voice timeouts named-digit-timeout quick 2 |
! |
voice timeouts named-digit-timeout slow 4 |
! |
voice dial-plan 2 long-distance 1-NXX-NXX-XXXX |
voice dial-plan 3 local *XX-NXX-XXXX |
voice dial-plan 4 long-distance *XX-1-NXX-NXX-XXXX |
voice dial-plan 5 long-distance XXX-XXX-XXXX |
voice dial-plan 6 local NXX-XXXX |
! |
! |
! |
! |
voice class-of-service GLOBAL |
! |
voice codec-list TRUNK |
codec g711ulaw |
! |
voice codec-list G711ONLY |
codec g711ulaw |
! |
voice codec-list USERS |
codec g711ulaw |
! |
! |
! |
voice trunk T01 type sip |
description "SIP Trunk to Provider" |
sip-server primary 3.3.3.3 |
registrar primary 3.3.3.3 |
domain "3.3.3.3" |
codec-list USERS both |
! |
voice trunk T02 type isdn |
description "ISDN PRI" |
resource-selection linear ascending |
connect isdn-group 2 |
no early-cut-through |
modem-passthrough |
rtp delay-mode adaptive |
codec-list TRUNK |
! |
voice trunk T03 type isdn |
description "ISDN PRI" |
resource-selection linear ascending |
connect isdn-group 3 |
no early-cut-through |
modem-passthrough |
rtp delay-mode adaptive |
codec-list TRUNK |
! |
! |
voice grouped-trunk NETWORK |
trunk T01 |
accept $ cost 0 |
! |
! |
voice grouped-trunk PRI |
description "PRI voice grouped trunk" |
trunk T02 |
accept $ cost 0 |
! |
! |
voice grouped-trunk PRI2 |
trunk T03 |
! |
! |
! |
! |
! |
! |
voice mgcp-endpoint 1 |
alc |
connect fxs 0/1 |
description "MGCPfarendpoint1" |
modem-passthrough |
plc |
t38 |
! |
voice mgcp-endpoint 2 |
alc |
connect fxs 0/2 |
description "MGCPfarendpoint2" |
modem-passthrough |
plc |
t38 |
! |
voice mgcp-endpoint 3 |
alc |
connect fxs 0/3 |
description "MGCPfarendpoint3" |
modem-passthrough |
plc |
t38 |
! |
voice mgcp-endpoint 4 |
alc |
connect fxs 0/4 |
description "MGCPfarendpoint4" |
modem-passthrough |
plc |
t38 |
! |
voice mgcp-endpoint 5 |
alc |
connect fxs 0/5 |
description "MGCPfarendpoint5" |
modem-passthrough |
plc |
t38 |
! |
voice mgcp-endpoint 6 |
alc |
connect fxs 0/6 |
description "MGCPfarendpoint6" |
modem-passthrough |
plc |
t38 |
! |
voice mgcp-endpoint 7 |
alc |
connect fxs 0/7 |
description "MGCPfarendpoint7" |
modem-passthrough |
plc |
t38 |
! |
voice mgcp-endpoint 8 |
alc |
connect fxs 0/8 |
description "MGCPfarendpoint8" |
modem-passthrough |
plc |
t38 |
! |
voice mgcp-endpoint 9 |
alc |
connect fxs 0/9 |
description "MGCPfarendpoint9" |
modem-passthrough |
plc |
t38 |
! |
voice mgcp-endpoint 10 |
alc |
connect fxs 0/10 |
description "MGCPfarendpoint10" |
modem-passthrough |
plc |
t38 |
! |
voice mgcp-endpoint 11 |
alc |
connect fxs 0/11 |
description "MGCPfarendpoint11" |
modem-passthrough |
plc |
t38 |
! |
voice mgcp-endpoint 12 |
alc |
connect fxs 0/12 |
description "MGCPfarendpoint12" |
modem-passthrough |
plc |
t38 |
! |
voice mgcp-endpoint 13 |
alc |
connect fxs 0/13 |
description "MGCPfarendpoint13" |
modem-passthrough |
plc |
t38 |
! |
voice mgcp-endpoint 14 |
alc |
connect fxs 0/14 |
description "MGCPfarendpoint14" |
modem-passthrough |
plc |
t38 |
! |
voice mgcp-endpoint 15 |
alc |
connect fxs 0/15 |
description "MGCPfarendpoint15" |
modem-passthrough |
plc |
t38 |
! |
voice mgcp-endpoint 16 |
alc |
connect fxs 0/16 |
description "MGCPfarendpoint16" |
modem-passthrough |
plc |
t38 |
! |
voice mgcp-endpoint 17 |
alc |
connect fxs 0/17 |
description "MGCPfarendpoint17" |
modem-passthrough |
plc |
t38 |
! |
voice mgcp-endpoint 18 |
alc |
connect fxs 0/18 |
description "MGCPfarendpoint18" |
modem-passthrough |
plc |
t38 |
! |
voice mgcp-endpoint 19 |
alc |
connect fxs 0/19 |
description "MGCPfarendpoint19" |
modem-passthrough |
plc |
t38 |
! |
voice mgcp-endpoint 20 |
alc |
connect fxs 0/20 |
description "MGCPfarendpoint20" |
modem-passthrough |
plc |
t38 |
! |
voice mgcp-endpoint 21 |
alc |
connect fxs 0/21 |
description "MGCPfarendpoint21" |
modem-passthrough |
plc |
t38 |
! |
voice mgcp-endpoint 22 |
alc |
connect fxs 0/22 |
description "MGCPfarendpoint23" |
modem-passthrough |
plc |
t38 |
! |
voice mgcp-endpoint 23 |
alc |
connect fxs 0/23 |
description "MGCPfarendpoint23" |
modem-passthrough |
plc |
t38 |
! |
voice mgcp-endpoint 24 |
alc |
connect fxs 0/24 |
description "MGCPfarendpoint24" |
modem-passthrough |
plc |
t38 |
! |
ip mgcp |
ip mgcp call-agent primary 3.3.3.3 |
ip mgcp local-domain-name media-gateway |
! |
! |
! |
! |
! |
! |
! |
! |
! |
! |
! |
! |
! |
! |
! |
! |
! |
! |
! |
! |
ip rtp symmetric-filter |
! |
! |
! |
line con 0 |
no login |
! |
line telnet 0 4 |
login |
password XXXXXX |
no shutdown |
line ssh 0 4 |
login local-userlist |
no shutdown |
! |
! |
ntp server 64.233.128.155 version 3 source ethernet 0/1 prefer |
! |
! |
! |
end |
Note: We are certain that the soft-switch isn't sending the 'rerouted' call via SIP. The Adtran seems to be making this decision on it's own.
Instead of:
voice grouped-trunk PRI
accept $ cost 0
use:
voice grouped-trunk PRI
accept [dial pattern of valid DIDS on the PRI]
for example:
voice grouped-trunk PRI
accept 31255501XX cost 0
if your DID block is 312-555-01XX