Rejected connect attempt with IAX

Hello everyone. Im having a problem with asterisk. Im completly new to using it so im still learning how it works… Ill try and explain the problem best i can.

Whats happening is when i try an make an outbound call using IAX its bringing up the following error in the asterisk console.

I have done a bit of googleing and I have heard it could be a Codec issue. I have edited my iax.conf file with allow=all. i also tried disallow=all and allow=gsm and many different alternatives but it still gives me the same error.

I hope someone here can recommend a solution for the problem :smile:. and thanks in advanced for your help.

James