Thank you for using the ADTRAN Support Community Forum.
In order for the ATLAS to use the NUMBER TYPE TEMPLATE, the "Outgoing Number Conv." has to be set to "As Dialed".
In the NUMBER TYPE TEMPLATE, any number in the PREFIX column is stripped off and not sent as part of the number. Only the PATTERN is transmitted, with the associated NUMBER TYPE.
If the "0" needs to be transmitted, then it needs to be part of the PATTERN, with nothing in the PREFIX field.
I can't think of a reason for "X$" to cause a different SETUP message than "7XXX-XXX-XXX" unless the number you dial is matching a different pattern than "X$".
It's also unusual for that number pattern to need to be "National". Typically I expect that to be sent as "Unknown".
If you are still having issues we will probably need to see what you have in the NUMBER TYPE TEMPLATE as well as the event log with "ISDN L2 Formatted" set to INFO.
I can also confirm that the "Outgoing Number Conv." is set to "As Dialed".
I do now see that the calls are matching the pattern because if I change the pattern 7XXX-XXX-XXX to "Unknown" the call to 07985-744-444 fails completely. But that leaves the question of why the calls with pattern X$ set to "National" act differently. The difference is that my provider does not accept my ANI Substitution when pattern 7XXX-XXX-XXX is set which is why I thought the call was failing to match the pattern.
I have attached the logs for you to review with "ISDN L2 Formatted" set to INFO. I made a test call first with the pattern 7XXX-XXX-XXX set to "National" (ANI substitution not accepted) then I changed the pattern to X$ set to "National" (ANI substitution accepted) and made a second test call. The events from time stamp "Feb 22 14:46:57" onward are the second call.
So what we need to figure out is how to get calls that match pattern 7XXX-XXX-XXX forward on in the same way as they would if the pattern X$ was set.
7985744444.txt.zip 2.3 K
The CALLED PARTY# for both of those looks identical. Both are sent as Numb. Type:NATIONAL and Numb. Plan: ISDN/Telephony. They are even sent on the same channel - 31. The only difference I see is in the CALLING PARTY# (162267). On the first call it is Type/Plan of UNKNOWN and on the second call it is NATIONAL and ISDN/Telephony.
I believe you need to set a Template for XXXXXX or even just 162267 and set the TYPE to NATIONAL and see if that helps.
Thanks a lot Patrick.
Adding the pattern to match the CALLING PARTY did the trick!