I configured the voice trunk (SIP) as follows
voice trunk T01 type sip
grammar request-uri host domain
grammar from host domain
grammar to host domain
description "SIPTrunk"
match dnis "NXXNXXXXXX" substitute "1NXXNXXXXXX"
sip-server primary #registrar# udp 5065
registrar primary #registrar# udp 5065
authentication username "#SIP username#" password "#SIP Password#"
domain #registrar#
register #registrar#
When placing an inbound call, the adTran is looking at the SIP URI instead of the TO header, however the adTran returns a 404 not found because it is looking at the SIP URI instead of the TO header coming from the SIP server.
Is there any setting that I need to change to have the adTran look at the TO header coming from the SIP server to route the call?
I dont want to register every single phone number that comes to the adTran.
Thanks!