Sending DNIS to PBX

I have an upgraded Trixbox 2.8 to FreePBX 2.10, it is using a SIP provider on one end and directly connectec to a PBX with dialogic cards in it. Everything is working fine calls coming in and out, however, we are are using queues which require the use of DNIS to route certain calls, the FreePBX box sends the ANI over just fine, but the DNIS is not there, it is blank, after some research, I found there is a place that it would normally be in the debug, but there is no information there. The FreePBX box is setup to be a PRI on the Network side
Can anyone help me with this??