Edit: I'm not sure I did a good enough job describing the issue.
I'm trying to get Caller ID Names working when using an Adtran Total Access 908e as the interface between an ISDN PRI to the local phone company and our SIP based Asterisk box. The same setup works fine if I use an internal PRI card from Digium. Looking at the L2 ISDN debug, it appears that the PRI is saying (in the Setup block) that it will provide caller ID name in Facility block, but then doesn't send one.
---
This is the second issue mentioned in my previous thread;
Background: We have a ISDN PRI from the telephone company coming into a 908e Second Gen which talks SIP to our Asterisk box. I'm trying to replace a Digium PRI card in the Asterisk server with the 908e so I can virtualize everything (and I'm *THIS* close).
Looking at the ISDN debug, incoming calls keep saying to expect the caller name in a subsequent FACILITY packet but I'm not getting them. Everything works fine with the Digium card -- but I did have to add 1 second delay before picking up. I've tried adding calling-party name-facility-timeout of two seconds (which should be the default) but it didn't help.
13:35:22.399 ISDN.L2_FMT PRI 1 ==============================================
13:35:22.399 ISDN.L2_FMT PRI 1 R Sapi:00 C/R:C Tei:00 INFO Ns:75 Nr:126 P:0
13:35:22.399 ISDN.L2_FMT PRI 1 Prot:08 CRL:2 CRV:22C8
13:35:22.399 ISDN.L2_FMT PRI 1 M - 05 SETUP
13:35:22.399 ISDN.L2_FMT PRI 1 IE - 04 BEARER CAPABILITY Len=3
13:35:22.399 ISDN.L2_FMT PRI 1 90 Xfer Cap.:3.1 kHz AUDIO
13:35:22.399 ISDN.L2_FMT PRI 1 90 Xfer Rate:64k
13:35:22.399 ISDN.L2_FMT PRI 1 A2 Layer 1:G.711 U-Law
13:35:22.399 ISDN.L2_FMT PRI 1 IE - 18 CHANNEL ID Len=3
13:35:22.399 ISDN.L2_FMT PRI 1 A9 Primary Rate
13:35:22.400 ISDN.L2_FMT PRI 1 Intfc ID:IMPLICIT
13:35:22.400 ISDN.L2_FMT PRI 1 Pref/Excl:EXCLUSIVE
13:35:22.400 ISDN.L2_FMT PRI 1 D-Chan Indicated:NO
13:35:22.400 ISDN.L2_FMT PRI 1 Chan. Sel:FOLLOWS
13:35:22.400 ISDN.L2_FMT PRI 1 83 Numb/Map:NUMBER
13:35:22.400 ISDN.L2_FMT PRI 1 82 Channel:2
13:35:22.400 ISDN.L2_FMT PRI 1 IE - 1C FACILITY Len=21
13:35:22.400 ISDN.L2_FMT PRI 1 Calling Name: information following
13:35:22.400 ISDN.L2_FMT PRI 1 IE - 1E PROGRESS INDICATOR Len=2
13:35:22.401 ISDN.L2_FMT PRI 1 84 Location:RLN
13:35:22.401 ISDN.L2_FMT PRI 1 83 Description:ORIG. NOT ISDN
13:35:22.401 ISDN.L2_FMT PRI 1 IE - 6C CALLING PARTY # Len=12
13:35:22.401 ISDN.L2_FMT PRI 1 21 Numb. Type:NATIONAL
13:35:22.401 ISDN.L2_FMT PRI 1 Numb. Plan:E.164
13:35:22.401 ISDN.L2_FMT PRI 1 83 Presentation:ALLOWED
13:35:22.401 ISDN.L2_FMT PRI 1 Screening:NTWK PROVIDED
13:35:22.401 ISDN.L2_FMT PRI 1 Ph.# 1112223333
13:35:22.401 ISDN.L2_FMT PRI 1 IE - 70 CALLED PARTY # Len=8
13:35:22.402 ISDN.L2_FMT PRI 1 C1 Numb. Type:SUBSCRIBER
13:35:22.402 ISDN.L2_FMT PRI 1 Numb. Plan:E.164
13:35:22.402 ISDN.L2_FMT PRI 1 Ph.# 4445555
13:35:22.403 ISDN.L2_FMT PRI 1 ==============================================
13:35:22.403 ISDN.L2_FMT PRI 1 T Sapi:00 C/R:R Tei:00 INFO Ns:126 Nr:76 P:0
13:35:22.403 ISDN.L2_FMT PRI 1 Prot:08 CRL:2 CRV:A2C8
13:35:22.403 ISDN.L2_FMT PRI 1 M - 02 CALL_PROC
13:35:22.404 ISDN.L2_FMT PRI 1 IE - 18 CHANNEL ID Len=3
13:35:22.404 ISDN.L2_FMT PRI 1 A9 Primary Rate
13:35:22.404 ISDN.L2_FMT PRI 1 Intfc ID:IMPLICIT
13:35:22.404 ISDN.L2_FMT PRI 1 Pref/Excl:EXCLUSIVE
13:35:22.404 ISDN.L2_FMT PRI 1 D-Chan Indicated:NO
13:35:22.404 ISDN.L2_FMT PRI 1 Chan. Sel:FOLLOWS
13:35:22.404 ISDN.L2_FMT PRI 1 83 Numb/Map:NUMBER
13:35:22.404 ISDN.L2_FMT PRI 1 82 Channel:2
13:35:22.774 ISDN.L2_FMT PRI 1 ==============================================
13:35:22.774 ISDN.L2_FMT PRI 1 R Sapi:00 C/R:C Tei:00 INFO Ns:76 Nr:127 P:0
13:35:22.774 ISDN.L2_FMT PRI 1 Prot:08 CRL:2 CRV:22C8
13:35:22.774 ISDN.L2_FMT PRI 1 M - 62 FACILITY
13:35:22.774 ISDN.L2_FMT PRI 1 IE - 1C FACILITY Len=30
13:35:22.775 ISDN.L2_FMT PRI 1 9F Networking Extensions
13:35:22.775 ISDN.L2_FMT PRI 1 8B Interpretation:
13:35:22.775 ISDN.L2_FMT PRI 1 A1 Invoke: ID:243
13:35:22.775 ISDN.L2_FMT PRI 1
13:35:23.534 ISDN.L2_FMT PRI 1 ==============================================
13:35:23.534 ISDN.L2_FMT PRI 1 T Sapi:00 C/R:R Tei:00 INFO Ns:127 Nr:77 P:0
13:35:23.534 ISDN.L2_FMT PRI 1 Prot:08 CRL:2 CRV:A2C8
13:35:23.534 ISDN.L2_FMT PRI 1 M - 01 ALERTING
13:35:23.534 ISDN.L2_FMT PRI 1 IE - 1E PROGRESS INDICATOR Len=2
13:35:23.534 ISDN.L2_FMT PRI 1 80 Location:U
13:35:23.534 ISDN.L2_FMT PRI 1 88 Description:INBAND AUDIO AVAIL
13:35:24.379 ISDN.L2_FMT PRI 1 ==============================================
Here's my config. I added the isdn name-delivery option although I suspect it does not apply when in user role.
!
!
! ADTRAN, Inc. OS version R10.9.2.E
! Boot ROM version 14.05.00.SA
! Platform: Total Access 908e (2nd Gen), part number 4242908L5
! Serial number CFG1037199
!
!
hostname "TA908e"
enable password
!
!
clock timezone -5
!
ip subnet-zero
ip classless
ip default-gateway 10.10.2.1
ip routing
ipv6 unicast-routing
!
!
no domain-lookup
!
!
no auto-config
!
event-history on
no logging forwarding
no logging email
!
no service password-encryption
!
username "" password ""
!
!
no ip firewall alg msn
no ip firewall alg mszone
no ip firewall alg h323
!
!
!
!
!
!
!
!
no dot11ap access-point-control
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface eth 0/1
ip address 10.10.2.5 255.255.255.0
media-gateway ip primary
no shutdown
!
!
interface eth 0/2
no ip address
shutdown
!
!
!
!
interface t1 0/1
shutdown
!
interface t1 0/2
shutdown
!
interface t1 0/3
tdm-group 1 timeslots 1-24 speed 64
no shutdown
!
interface t1 0/4
shutdown
!
!
interface pri 1
role user
isdn name-delivery display
connect t1 0/3 tdm-group 1
no shutdown
!
!
interface fxs 0/1
no shutdown
!
interface fxs 0/2
no shutdown
!
interface fxs 0/3
no shutdown
!
interface fxs 0/4
no shutdown
!
interface fxs 0/5
no shutdown
!
interface fxs 0/6
no shutdown
!
interface fxs 0/7
no shutdown
!
interface fxs 0/8
no shutdown
!
!
interface fxo 0/0
no shutdown
!
!
isdn-group 1
connect pri 1
!
isdn-number-template 0 prefix "" plan 1 type 2 NXX-NXX-XXXX
isdn-number-template 1 prefix "" plan 1 type 2 1-NXX-NXX-XXXX
isdn-number-template 3 prefix "" plan 1 type 2 911
isdn-number-template 4 prefix "" plan 1 type 2 211
!
!
!
timing-source t1 0/3
!
!
!
!
!
!
!
!
!
no tftp server
no tftp server overwrite
http server
http session-timeout 36000
http secure-server
no snmp agent
no ip ftp server
no ip scp server
no ip sntp server
!
!
!
!
!
!
!
!
sip
sip udp 5060
no sip tcp
!
!
!
voice feature-mode network
voice forward-mode network
!
!
!
!
!
!
!
!
!
!
!
!
voice codec-list g711ulaw
codec g711ulaw
!
!
!
voice trunk T01 type isdn
description "TO_FRONTIER"
resource-selection circular descending
connect isdn-group 1
modem-passthrough
rtp delay-mode adaptive
!
voice trunk T11 type sip
description "TO_ASTERISK"
sip-server primary 10.10.2.10
trust-domain p-asserted-identity-required
!
!
voice grouped-trunk PROVIDER
trunk T01
accept 911 cost 0
accept 211 cost 0
accept 411 cost 0
accept NXX-NXX-XXXX cost 0
accept 1-NXX-NXX-XXXX cost 0
!
!
voice grouped-trunk PBX
trunk T11
accept NXX-XXXX cost 0
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
line con 0
no login
!
line telnet 0 4
login
shutdown
line ssh 0 4
login local-userlist
line-timeout 1440
no shutdown
!
sntp server 10.10.2.10
!
!
!
!
end
Thanks!
I feel like I bought the wrong product for my application. Every example I can find uses the Total Access as an interface to a PBX or other CPE. Is anyone using these with Asterisk and PRI to the phone company?
Hi jims:
We've done a few TA900e series gateways exactly this way, where a PRI from telco interfaces with a SIP PBX/server/manager. Haven't used Asterisk, but similar in principle. I think Total Access gateways are great for this role!
I don't know how it could have worked on the Digium card if the DISPLAY information element never arrives from telco. Some providers charge extra for calling party name. Are you sure nothing changed on their end? If you never see the IE in a subsequent message, there's simply nothing for the TA to pass along. We commonly see the DISPLAY IE in the setup message though, and I'm not sure when it's "too late" for the info to be presented in SIP (even though it can arrive in almost any Q.931 message). Someone more voice-savvy may be able to provide a better feel for the timing.
Best,
CJ
Thanks CJ. It helps to have a sanity check.
I'm actually at work now trying things. I removed the SIP settings for PAI and Trust settings and now I can see the caller id names in my ISDN debug (weird that they are linked) but only some of them are getting to the SIP phones.
Here's one that fails (hah a looks like phone spammer too);
18:30:16.572 ISDN.L2_FMT PRI 1 ==============================================
18:30:16.572 ISDN.L2_FMT PRI 1 R Sapi:00 C/R:C Tei:00 INFO Ns:64 Nr:49 P:0
18:30:16.572 ISDN.L2_FMT PRI 1 Prot:08 CRL:2 CRV:2672
18:30:16.572 ISDN.L2_FMT PRI 1 M - 05 SETUP
18:30:16.573 ISDN.L2_FMT PRI 1 IE - 04 BEARER CAPABILITY Len=3
18:30:16.573 ISDN.L2_FMT PRI 1 90 Xfer Cap.:3.1 kHz AUDIO
18:30:16.573 ISDN.L2_FMT PRI 1 90 Xfer Rate:64k
18:30:16.573 ISDN.L2_FMT PRI 1 A2 Layer 1:G.711 U-Law
18:30:16.573 ISDN.L2_FMT PRI 1 IE - 18 CHANNEL ID Len=3
18:30:16.573 ISDN.L2_FMT PRI 1 A9 Primary Rate
18:30:16.573 ISDN.L2_FMT PRI 1 Intfc ID:IMPLICIT
18:30:16.573 ISDN.L2_FMT PRI 1 Pref/Excl:EXCLUSIVE
18:30:16.573 ISDN.L2_FMT PRI 1 D-Chan Indicated:NO
18:30:16.573 ISDN.L2_FMT PRI 1 Chan. Sel:FOLLOWS
18:30:16.574 ISDN.L2_FMT PRI 1 83 Numb/Map:NUMBER
18:30:16.574 ISDN.L2_FMT PRI 1 81 Channel:1
18:30:16.574 ISDN.L2_FMT PRI 1 IE - 1C FACILITY Len=21
18:30:16.574 ISDN.L2_FMT PRI 1 Calling Name: information following
18:30:16.574 ISDN.L2_FMT PRI 1 IE - 1E PROGRESS INDICATOR Len=2
18:30:16.574 ISDN.L2_FMT PRI 1 84 Location:RLN
18:30:16.574 ISDN.L2_FMT PRI 1 83 Description:ORIG. NOT ISDN
18:30:16.574 ISDN.L2_FMT PRI 1 IE - 6C CALLING PARTY # Len=12
18:30:16.574 ISDN.L2_FMT PRI 1 21 Numb. Type:NATIONAL
18:30:16.574 ISDN.L2_FMT PRI 1 Numb. Plan:E.164
18:30:16.575 ISDN.L2_FMT PRI 1 83 Presentation:ALLOWED
18:30:16.575 ISDN.L2_FMT PRI 1 Screening:NTWK PROVIDED
18:30:16.575 ISDN.L2_FMT PRI 1 Ph.# 8667252769
18:30:16.575 ISDN.L2_FMT PRI 1 IE - 70 CALLED PARTY # Len=8
18:30:16.575 ISDN.L2_FMT PRI 1 C1 Numb. Type:SUBSCRIBER
18:30:16.575 ISDN.L2_FMT PRI 1 Numb. Plan:E.164
18:30:16.575 ISDN.L2_FMT PRI 1 Ph.# 5551212
18:30:16.576 ISDN.L2_FMT PRI 1 ==============================================
18:30:16.577 ISDN.L2_FMT PRI 1 T Sapi:00 C/R:R Tei:00 INFO Ns:49 Nr:65 P:0
18:30:16.577 ISDN.L2_FMT PRI 1 Prot:08 CRL:2 CRV:A672
18:30:16.577 ISDN.L2_FMT PRI 1 M - 02 CALL_PROC
18:30:16.577 ISDN.L2_FMT PRI 1 IE - 18 CHANNEL ID Len=3
18:30:16.577 ISDN.L2_FMT PRI 1 A9 Primary Rate
18:30:16.577 ISDN.L2_FMT PRI 1 Intfc ID:IMPLICIT
18:30:16.577 ISDN.L2_FMT PRI 1 Pref/Excl:EXCLUSIVE
18:30:16.577 ISDN.L2_FMT PRI 1 D-Chan Indicated:NO
18:30:16.577 ISDN.L2_FMT PRI 1 Chan. Sel:FOLLOWS
18:30:16.577 ISDN.L2_FMT PRI 1 83 Numb/Map:NUMBER
18:30:16.578 ISDN.L2_FMT PRI 1 81 Channel:1
18:30:16.884 ISDN.L2_FMT PRI 1 ==============================================
18:30:16.884 ISDN.L2_FMT PRI 1 R Sapi:00 C/R:C Tei:00 INFO Ns:65 Nr:50 P:0
18:30:16.884 ISDN.L2_FMT PRI 1 Prot:08 CRL:2 CRV:2672
18:30:16.884 ISDN.L2_FMT PRI 1 M - 62 FACILITY
18:30:16.884 ISDN.L2_FMT PRI 1 IE - 1C FACILITY Len=28
18:30:16.884 ISDN.L2_FMT PRI 1 Calling Name: TOLL FREE CALL
2014.05.20 18:30:16 TM.T01 23 AcceptCall processed by IsdnTmState base
18:30:18.856 ISDN.L2_FMT PRI 1 ==============================================
18:30:18.856 ISDN.L2_FMT PRI 1 T Sapi:00 C/R:R Tei:00 INFO Ns:50 Nr:66 P:0
18:30:18.856 ISDN.L2_FMT PRI 1 Prot:08 CRL:2 CRV:A672
18:30:18.856 ISDN.L2_FMT PRI 1 M - 01 ALERTING
18:30:18.856 ISDN.L2_FMT PRI 1 IE - 1E PROGRESS INDICATOR Len=2
18:30:18.857 ISDN.L2_FMT PRI 1 80 Location:U
18:30:18.857 ISDN.L2_FMT PRI 1 88 Description:INBAND AUDIO AVAIL
18:30:36.598 ISDN.L2_FMT PRI 1 ==============================================
18:30:36.598 ISDN.L2_FMT PRI 1 T Sapi:00 C/R:R Tei:00 INFO Ns:51 Nr:66 P:0
18:30:36.598 ISDN.L2_FMT PRI 1 Prot:08 CRL:2 CRV:A672
18:30:36.598 ISDN.L2_FMT PRI 1 M - 07 CONNECT
18:30:36.621 ISDN.L2_FMT PRI 1 ==============================================
18:30:36.621 ISDN.L2_FMT PRI 1 R Sapi:00 C/R:C Tei:00 INFO Ns:66 Nr:52 P:0
18:30:36.621 ISDN.L2_FMT PRI 1 Prot:08 CRL:2 CRV:2672
18:30:36.621 ISDN.L2_FMT PRI 1 M - 0F CONNECT_ACK
18:30:40.931 ISDN.L2_FMT PRI 1 ==============================================
18:30:40.931 ISDN.L2_FMT PRI 1 R Sapi:00 C/R:C Tei:00 INFO Ns:67 Nr:52 P:0
18:30:40.931 ISDN.L2_FMT PRI 1 Prot:08 CRL:2 CRV:2672
18:30:40.931 ISDN.L2_FMT PRI 1 M - 45 DISCONNECT
18:30:40.931 ISDN.L2_FMT PRI 1 IE - 08 CAUSE Len=2
18:30:40.931 ISDN.L2_FMT PRI 1 8A Location:INWK
18:30:40.931 ISDN.L2_FMT PRI 1 90 Cause:16 (NORMAL_CLEARING)
18:30:40.932 ISDN.L2_FMT PRI 1 ==============================================
18:30:40.932 ISDN.L2_FMT PRI 1 T Sapi:00 C/R:R Tei:00 INFO Ns:52 Nr:68 P:0
18:30:40.932 ISDN.L2_FMT PRI 1 Prot:08 CRL:2 CRV:A672
18:30:40.932 ISDN.L2_FMT PRI 1 M - 4D RELEASE
18:30:40.932 ISDN.L2_FMT PRI 1 IE - 08 CAUSE Len=2
18:30:40.932 ISDN.L2_FMT PRI 1 80 Location:U
18:30:40.932 ISDN.L2_FMT PRI 1 E4 Cause:100 (INVALID_ELEM_CONTENTS)
18:30:40.950 ISDN.L2_FMT PRI 1 ==============================================
18:30:40.950 ISDN.L2_FMT PRI 1 R Sapi:00 C/R:C Tei:00 INFO Ns:68 Nr:53 P:0
18:30:40.950 ISDN.L2_FMT PRI 1 Prot:08 CRL:2 CRV:2672
18:30:40.950 ISDN.L2_FMT PRI 1 M - 5A RELEASE_CMP
I think the Adtran is trying to send a SIP update to Asterisk that fails.
And here's one that works (calling out on one extension and back in on another):
18:38:29.610 ISDN.L2_FMT PRI 1 ==============================================
18:38:29.610 ISDN.L2_FMT PRI 1 R Sapi:00 C/R:C Tei:00 INFO Ns:80 Nr:63 P:0
18:38:29.610 ISDN.L2_FMT PRI 1 Prot:08 CRL:2 CRV:2673
18:38:29.610 ISDN.L2_FMT PRI 1 M - 05 SETUP
18:38:29.611 ISDN.L2_FMT PRI 1 IE - 04 BEARER CAPABILITY Len=3
18:38:29.611 ISDN.L2_FMT PRI 1 80 Xfer Cap.:SPEECH
18:38:29.611 ISDN.L2_FMT PRI 1 90 Xfer Rate:64k
18:38:29.611 ISDN.L2_FMT PRI 1 A2 Layer 1:G.711 U-Law
18:38:29.611 ISDN.L2_FMT PRI 1 IE - 18 CHANNEL ID Len=3
18:38:29.611 ISDN.L2_FMT PRI 1 A9 Primary Rate
18:38:29.611 ISDN.L2_FMT PRI 1 Intfc ID:IMPLICIT
18:38:29.611 ISDN.L2_FMT PRI 1 Pref/Excl:EXCLUSIVE
18:38:29.611 ISDN.L2_FMT PRI 1 D-Chan Indicated:NO
18:38:29.611 ISDN.L2_FMT PRI 1 Chan. Sel:FOLLOWS
18:38:29.612 ISDN.L2_FMT PRI 1 83 Numb/Map:NUMBER
18:38:29.612 ISDN.L2_FMT PRI 1 81 Channel:1
18:38:29.612 ISDN.L2_FMT PRI 1 IE - 1C FACILITY Len=21
18:38:29.612 ISDN.L2_FMT PRI 1 Calling Name: information following
18:38:29.612 ISDN.L2_FMT PRI 1 IE - 6C CALLING PARTY # Len=12
18:38:29.612 ISDN.L2_FMT PRI 1 21 Numb. Type:NATIONAL
18:38:29.612 ISDN.L2_FMT PRI 1 Numb. Plan:E.164
18:38:29.612 ISDN.L2_FMT PRI 1 83 Presentation:ALLOWED
18:38:29.612 ISDN.L2_FMT PRI 1 Screening:NTWK PROVIDED
18:38:29.613 ISDN.L2_FMT PRI 1 Ph.# 2025551212
18:38:29.613 ISDN.L2_FMT PRI 1 IE - 70 CALLED PARTY # Len=8
18:38:29.613 ISDN.L2_FMT PRI 1 C1 Numb. Type:SUBSCRIBER
18:38:29.613 ISDN.L2_FMT PRI 1 Numb. Plan:E.164
18:38:29.613 ISDN.L2_FMT PRI 1 Ph.# 5551212
18:38:29.614 ISDN.L2_FMT PRI 1 ==============================================
18:38:29.614 ISDN.L2_FMT PRI 1 T Sapi:00 C/R:R Tei:00 INFO Ns:63 Nr:81 P:0
18:38:29.614 ISDN.L2_FMT PRI 1 Prot:08 CRL:2 CRV:A673
18:38:29.614 ISDN.L2_FMT PRI 1 M - 02 CALL_PROC
18:38:29.615 ISDN.L2_FMT PRI 1 IE - 18 CHANNEL ID Len=3
18:38:29.615 ISDN.L2_FMT PRI 1 A9 Primary Rate
18:38:29.615 ISDN.L2_FMT PRI 1 Intfc ID:IMPLICIT
18:38:29.615 ISDN.L2_FMT PRI 1 Pref/Excl:EXCLUSIVE
18:38:29.615 ISDN.L2_FMT PRI 1 D-Chan Indicated:NO
18:38:29.615 ISDN.L2_FMT PRI 1 Chan. Sel:FOLLOWS
18:38:29.615 ISDN.L2_FMT PRI 1 83 Numb/Map:NUMBER
18:38:29.615 ISDN.L2_FMT PRI 1 81 Channel:1
18:38:29.990 ISDN.L2_FMT PRI 1 ==============================================
18:38:29.990 ISDN.L2_FMT PRI 1 R Sapi:00 C/R:C Tei:00 INFO Ns:81 Nr:64 P:0
18:38:29.990 ISDN.L2_FMT PRI 1 Prot:08 CRL:2 CRV:2673
18:38:29.990 ISDN.L2_FMT PRI 1 M - 62 FACILITY
18:38:29.991 ISDN.L2_FMT PRI 1 IE - 1C FACILITY Len=29
18:38:29.991 ISDN.L2_FMT PRI 1 Calling Name: COUNTY OF XXXXX
18:38:31.109 ISDN.L2_FMT PRI 1 ==============================================
18:38:31.110 ISDN.L2_FMT PRI 1 T Sapi:00 C/R:R Tei:00 INFO Ns:64 Nr:82 P:0
18:38:31.110 ISDN.L2_FMT PRI 1 Prot:08 CRL:2 CRV:A673
18:38:31.110 ISDN.L2_FMT PRI 1 M - 01 ALERTING
18:38:31.110 ISDN.L2_FMT PRI 1 IE - 1E PROGRESS INDICATOR Len=2
18:38:31.110 ISDN.L2_FMT PRI 1 80 Location:U
18:38:31.110 ISDN.L2_FMT PRI 1 88 Description:INBAND AUDIO AVAIL
18:38:31.156 ISDN.L2_FMT PRI 1 ==============================================
18:38:31.156 ISDN.L2_FMT PRI 1 R Sapi:00 C/R:C Tei:00 INFO Ns:82 Nr:65 P:0
18:38:31.156 ISDN.L2_FMT PRI 1 Prot:08 CRL:2 CRV:800A
18:38:31.156 ISDN.L2_FMT PRI 1 M - 01 ALERTING
18:38:31.157 ISDN.L2_FMT PRI 1 IE - 1E PROGRESS INDICATOR Len=2
18:38:31.157 ISDN.L2_FMT PRI 1 80 Location:U
18:38:31.157 ISDN.L2_FMT PRI 1 88 Description:INBAND AUDIO AVAIL
18:38:33.551 ISDN.L2_FMT PRI 1 ==============================================
18:38:33.551 ISDN.L2_FMT PRI 1 T Sapi:00 C/R:R Tei:00 INFO Ns:65 Nr:83 P:0
18:38:33.551 ISDN.L2_FMT PRI 1 Prot:08 CRL:2 CRV:000A
18:38:33.552 ISDN.L2_FMT PRI 1 M - 45 DISCONNECT
18:38:33.552 ISDN.L2_FMT PRI 1 IE - 08 CAUSE Len=2
18:38:33.552 ISDN.L2_FMT PRI 1 80 Location:U
18:38:33.552 ISDN.L2_FMT PRI 1 90 Cause:16 (NORMAL_CLEARING)
18:38:33.590 ISDN.L2_FMT PRI 1 ==============================================
18:38:33.590 ISDN.L2_FMT PRI 1 R Sapi:00 C/R:C Tei:00 INFO Ns:83 Nr:66 P:0
18:38:33.590 ISDN.L2_FMT PRI 1 Prot:08 CRL:2 CRV:800A
18:38:33.590 ISDN.L2_FMT PRI 1 M - 4D RELEASE
18:38:33.590 ISDN.L2_FMT PRI 1 ==============================================
18:38:33.590 ISDN.L2_FMT PRI 1 T Sapi:00 C/R:R Tei:00 INFO Ns:66 Nr:84 P:0
18:38:33.591 ISDN.L2_FMT PRI 1 Prot:08 CRL:2 CRV:000A
18:38:33.591 ISDN.L2_FMT PRI 1 M - 5A RELEASE_CMP
18:38:33.600 ISDN.L2_FMT PRI 1 ==============================================
18:38:33.600 ISDN.L2_FMT PRI 1 R Sapi:00 C/R:C Tei:00 INFO Ns:84 Nr:66 P:0
18:38:33.600 ISDN.L2_FMT PRI 1 Prot:08 CRL:2 CRV:2673
18:38:33.600 ISDN.L2_FMT PRI 1 M - 45 DISCONNECT
18:38:33.600 ISDN.L2_FMT PRI 1 IE - 08 CAUSE Len=2
18:38:33.600 ISDN.L2_FMT PRI 1 80 Location:U
18:38:33.600 ISDN.L2_FMT PRI 1 90 Cause:16 (NORMAL_CLEARING)
18:38:33.601 ISDN.L2_FMT PRI 1 ==============================================
18:38:33.601 ISDN.L2_FMT PRI 1 T Sapi:00 C/R:R Tei:00 INFO Ns:67 Nr:85 P:0
18:38:33.601 ISDN.L2_FMT PRI 1 Prot:08 CRL:2 CRV:A673
18:38:33.601 ISDN.L2_FMT PRI 1 M - 4D RELEASE
18:38:33.616 ISDN.L2_FMT PRI 1 ==============================================
18:38:33.616 ISDN.L2_FMT PRI 1 R Sapi:00 C/R:C Tei:00 INFO Ns:85 Nr:68 P:0
18:38:33.616 ISDN.L2_FMT PRI 1 Prot:08 CRL:2 CRV:2673
18:38:33.616 ISDN.L2_FMT PRI 1 M - 5A RELEASE_CMP
Yeah, I think that makes sense because the SIP INVITE is going to follow the Q.931 SETUP, no? By that point, it may not be doable to get the name to the phone, I don't know. Perhaps Asterisk and other MGC/managers can re-INVITE after the name comes across, but that would seem messy. Not sure; I just tried some examples and the DISPLAY IE always arrives in the SETUP message for me. Not sure if I can find a good example like yours at this time.
Anyone have a more firm understanding about this aspect?
Set your PRI for
isdn name-delivery setup
if the carrier is sending it as a facility IE.
Yes, all the time. They work very well in user-mode PRI for just this, as well as for a general media gateway for interfacing PSTN to SIP endpoints, remote endpoint for bringing in local numbers from a distant exchange, etc.
I finally heard back from the local Telco. They said they "they cannot modify the delivery of caller name in any fashion. It follows the National ISDN standards."
I spend a few hours last night testing things. I really thought this setting would be the key but the Adtran still begins the SIP INVITE early. When it finally gets the Caller Name in the Facility message the Adran sends a second SIP message that bombs:
calling-party name-facility-timeout <value>
Use the calling-party name-facility-timeout command to set the name facility timeout. This value
determines the number of seconds to wait for the calling-party name delivery after the initial SETUP
message is received. Once the name delivery is received or the timeout has passed, the corresponding
INVITE is sent using the Session Initiation Protocol (SIP) trunk. Set the value to 0 to eliminate the delay.
Use the no form of this command to return to the default setting.
Jay, I'm sure I've tried that name-delivery option but I'm happy to test it again. I was thinking it was for network mode only.
Jim,
I just wanted to check in on this post. Have you been able to resolve the issue yet? I was going back through Release Notes and noticed that there were fixes in a few versions of R10 firmware related to caller ID name on a user role PRI. Please try this with R10.9.4 firmware. If you still have issues with that software version, you may need to call 888-423-8726 to open an ADTRAN Technical Support trouble ticket. We will need to see the complete configuration and the following debug output for a test call.
debug sip stack message
debug voice verbose
debug isdn L2-formatted
debug isdn L2-message
Thanks!
David
Hi David,
I have not resolved this yet. I'll give them R10.9.4 firmware a try and
let you know. Thanks for suggestion!
-Jim
jims,
I have had that problem before if PAI and/or trusted is enabled but it is not used by the other side the Caller ID does break because it is sent in a different format. Those should only be turned on if needed. You might try enabling e.164 https://supportforums.adtran.com/docs/DOC-2867 and see if that helps depending on how the Asterisk is configured.
John Wable
Jim,
Is there any update for this problem? Did the firmware upgrade resolve it?
Thanks!
David
I finally got around to trying this again. I upgraded to firmware R11.4.2.E. Came in last Sunday to test and now Caller ID is working great. Thanks for everyone's help.