Thanks. The same protection has been applied to features-callfwd.cfg. I have added an issue: https://siprouter.onsip.org/trac/ticket/11 g-) ----- Original Message ----- From: "Andreas Granig" andreas.granig@inode.info To: "Greger V. Teigre" greger@teigre.com Cc: "Alberto" alberto.ipt@telefonica.net; serusers@lists.iptel.org Sent: Friday, September 23, 2005 10:23 AM Subject: Re: [Serusers] One path of RTP traffic (possible bug?????)
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