...
As an example of what is changed, please see the PRI debug below:
> Time: 1314059542.018608
> Protocol Discriminator: Q.931 (8) len=59
> Call Ref: len= 2 (reference 4/0x4) (Originator)
> Message type: SETUP (5)
> [04 03 80 90 a2]
> Bearer Capability (len= 5) [ Ext: 1 Q.931 Std: 0 Info transfer capability: Speech (0)
> Ext: 1 Trans mode/rate: 64kbps, circuit-mode (16)
> User information layer 1: u-Law (34)
> [18 03 a1 83 81]
> Channel ID (len= 5) [ Ext: 1 IntID: Implicit PRI Spare: 0 Preferred Dchan: 0
> ChanSel: As indicated in following octets
> Ext: 1 Coding: 0 Number Specified Channel Type: 3
> Ext: 1 Channel: 1 ]
> [1e 02 80 83]I>
> Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: User (0)
> Ext: 1 Progress Description: Calling equipment is non-ISDN. (3) ]
> [28 0e b1 77 61 6c 74 65 72 31 31 35 20 4e 45 54]
> Display (len=14) Charset: 31 [ walter115 NET ]
> [6c 0c 00 81 38 35 38 34 35 37 30 34 30 32]
> Calling Number (len=14) [ Ext: 0 TON: Unknown Number Type (0) NPI: Unknown Number Plan (0)
> Presentation: Presentation permitted, user number passed network screening (1) '8584570402' ]
> [70 08 a1 31 31 31 31 36 30 34]
> Called Number (len=10) [ Ext: 1 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) '1111604' ]
q931.c:3139 q931_setup: call 32772 on channel 1 enters state 1 (Call Initiated)
In this example,
The 'pri dialplan' is set to 'National ISDN' is changing the 'Called Number' TON
The 'pri local dialplan' is set to 'Unknown' and is changing the 'Calling Number' TON
Again, both of these settings should only be changed on very rare occasions and is due to the provider requiring something different than most other installations.
...