<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">TAG_IF((profile-&gt;mflags &amp; MFLAG_REFER), NUTAG_ALLOW("REFER")),<div><br></div><div>This removes refer from the allowed methods in sofia so we will say that the method is NOT allowed.</div><div><br></div><div>If you want to refuse when the destination is invalid then give up now because you will need to know before the refer is sent to know that.</div><div><br></div><div>/b</div><div><br><div><div>On Dec 9, 2010, at 4:25 PM, mayamatakeshi wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><br class="Apple-interchange-newline">On Fri, Dec 10, 2010 at 7:08 AM, Brian West<span class="Apple-converted-space">&nbsp;</span><span dir="ltr">&lt;<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a>&gt;</span><span class="Apple-converted-space">&nbsp;</span>wrote:<br><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; "><div style="word-wrap: break-word; ">Is this thing on? &nbsp;Did you not see my email where I said use&nbsp;disable-transfer option on the profile?</div></blockquote><div><br></div><div>Yes, but I don't want to refuse all REFER request (that's what disable-transfer do).</div><div>I only want to refuse some REFER requests when I detect the destination is invalid.</div><div>&nbsp;</div><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; "><div style="word-wrap: break-word; "><div><br></div><font color="#888888"><div><br><div><div>On</div></div></div></font></div></blockquote></blockquote></div><br></div></body></html>