I am developing a SIP application to make and receive a calls. And i want that application to support g729 codec.
First i have tried with SipDroid an open source project and i have followed the this steps (followed the comment from 149 to 160) to add g729 codec in SipDroid.
But g729 codec is not negotiated in my application.i have removed other codecs and added only g729.
In my Asterisk i have added the .so file of g729 codec and in peers account i disallowed all and allowed only g729 but i am getting a error of Incompatible Codec.Click here for more information about codec configuration and log message of Asterisk CLI.
I am sure there is a problem in Client side because i have added g729 in Asterisk and i am calling on Polycom which has a g729 codec.
Any suggestion and solution about this issue will be appreciated.
Thanks
Solved:
please see my answer