Pri intense debug span: caller id name

In the “pri intense debug span”, how do I know if the caller id name is set up correctly? My provider insists it is already set up and it is my PBX that is not set up correctly.

For an outbound call from Asterisk you will want to look at the SETUP message. The below shows the CID that Asterisk is sending to the telco.

CID taken from the SETUP below:

> Calling Number (len=14) [ Ext: 0  TON: National Number (2)  NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)
>                           Presentation: Presentation permitted, user number passed network screening (1) '2564286000' ]
> Protocol Discriminator: Q.931 (8)  len=65
> Call Ref: len= 2 (reference 353/0x161) (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)
>                              Ext: 1  User information layer 1: u-Law (34)
> [18 03 a9 83 85]
> Channel ID (len= 5) [ Ext: 1  IntID: Implicit, PRI Spare: 0, Exclusive Dchan: 0
>                        ChanSel: Reserved
>                       Ext: 1  Coding: 0   Number Specified   Channel Type: 3
>                       Ext: 1  Channel: 5 ]
> [1e 02 80 83]
> 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) ]
> [44 69 67 69 75 6d]
> Display (len=20) Charset: 31 [Digium]
> [6c 0c 21 81 32 35 36 34 32 38 36 30 30 30]
> Calling Number (len=14) [ Ext: 0  TON: National Number (2)  NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)
>                           Presentation: Presentation permitted, user number passed network screening (1) '2564286000' ]
> [70 08 a1 35 35 35 31 32 31 32]
> Called Number (len=10) [ Ext: 1  TON: National Number (2)  NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) '5551212' ]

You can also contact Digium support if you need have questions about this.
support@digium.com
+1-256-428-6161

The key for incoming calls seems to be the Wait(1) as discussed in bugs.digium.com/view.php?id=2483 since the facility string wasn’t processed yet.

Did adding a Wait to the dialplan fix this for you?

Yes. It works for me now.