Got SIP response 406 "Not Acceptable" back from x.x.x.x:5060

Hi All,

It’s my first post in this forum :slight_smile:

When I try to froward the sip trunk from my asterisk server to another one, I got this reply.

" Destination server is not asterisk they allow only g729codec,"

I have downloaded the g729codec and copied to modules directory:

c1*CLI> core show codecs
256 (1 << 8) (0x100) audio g729 (G.729A)

My extension.conf is pasting below:

exten => 123456,1,Verbose(******** Telecom FORWARDING *********)
exten => 123456,n,set(SIP_CODEC=g729)
exten => 123456,n,Dial(SIP/${EXTEN})
exten => h,1,Hangup() is my destination server, Call forward will work fine when they allow default codec.So I think its related to g729 codec, How can I check this,Please help me .