<br><div class="gmail_quote">On Thu, Dec 9, 2010 at 11:11 PM, mayamatakeshi <span dir="ltr"><<a href="mailto:mayamatakeshi@gmail.com">mayamatakeshi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>Is there any way to ask FS to refuse a REFER request?<br></div><div>I mean, when a REFER is received, the first thing FS does is to disconnect the channel of the referrer. Then, it sends the other channel to the dialplan. But I want to prevent the unbridging of the call in some circumstances (meaning: some destinations for transfer are not valid).</div>
<div>Obs: I don't want do disable support for REFER as I know it can be configured in the sofia profile.</div></blockquote></div><div><br></div><div>Thanks for the answers.<br></div><div>I checked the mod_sofia code (sofia.c) and there is no way to do this. </div>
<div>But I can see that if I really needed it, I can check the URI in the REFER and refuse the call at mod_sofia level without completely disabling transfer.</div><div><br></div><div>br,</div><div>takeshi</div>