cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Mike_Byrd
New Contributor

SIP to PRI on 904 with Fax DIDs, 2 trunk groups

I have a SIP trunk coming into a TA904 with a PRI hand off via T1 0/2 port to customer PBX. There are 12 fax DIDs on this SIP trunk. They are having issues sending and receiving multi-page faxes. I'm attempting to configure the 904 with a separate trunk for the faxes tied to the same PRI so that I can apply modem-passthrough. no echo-cancellation, t.38 and rtp dtmf-relay inband to only the 12 fax DIDs. However, when running a voice debug, all calls to the fax DIDs are SABR routing through trunk T03 instead of T02. I believe I have something incorrect in my configuration. 

Below are the relevant portions of the config, T01 is the SIP trunk coming in, T02 is for fax DIDs, T03 is for voice DIDs. Any assistance would be appreciated.

interface pri 1
description PRI
isdn name-delivery setup
connect t1 0/2 tdm-group 1
no shutdown
!
!
isdn-group 2
connect pri 1
!
!
isdn-group 3
connect pri 1
!
!
voice ani-list FAX
ani 3166
ani 3301
ani 3329
ani 3450
ani 3451
ani 3464
ani 3466
ani 3467
ani 3480
ani 3481
ani 3483
ani 3489
!
voice trunk-list PRI-VOICE
trunk T03
!
voice trunk-list PRI-FAX
trunk T02
!
voice trunk-list SIP-TRUNK
trunk T01
!
!
voice trunk T01 type sip
description "Perimeta SBC"
match ani "$" add p-asserted-identity "xxxxxxxxxx"
sip-server primary xxxxxxxxxxxxxxxxx
sip-header-passthrough both
register xxxxxxxxxx auth-name "xxxxxxxxxx" password encrypted xxxxxxxxxxxxxxx
codec-list G.711 both
authentication username "xxxxxxxxxx" password encrypted xxxxxxxxxxxxxxxxxxxx
!
voice trunk T02 type isdn
description "PRI-FAX"
resource-selection linear ascending
caller-id-override number-inbound xxxxxxxxxx if-no-cpn
connect isdn-group 2
modem-passthrough
t38
no nls
no echo-cancellation
rtp delay-mode fixed
rtp dtmf-relay inband
codec-list G.711
!
voice trunk T03 type isdn
description "PRI-VOICE"
resource-selection linear ascending
caller-id-override number-inbound xxxxxxxxxx if-no-cpn
connect isdn-group 3
rtp delay-mode adaptive
codec-list G.711
!
!
voice grouped-trunk SIP-TRUNK
trunk T01
accept $ cost 0
permit list PRI
permit list FAX
permit list PRI-FAX
!deny all other trunks
!deny all other ani
!
!
voice grouped-trunk PRI-FAX
trunk T02
accept $ cost 0
permit list FAX
permit list PRI-FAX
deny list PRI
deny list SIP-TRUNK
!deny all other trunks
!deny all other ani
!
!
voice grouped-trunk PRI-VOICE
trunk T03
accept $ cost 0
permit list SIP-TRUNK
permit list PRI
deny list FAX
deny list PRI-FAX
!deny all other trunks
!deny all other ani
!

0 Kudos