Asterisk to CME Calling Issue

We have merged two small offices that are using different VoIP solutions. One office is using a 3825 running CME (8.1) and the other office is running FreePBX (Asterisk 2.9). I believe that I have correctly configured the SIP trunk/Dial Peers so the CME and FreePBX can talk to each other. I can initiate a call from the CME side to the FreePBX side with no issue. Calls from a Cisco Phone to a SIP Phone connects and sounds good (two way audio). However, if I initiate from the Asterisk side to the CME the call fails to connect. I debugged the CME and placed a packet sniffer and I am seeing a Q.850 Cause Code 65 disconnect error (SIP_UNACCEPTABLE_MEDIA_ERR) coming from the CME. I am matching an "incoming" dial-peer that I created and all dial-peers are built for g711ulaw, as are all the extensions/trunks on the Asterisk. Long term we will probably move all SIP phones onto the CME but for now I need to get these sites talking. Any tips/assistance would be appreciated. Here is a diagram and a debug capture for further clarification.

I'm new to the Asterisk side but the trunk and extensions are set for g711ulaw only. When I place a packet sniffer between the CME and Asterisk I see the SIP Invite message from the Asterisk is set with g711 ulaw. Now as to the DTMF settings I'm sure everyhting is set to default, I haven't changed anything there.

2) On the asterisk side I enabled all codecs and then "sniffed" the call setup from the Asterisk to the CME. On the SIP INVITE message from the Asterisk to the CME, I see all the relevant codecs that the asterisk can support. The CME is now built with a voice class that can select from g711ulaw, g711alaw, g726-32, and g729. I should negotiate one of these but instead the CME kicks out a "Media Type Unavailable" and kills the call.

3) A call initiated from the CME to the Asterisk, SIP INVITE message lists g711ulaw, g711alaw, g726-32, and g729. The Asterisk accepts and negotiates g711ulaw and the call builds. All of the options appear the same in both INVITE messages so I'm wondering what the CME is choking on when the Asterisk initiates the call.

Tracey try putting the incoming called-number patterns at the top (reorder the dial peers)...although i really dont see a reason why the first two dial-peers should be matched since you are really specific on the patterns..except the last digit...worth a try...