Outbound calls over PRI failing

Inbound works fine but outbound fail. The telco says they get the same error code 99 and that I am sending ‘name’ over a circuit that will not hanfdle that parameter. How do I keep the server from sending caller ID info if this is the problem? Has anyone else seen this?

I get this in the CLI:

esnconfCLI> pri debug span 1
Enabled debugging on span 1
esnconf
CLI> core set verbose 10
Verbosity was 5 and is now 10
– Executing [914173503367@default:1] Dial(“SIP/1002-098f4bb0”, “DAHDI/g1/14173503367”) in new stack
– Making new call for cr 32772
– Requested transfer capability: 0x00 - SPEECH

Protocol Discriminator: Q.931 (8) len=51
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]
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 08 b1 4d 79 20 4e 61 6d 65]
Display (len= 8) Charset: 31 [ My Name ]
[6c 06 21 81 31 30 30 32]
Calling Number (len= 8) [ 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) ‘1002’ ]
[70 0c a1 31 34 31 37 33 35 30 33 33 36 37]
Called Number (len=14) [ Ext: 1 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) ‘14173503367’ ]
q931.c:3134 q931_setup: call 32772 on channel 1 enters state 1 (Call Initiated)
– Called g1/14173503367
< Protocol Discriminator: Q.931 (8) len=13
< Call Ref: len= 2 (reference 4/0x4) (Terminator)
< Message type: STATUS (125)
< [08 03 82 e3 28]
< Cause (len= 5) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: Public network serving the local user (2)
< Ext: 1 Cause: Info. element nonexist or not implemented (99), class = Protocol Error (e.g. unknown message) (6) ]
< Cause data 1: 28 (40, Display IE)
< [14 01 00]
< Call State (len= 3) [ Ext: 0 Coding: CCITT (ITU) standard (0) Call state: Null (0)
– Processing IE 8 (cs0, Cause)
– Processing IE 20 (cs0, Call State)
q931.c:3747 q931_receive: call 32772 on channel 1 enters state 0 (Null)
– Channel 0/1, span 1 got hangup, cause 99
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null
NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null
– Hungup ‘DAHDI/1-1’
== Everyone is busy/congested at this time (1:0/0/1)
– Executing [914173503367@default:2] Congestion(“SIP/1002-098f4bb0”, “”) in new stack
== Spawn extension (default, 914173503367, 2) exited non-zero on ‘SIP/1002-098f4bb0’
< Protocol Discriminator: Q.931 (8) len=10
< Call Ref: len= 2 (reference 4/0x4) (Terminator)
< Message type: CALL PROCEEDING (2)
< [18 03 a9 83 81]
< Channel ID (len= 5) [ Ext: 1 IntID: Implicit PRI Spare: 0 Exclusive Dchan: 0
< ChanSel: As indicated in following octets
< Ext: 1 Coding: 0 Number Specified Channel Type: 3
< Ext: 1 Channel: 1 ]
– Making new call for cr 32772
– Processing IE 24 (cs0, Channel Identification)
Protocol Discriminator: Q.931 (8) len=9
Call Ref: len= 2 (reference 4/0x4) (Originator)
Message type: RELEASE COMPLETE (90)
[08 02 81 d1]
Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: Private network serving the local user (1)
Ext: 1 Cause: Invalid call reference value (81), class = Invalid message (e.g. parameter out of range) (5) ]
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null
NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null
esnconf*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
[root@esnconf ~]#

In chan_dahdi.conf set this:
facilityenable = no

You may also need to set something like this for outbound calls:
exten => _9X.,1,Set(CALLERID(name)=)

It was the Caller ID messing it up, Thanks!