hi there,
here is the diagram of my system.
sip—>asterisk 1<—iax trunk–>asterisk 2—>sip
here is the codec allow config,
disallow=all
allow=g729
allowg723.1
this entry is @ every user/peer configs, ie…iax.conf,iax_additional.conf, sip.conf, sip_additional.conf
codecpritority=host…included with iax.conf. , in both the asterisk.
extension.conf is like
asterisk 1
exten => _7689X.,1,Dial(iax2/server/{EXTEN:0},60)
exten => _7689X.,2,hangup
asterisk 2
exten => _7689X.,1,Dial(sip/server/{EXTEN:1},60)
exten => _7689X.,2,hangup
problem.
when g729 is allowed 1st place g723 results in mute call no ring no sound, g729 is running smooth.
i get follwoing errors in asterisk 1
[Mar 23 12:39:33] WARNING[3373]: channel.c:4910 ast_write: Codec mismatch on channel SIP/216.24.247.50-0000000b setting write format to g729 from g723 native formats 0x1 (g723)
[Mar 23 12:39:33] WARNING[3373]: channel.c:5104 set_format: Unable to find a codec translation path from 0x1 (g723) to 0x100 (g729)
[Mar 23 12:39:33] WARNING[3373]: chan_sip.c:6455 sip_write: Asked to transmit frame type g729, while native formats is 0x1 (g723) read/write = 0x1 (g723)/0x1 (g723)
errors in asterisk 2
[Mar 23 12:51:44] WARNING[2626]: channel.c:5104 set_format: Unable to find a codec translation path from 0x1 (g723) to 0x100 (g729)
[Mar 23 12:51:44] NOTICE[2815]: channel.c:4149 __ast_read: Dropping incompatible voice frame on IAX2/bos_SERVER-1547 of format g723 since our native format has changed to 0x100 (g729)
now if i give g723 the 1st place in allow …its vice-versa…
can any one please help on this issue…i getting nuts with this looop…
regards
sajib