Hello people, It seems that my * does not react to tos=<whatever> field in iax.conf. I am using latest CVS HEAD code. Can anybody help me with this issue? ps: if i go to chan_iax2.c and modify the initial definition of tos variable, it works fine marking packets with the value specified there: static int tos=16; if i put random text in iax.conf's tos=, chan_iax2 refuses to load because of incorrect value (so, it reads the value from the file, but is unable to set it properly....) thanks, Calin.
Calin Serbanescu wrote:>static int tos=16; > > > >I think it is tos=0x16 Doug
tos 16 = 0x10 (lowdelay).. that part is ok, but is a workaround, NOT a fix-up... On Sun, 2005-06-19 at 18:48 -0400, Doug Lytle wrote:> Calin Serbanescu wrote: > > >static int tos=16; > > > > > > > > > I think it is tos=0x16 > > Doug > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
> It seems that my * does not react to tos=<whatever> field in iax.conf. I > am using latest CVS HEAD code. > > Can anybody help me with this issue? > > ps: > > if i go to chan_iax2.c and modify the initial definition of tos > variable, it works fine marking packets with the value specified there: > static int tos=16; > > if i put random text in iax.conf's tos=, chan_iax2 refuses to load > because of incorrect value (so, it reads the value from the file, but is > unable to set it properly....)tos=lowdelay works just fine for me in iax.conf using cvs-head from late last week. If you're unsure about the keywords available with the statement, see the /usr/src/asterisk/configs/iax.conf.sample (or where ever your source code is installed). I have not tried this in iax.conf, but tos=0x18 ;lowdelay ;sets ip tos bits (=lowdelay, throughput) works fine in sip.conf, so guessing the use of hex values would work as well in iax.conf.