[Serusers] One path of RTP traffic (possible bug?????)
Andreas Granig
andreas.granig at inode.info
Fri Sep 23 10:23:23 CEST 2005
Greger V. Teigre wrote:
> But the config already has a protection of use_media_proxy() with a
> flag?! Or maybe you are referring to an earlier config and not the
> features-callfwd.cfg one?
I'm referring to the config in chapter 8 in gettingstarted-05. In
route[4] you have the following code:
if (isflagset(6) || isflagset(7)) {
use_media_proxy();
};
But I have accustomed to protect it like this:
if (!isflagset(8) && (isflagset(6) || isflagset(7))) {
setflag(8);
use_media_proxy();
};
So it can only be called once.
Andy
More information about the sr-users
mailing list