Call forward to Asterisk

Hello,

Can someone help me with this issue?

I have a 3rd party PBX and forwarded one number from this PBX to Asterisk 1.4.17. If I call from any number to forwarded numer, the call is forwarded to Asterisk with no problem. But if I call from an Asterisk number to that forwarded number (from other PBX), the call is rejected by Asterisk (codec error).

Many Thank’s,
Gabriel

What codecs do you have allowed on Asterisk

Now, G711a/u and G729.

But I try also only with G711. Same issue.