When a caller with a restricted number calls in on the main number the caller gets a message saying that the number has been changed or disconnected. We tested this by having the caller call in with their number restricted and then again without it restricted. When the caller calls in with his number unrestricted he is able to get through to to PBX. However if I call a fax number that is connected to an FXS port with my number restricted I am able to get through to that fax number. The programmer for my PBX said that it has something to do with how the ani lists were setup.
Here is the config of the adtran:
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2013.08.30 11:47:23 =~=~=~=~=~=~=~=~=~=~=~=
show run
Building configuration...
!
!
! ADTRAN, Inc. OS version R10.7.0.E
! Boot ROM version 14.04.00
! Platform: Total Access 924 (2nd Gen), part number 4212924L1
! Serial number CFG1078xxx
!
!
hostname "VGateway"
!
clock timezone -6-Central-Time
!
ip subnet-zero
ip classless
ip routing
!
!
domain-proxy
!
!
no auto-config
!
event-history on
logging forwarding on
logging facility local0
logging forwarding priority-level smdr
logging forwarding receiver-ip 172.xx.xx.2
no logging email
!
service password-encryption
!
!
banner motd #
-------------------------------------
Unauthorized Access is Prohibited!
-------------------------------------
#
!
!
no ip firewall alg msn
no ip firewall alg mszone
no ip firewall alg h323
!
!
!
!
!
no dot11ap access-point-control
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface eth 0/1
encapsulation 802.1q
no shutdown
!
interface eth 0/1.400
vlan-id 400
ip address 172.xx.xx.254 255.255.255.0
media-gateway ip primary
no shutdown
interface eth 0/1.500
vlan-id 500
ip address 10.xx.xx.89 255.255.255.0
no shutdown
!
!
!
interface t1 0/1
shutdown
!
interface t1 0/2
fdl att
tdm-group 1 timeslots 1-24 speed 64
no shutdown
!
!
interface pri 1
role user
connect t1 0/2 tdm-group 1
no shutdown
!
!
interface fxs 0/1
shutdown
!
interface fxs 0/2
no shutdown
!
interface fxs 0/3
no shutdown
!
interface fxs 0/4
shutdown
!
interface fxs 0/5
shutdown
!
interface fxs 0/6
shutdown
!
interface fxs 0/7
shutdown
!
interface fxs 0/8
shutdown
!
interface fxs 0/9
shutdown
!
interface fxs 0/10
shutdown
!
interface fxs 0/11
shutdown
!
interface fxs 0/12
shutdown
!
interface fxs 0/13
shutdown
!
interface fxs 0/14
shutdown
!
interface fxs 0/15
no shutdown
!
interface fxs 0/16
shutdown
!
interface fxs 0/17
no shutdown
!
interface fxs 0/18
no shutdown
!
interface fxs 0/19
no shutdown
!
interface fxs 0/20
shutdown
!
interface fxs 0/21
shutdown
!
interface fxs 0/22
no shutdown
!
interface fxs 0/23
shutdown
!
interface fxs 0/24
no shutdown
!
!
isdn-group 1
connect pri 1
!
isdn-number-template 0 prefix "" plan 1 type 2 NXX-NXX-XXXX
!
!
!
timing-source t1 0/2
!
!
!
!
!
!
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
ip sip udp 5060
no ip sip tcp
!
!
!
voice feature-mode network
voice flashhook mode transparent
voice forward-mode network
voice call-appearance-mode single
voice conferencing-mode local
!
!
!
!
voice spre 1 *XX
!
!
!
!
voice dial-plan 1 local NXX-NXX-XXXX
voice dial-plan 2 international 011$
!
!
!
!
voice codec-list asdf_DEFAULT
default
codec g711ulaw
!
!
voice ani-list all
ani $
ani X$
!
voice ani-list fxs
ani bb535
ani bb279
ani bb330
ani bb331
ani bb156
ani bb922
ani bb933
ani bb164
ani bbbbbb535
ani bbbbbb279
ani bbbbbb330
ani bbbbbb331
ani bbbbbb156
ani bbbbbb922
ani bbbbbb0946
ani bbbbbb2164
ani bb946
!
!
voice trunk T01 type isdn
description "PRI to asdf"
resource-selection linear ascending
connect isdn-group 1
t38
t38 redundancy high-speed 1
t38 redundancy low-speed 1
rtp delay-mode adaptive
codec-list asdf_DEFAULT
!
voice trunk T02 type sip
description "asdf to PRI"
sip-server primary 172.xx.xx.2
no registrar require-expires
dial-string source to
codec-list asdf_DEFAULT both
ringback override 180
!
!
voice grouped-trunk asdfSVOIPTRUNKGROUP
trunk T02
accept $ cost 0
deny list fxs
permit list all
!deny all other trunks
!deny all other ani
!
!
voice grouped-trunk PRITRUNKGROUP
trunk T01
accept $ cost 0
!
!
voice user bb535
connect fxs 0/19
password encrypted "3632c4555bae3c30d946651decec5e91b7ef"
sip-authentication password encrypted "3e3aabc0269fffe530c60954016850c211a3"
t38
codec-list asdf_DEFAULT
!
!
voice user bb279
connect fxs 0/15
password encrypted "1f1b4c6c6b536f39041ac568f6e7eec6ada1"
sip-authentication password encrypted "2d29d1f00300e2495106be31cf767d5bc500"
modem-passthrough
t38
codec-list asdf_DEFAULT
!
!
voice user bb330
connect fxs 0/24
password encrypted "3a3e1cc71c0f808a7a5ca64d5ad31b5a2cc9"
sip-authentication password encrypted "4044a0ec1b99ec2e460b8f2203161619f745"
modem-passthrough
t38
codec-list asdf_DEFAULT
!
!
voice user bb331
connect fxs 0/18
password encrypted "3f3b802c6899a4539120d2dbd1042cd80022"
sip-authentication password encrypted "292d291c308f6d66d48be17ad71b507967cd"
modem-passthrough
codec-list asdf_DEFAULT
!
!
voice user bb156
connect fxs 0/17
password encrypted "343092ec99d76d94b286649962d193cb80ee"
sip-authentication password encrypted "383c1b9e2f18b569b1350b96da4ae62fc205"
t38
codec-list asdf_DEFAULT
!
!
voice user bb922
connect fxs 0/22
password encrypted "3236064bfa8f2edecabf378b8bdecbb626b8"
sip-authentication password encrypted "4044a0ec1b99ec2e460b8f2203161619f745"
t38
codec-list asdf_DEFAULT
!
!
voice user bb164
connect fxs 0/2
password encrypted "15116ef4fba078a29de5f22184e0a21588ac"
sip-authentication password encrypted "161214f02c7d3ea8b41ff99f9d434ab7057c"
t38
codec-list asdf_DEFAULT
!
!
voice user bb946
connect fxs 0/3
password encrypted "292d291c308f6d66d48be17ad71b507967cd"
sip-authentication password encrypted "1a1e5b71ee92b5ed6304ce4748ac1c824558"
modem-passthrough
t38
codec-list asdf_DEFAULT
!
!
!
!
!
!
!
!
!
!
!
no ip sip registrar authenticate
!
!
!
!
!
!
!
!
!
!
!
!
!
!
ip rtp udp 19560
ip rtp symmetric-filter
!
!
!
line con 0
no login
!
line telnet 0 4
login
password encrypted 1c14bee49d8385f296168094fa3c66e3ae1e
no shutdown
line ssh 0 4
login local-userlist
no shutdown
!
!
ntp source ethernet 0/1.400
ntp server 172.xx.xx.2 source ethernet 0/1.400 prefer
!
!
!
end
VGateway#
Here is a log that show what happens whenI call in with my number restricted (1st call) and without it restricted (2nd call):
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2013.08.30 12:00:24 =~=~=~=~=~=~=~=~=~=~=~=
2013.08.30 12:00:24 T1.t1 0/2 CSS 15 min threshold exceeded
_VGateway#
_VGateway#debug isdn l2
_VGateway#debug isdn l2-f
_VGateway#debug isdn l2-formatted
_VGateway#
12:04:18.869 ISDN.L2_FMT PRI 1 ==============================================
12:04:18.870 ISDN.L2_FMT PRI 1 R Sapi:00 C/R:C Tei:00 INFO Ns:93 Nr:30 P:0
12:04:18.871 ISDN.L2_FMT PRI 1 Prot:08 CRL:2 CRV:0030
12:04:18.871 ISDN.L2_FMT PRI 1 M - 05 SETUP
12:04:18.871 ISDN.L2_FMT PRI 1 IE - 04 BEARER CAPABILITY Len=3
12:04:18.872 ISDN.L2_FMT PRI 1 80 Xfer Cap.:SPEECH
12:04:18.872 ISDN.L2_FMT PRI 1 90 Xfer Rate:64k
12:04:18.872 ISDN.L2_FMT PRI 1 A2 Layer 1:G.711 U-Law
12:04:18.873 ISDN.L2_FMT PRI 1 IE - 18 CHANNEL ID Len=3
12:04:18.873 ISDN.L2_FMT PRI 1 A9 Primary Rate
12:04:18.873 ISDN.L2_FMT PRI 1 Intfc ID:IMPLICIT
12:04:18.873 ISDN.L2_FMT PRI 1 Pref/Excl:EXCLUSIVE
12:04:18.874 ISDN.L2_FMT PRI 1 D-Chan Indicated:NO
12:04:18.874 ISDN.L2_FMT PRI 1 Chan. Sel:FOLLOWS
12:04:18.874 ISDN.L2_FMT PRI 1 83 Numb/Map:NUMBER
12:04:18.875 ISDN.L2_FMT PRI 1 84 Channel:4
12:04:18.875 ISDN.L2_FMT PRI 1 IE - 1E PROGRESS INDICATOR Len=2
12:04:18.875 ISDN.L2_FMT PRI 1 82 Location:LN
12:04:18.875 ISDN.L2_FMT PRI 1 83 Description:ORIG. NOT ISDN
12:04:18.876 ISDN.L2_FMT PRI 1 IE - 6C CALLING PARTY # Len=2
12:04:18.876 ISDN.L2_FMT PRI 1 21 Numb. Type:NATIONAL
12:04:18.876 ISDN.L2_FMT PRI 1 Numb. Plan:E.164
12:04:18.877 ISDN.L2_FMT PRI 1 A3 Presentation:RESTRICTED
12:04:18.877 ISDN.L2_FMT PRI 1 Screening:NTWK PROVIDED
12:04:18.878 ISDN.L2_FMT PRI 1 Ph.#
12:04:18.878 ISDN.L2_FMT PRI 1 IE - 70 CALLED PARTY # Len=6
12:04:18.878 ISDN.L2_FMT PRI 1 80 Numb. Type:UNKNOWN
12:04:18.878 ISDN.L2_FMT PRI 1 Numb. Plan:UNKNOWN
12:04:18.879 ISDN.L2_FMT PRI 1 Ph.# bb151
12:04:18.882 ISDN.L2_FMT PRI 1 ==============================================
12:04:18.882 ISDN.L2_FMT PRI 1 T Sapi:00 C/R:R Tei:00 INFO Ns:30 Nr:94 P:0
12:04:18.883 ISDN.L2_FMT PRI 1 Prot:08 CRL:2 CRV:8030
12:04:18.883 ISDN.L2_FMT PRI 1 M - 02 CALL_PROC
12:04:18.883 ISDN.L2_FMT PRI 1 IE - 18 CHANNEL ID Len=3
12:04:18.883 ISDN.L2_FMT PRI 1 A9 Primary Rate
12:04:18.884 ISDN.L2_FMT PRI 1 Intfc ID:IMPLICIT
12:04:18.884 ISDN.L2_FMT PRI 1 Pref/Excl:EXCLUSIVE
12:04:18.884 ISDN.L2_FMT PRI 1 D-Chan Indicated:NO
12:04:18.885 ISDN.L2_FMT PRI 1 Chan. Sel:FOLLOWS
12:04:18.885 ISDN.L2_FMT PRI 1 83 Numb/Map:NUMBER
12:04:18.885 ISDN.L2_FMT PRI 1 84 Channel:4
12:04:18.901 ISDN.L2_FMT PRI 1 ==============================================
12:04:18.901 ISDN.L2_FMT PRI 1 T Sapi:00 C/R:R Tei:00 INFO Ns:31 Nr:94 P:0
12:04:18.901 ISDN.L2_FMT PRI 1 Prot:08 CRL:2 CRV:8030
12:04:18.902 ISDN.L2_FMT PRI 1 M - 45 DISCONNECT
12:04:18.902 ISDN.L2_FMT PRI 1 IE - 08 CAUSE Len=2
12:04:18.902 ISDN.L2_FMT PRI 1 80 Location:U
12:04:18.903 ISDN.L2_FMT PRI 1 81 Cause:1 (UNASSIGNED_NUMBER)
12:04:19.025 ISDN.L2_FMT PRI 1 ==============================================
12:04:19.025 ISDN.L2_FMT PRI 1 R Sapi:00 C/R:C Tei:00 INFO Ns:94 Nr:32 P:0
12:04:19.025 ISDN.L2_FMT PRI 1 Prot:08 CRL:2 CRV:0030
12:04:19.026 ISDN.L2_FMT PRI 1 M - 4D RELEASE
12:04:19.029 ISDN.L2_FMT PRI 1 ==============================================
12:04:19.029 ISDN.L2_FMT PRI 1 T Sapi:00 C/R:R Tei:00 INFO Ns:32 Nr:95 P:0
12:04:19.030 ISDN.L2_FMT PRI 1 Prot:08 CRL:2 CRV:8030
12:04:19.030 ISDN.L2_FMT PRI 1 M - 5A RELEASE_CMP
______________________________________________________________________________________________________________________________________________________________
12:04:37.578 ISDN.L2_FMT PRI 1 ==============================================
12:04:37.579 ISDN.L2_FMT PRI 1 R Sapi:00 C/R:C Tei:00 INFO Ns:97 Nr:36 P:0
12:04:37.579 ISDN.L2_FMT PRI 1 Prot:08 CRL:2 CRV:0032
12:04:37.580 ISDN.L2_FMT PRI 1 M - 05 SETUP
12:04:37.580 ISDN.L2_FMT PRI 1 IE - 04 BEARER CAPABILITY Len=3
12:04:37.581 ISDN.L2_FMT PRI 1 80 Xfer Cap.:SPEECH
12:04:37.581 ISDN.L2_FMT PRI 1 90 Xfer Rate:64k
12:04:37.581 ISDN.L2_FMT PRI 1 A2 Layer 1:G.711 U-Law
12:04:37.582 ISDN.L2_FMT PRI 1 IE - 18 CHANNEL ID Len=3
12:04:37.582 ISDN.L2_FMT PRI 1 A9 Primary Rate
12:04:37.582 ISDN.L2_FMT PRI 1 Intfc ID:IMPLICIT
12:04:37.583 ISDN.L2_FMT PRI 1 Pref/Excl:EXCLUSIVE
12:04:37.583 ISDN.L2_FMT PRI 1 D-Chan Indicated:NO
12:04:37.583 ISDN.L2_FMT PRI 1 Chan. Sel:FOLLOWS
12:04:37.583 ISDN.L2_FMT PRI 1 83 Numb/Map:NUMBER
12:04:37.584 ISDN.L2_FMT PRI 1 85 Channel:5
12:04:37.584 ISDN.L2_FMT PRI 1 IE - 1E PROGRESS INDICATOR Len=2
12:04:37.584 ISDN.L2_FMT PRI 1 82 Location:LN
12:04:37.585 ISDN.L2_FMT PRI 1 83 Description:ORIG. NOT ISDN
12:04:37.585 ISDN.L2_FMT PRI 1 IE - 6C CALLING PARTY # Len=12
12:04:37.585 ISDN.L2_FMT PRI 1 21 Numb. Type:NATIONAL
12:04:37.586 ISDN.L2_FMT PRI 1 Numb. Plan:E.164
12:04:37.586 ISDN.L2_FMT PRI 1 83 Presentation:ALLOWED
12:04:37.586 ISDN.L2_FMT PRI 1 Screening:NTWK PROVIDED
12:04:37.586 ISDN.L2_FMT PRI 1 Ph.# bbbbbb6504
12:04:37.587 ISDN.L2_FMT PRI 1 IE - 70 CALLED PARTY # Len=6
12:04:37.587 ISDN.L2_FMT PRI 1 80 Numb. Type:UNKNOWN
12:04:37.587 ISDN.L2_FMT PRI 1 Numb. Plan:UNKNOWN
12:04:37.588 ISDN.L2_FMT PRI 1 Ph.# bb151
12:04:37.597 ISDN.L2_FMT PRI 1 ==============================================
12:04:37.597 ISDN.L2_FMT PRI 1 T Sapi:00 C/R:R Tei:00 INFO Ns:36 Nr:98 P:0
12:04:37.597 ISDN.L2_FMT PRI 1 Prot:08 CRL:2 CRV:8032
12:04:37.598 ISDN.L2_FMT PRI 1 M - 02 CALL_PROC
12:04:37.598 ISDN.L2_FMT PRI 1 IE - 18 CHANNEL ID Len=3
12:04:37.598 ISDN.L2_FMT PRI 1 A9 Primary Rate
12:04:37.599 ISDN.L2_FMT PRI 1 Intfc ID:IMPLICIT
12:04:37.599 ISDN.L2_FMT PRI 1 Pref/Excl:EXCLUSIVE
12:04:37.599 ISDN.L2_FMT PRI 1 D-Chan Indicated:NO
12:04:37.599 ISDN.L2_FMT PRI 1 Chan. Sel:FOLLOWS
12:04:37.600 ISDN.L2_FMT PRI 1 83 Numb/Map:NUMBER
12:04:37.600 ISDN.L2_FMT PRI 1 85 Channel:5
12:04:37.678 ISDN.L2_FMT PRI 1 ==============================================
12:04:37.679 ISDN.L2_FMT PRI 1 T Sapi:00 C/R:R Tei:00 INFO Ns:37 Nr:98 P:0
12:04:37.679 ISDN.L2_FMT PRI 1 Prot:08 CRL:2 CRV:8032
12:04:37.679 ISDN.L2_FMT PRI 1 M - 01 ALERTING
12:04:37.680 ISDN.L2_FMT PRI 1 IE - 1E PROGRESS INDICATOR Len=2
12:04:37.680 ISDN.L2_FMT PRI 1 80 Location:U
12:04:37.680 ISDN.L2_FMT PRI 1 88 Description:INBAND AUDIO AVAIL
12:04:44.152 ISDN.L2_FMT PRI 1 ==============================================
12:04:44.152 ISDN.L2_FMT PRI 1 T Sapi:00 C/R:R Tei:00 INFO Ns:38 Nr:98 P:0
12:04:44.152 ISDN.L2_FMT PRI 1 Prot:08 CRL:2 CRV:06EA
12:04:44.153 ISDN.L2_FMT PRI 1 M - 45 DISCONNECT
12:04:44.153 ISDN.L2_FMT PRI 1 IE - 08 CAUSE Len=2
12:04:44.153 ISDN.L2_FMT PRI 1 80 Location:U
12:04:44.154 ISDN.L2_FMT PRI 1 90 Cause:16 (NORMAL_CLEARING)
12:04:44.205 ISDN.L2_FMT PRI 1 ==============================================
12:04:44.206 ISDN.L2_FMT PRI 1 R Sapi:00 C/R:C Tei:00 INFO Ns:98 Nr:39 P:0
12:04:44.206 ISDN.L2_FMT PRI 1 Prot:08 CRL:2 CRV:86EA
12:04:44.206 ISDN.L2_FMT PRI 1 M - 4D RELEASE
12:04:44.212 ISDN.L2_FMT PRI 1 ==============================================
12:04:44.213 ISDN.L2_FMT PRI 1 T Sapi:00 C/R:R Tei:00 INFO Ns:39 Nr:99 P:0
12:04:44.214 ISDN.L2_FMT PRI 1 Prot:08 CRL:2 CRV:06EA
12:04:44.214 ISDN.L2_FMT PRI 1 M - 5A RELEASE_CMP
12:04:44.256 ISDN.L2_FMT PRI 1 ==============================================
12:04:44.256 ISDN.L2_FMT PRI 1 T Sapi:00 C/R:R Tei:00 INFO Ns:40 Nr:99 P:0
12:04:44.257 ISDN.L2_FMT PRI 1 Prot:08 CRL:2 CRV:8032
12:04:44.257 ISDN.L2_FMT PRI 1 M - 07 CONNECT
12:04:44.292 ISDN.L2_FMT PRI 1 ==============================================
12:04:44.293 ISDN.L2_FMT PRI 1 R Sapi:00 C/R:C Tei:00 INFO Ns:99 Nr:41 P:0
12:04:44.293 ISDN.L2_FMT PRI 1 Prot:08 CRL:2 CRV:0032
12:04:44.294 ISDN.L2_FMT PRI 1 M - 0F CONNECT_ACK
12:04:52.713 ISDN.L2_FMT PRI 1 ==============================================
12:04:52.713 ISDN.L2_FMT PRI 1 T Sapi:00 C/R:R Tei:00 INFO Ns:41 Nr:100 P:0
12:04:52.714 ISDN.L2_FMT PRI 1 Prot:08 CRL:2 CRV:8032
12:04:52.714 ISDN.L2_FMT PRI 1 M - 45 DISCONNECT
12:04:52.714 ISDN.L2_FMT PRI 1 IE - 08 CAUSE Len=2
12:04:52.715 ISDN.L2_FMT PRI 1 80 Location:U
12:04:52.715 ISDN.L2_FMT PRI 1 90 Cause:16 (NORMAL_CLEARING)
12:04:52.865 ISDN.L2_FMT PRI 1 ==============================================
12:04:52.866 ISDN.L2_FMT PRI 1 R Sapi:00 C/R:C Tei:00 INFO Ns:100 Nr:42 P:0
12:04:52.866 ISDN.L2_FMT PRI 1 Prot:08 CRL:2 CRV:0032
12:04:52.866 ISDN.L2_FMT PRI 1 M - 4D RELEASE
12:04:52.880 ISDN.L2_FMT PRI 1 ==============================================
12:04:52.880 ISDN.L2_FMT PRI 1 T Sapi:00 C/R:R Tei:00 INFO Ns:42 Nr:101 P:0
12:04:52.880 ISDN.L2_FMT PRI 1 Prot:08 CRL:2 CRV:8032
12:04:52.881 ISDN.L2_FMT PRI 1 M - 5A RELEASE_CMP
It sounds like the box is working as expected. Because calls have no ANI, they fail the match of "ani $" which requires at least one character.
Permitting the trunk should fix it without having to use the 000-000-0000 hack.
Try this:
voice trunk-list pri-list
trunk T01
voice grouped-trunk asdfSVOIPTRUNKGROUP
trunk T02
accept $ cost 0
deny list fxs
permit list all
permit list pri-list
!deny all other trunks
!deny all other ani
!
This looks like SABR is denying the call based on
!
voice ani-list all
ani $
ani X$
!
Because the rejected calls have no ANI, they fail the match. If you don't really need SABR, eliminate it on the SIP trunk. Otherwise, kind of an ugly hack, but try:
voice trunk T01 type isdn
caller-id-override number-inbound 0000000000 if-no-cpn
Or, configure a trunk list and permit it.
voice trunk-list pri-list
trunk T01
voice grouped-trunk asdfSVOIPTRUNKGROUP
trunk T02
accept $ cost 0
deny list fxs
permit list all
permit list pri-list
!deny all other trunks
!deny all other ani
!
If the above doesn't fix it, consider upgrading to R10.9.0.
Release Notes R10.9.0
Fixes
AOS version R10.9.0.
This section highlights the voice specific bug fixes in products running AOS version R10.9.0
Yours is a user role PRI but occasionally a bug is more widespread than stated in the notes.
Adding the Caller ID override fixed the issue. I will also try upgrading to 10.9.0 to when I get a chance. Thanks for the help!
Glad to hear it. Adding the trunk as a trunk-list should also work.
Hey Adtran folks - feature request!
Add the keyword "null" to the possibilities for pattern-match on an ANI-list to be able to steer calls with no ANI via SABR.
Better yet, add more than one option such as "none" and "restricted" to enable routing them differently.
Presently SABR is a great tool but lacks the ability to select a route based on the absence of ANI.
Just an FYI, I tried upgrading to 10.9.0 and it did not resolve the issue.
It sounds like the box is working as expected. Because calls have no ANI, they fail the match of "ani $" which requires at least one character.
Permitting the trunk should fix it without having to use the 000-000-0000 hack.
Try this:
voice trunk-list pri-list
trunk T01
voice grouped-trunk asdfSVOIPTRUNKGROUP
trunk T02
accept $ cost 0
deny list fxs
permit list all
permit list pri-list
!deny all other trunks
!deny all other ani
!
Yeah I tried this yesterday and it worked. Thanks for all the help!