TAG_IF((profile->mflags & MFLAG_REFER), NUTAG_ALLOW("REFER")),

This removes refer from the allowed methods in sofia so we will say that the method is NOT allowed.

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.

/b

On Dec 9, 2010, at 4:25 PM, mayamatakeshi wrote:


On Fri, Dec 10, 2010 at 7:08 AM, Brian West <brian@freeswitch.org> wrote:
Is this thing on?  Did you not see my email where I said use disable-transfer option on the profile?

Yes, but I don't want to refuse all REFER request (that's what disable-transfer do).
I only want to refuse some REFER requests when I detect the destination is invalid.
 


On