<br><div class="gmail_quote">On Fri, Dec 10, 2010 at 7:08 AM, Brian West <span dir="ltr"><<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div style="word-wrap:break-word">Is this thing on? Did you not see my email where I said use 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> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div style="word-wrap:break-word">
<div><br></div><font color="#888888"><div><br><div><div>On Dec 9, 2010, at 4:05 PM, mayamatakeshi wrote:</div><br><blockquote type="cite"><span style="border-collapse:separate;font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><div class="gmail_quote">
<br>On Thu, Dec 9, 2010 at 11:11 PM, mayamatakeshi<span> </span><span dir="ltr"><<a href="mailto:mayamatakeshi@gmail.com" target="_blank">mayamatakeshi@gmail.com</a>></span><span> </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>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></span></blockquote>
</div><br></div></font></div><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>