I am using Asterisk 18.104.22.168 (from source) in CentOS 5.6. I am using SIP to IAX2 (trunk) calls only. when G729 is received on SIP side, it goes out successfully via IAX2 trunk.
If G723.1 is received on SIP side, asterisk tries to send out calls to IAX using G729 anyway. Any help would be appreciated to overcome this issue.
a)When G723.1 is received on SIP side and G729 is allowed in IAX trunk:
Asterisk sends G729 to IAX2 side and the call connects resulting mute calls as the receiving end thinks packets to be G729 payload.
b) When G723.1 is received on SIP side with G729 disallowed and Only G723 allowed in IAX trunk:
Asterisk tries to force transcode to G729 and drops the call giving following error:
[Oct 31 14:18:30] WARNING: chan_iax2.c:12060 iax2_request: Unable to create translator path for g723 to g729 on IAX2/branch1_10-6586
Here’s the config in SIP side:
And the config in IAX2 side: