[Asterisk-Users] OH323_OUTCODEC=g729 has influence on chan_iax?

Roger Schreiter roger at planinternet.de
Thu Nov 18 04:22:14 MST 2004


Hi,

I have one asterisk box with chan_oh323 to an external
carrier.

In order to have G.729 with this carrier, I use:
setGlobalVar(OH323_OUTCODEC=g729)

I have that asterisk box connected to another asterisk
box via IAX, with

disallow=all
allow=alaw

in the respective peer/friend chapters in iax.conf.

I want:

Box A  <-- iax alaw --> Box B <-- oh323 g729 --> extern

Unfortunately now Box A complains:
channel.c:1314 ast_read: Dropping incompatible voice frame on 
IAX2/intern_1_4/68 of format G729A since our native format has changed 
to ALAW


It seems, Box B now sends G.729 also via the IAX channel,
though forbidden by iax_conf.

Is setGlobalVar(OH323_OUTCODEC=g729) able to influence
the IAX channel?

Would the patch "setInheritVar" solve my problem?


Roger.




More information about the asterisk-users mailing list