<HTML>
<HEAD>
<TITLE>Re: [Freeswitch-users] Can I have FS send a 503?</TITLE>
</HEAD>
<BODY>
<FONT SIZE="4"><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>You can make the respond app reply with any sip message you want...<BR>
<BR>
Example<BR>
<BR>
&lt;action application=&#8221;respond&#8221; data=&#8221;503 Go Away&#8221;/&gt;<BR>
&lt;action application=&#8221;respond&#8221; data=&#8221;402 Payment Required&#8221;/&gt;<BR>
<BR>
K<BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"><B>From: </B>Mathieu Rene &lt;mrene_lists@avgs.ca&gt;<BR>
<B>Reply-To: </B>&lt;freeswitch-users@lists.freeswitch.org&gt;<BR>
<B>Date: </B>Sun, 25 Jan 2009 23:53:09 -0500<BR>
<B>To: </B>&lt;freeswitch-users@lists.freeswitch.org&gt;<BR>
<B>Subject: </B>Re: [Freeswitch-users] Can I have FS send a 503?<BR>
<BR>
NORMAL_CIRCUIT_CONGESTION would've been the cause you were looking for.<BR>
<BR>
Mathieu<BR>
<BR>
On Sun, Jan 25, 2009 at 2:46 PM, Ron McCarthy &lt;ronmccar@gmail.com&gt; wrote:<BR>
</SPAN></FONT></FONT><BLOCKQUOTE><FONT SIZE="4"><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>I actaully just used respond with a 503 and that sends back a &quot;Service unavailable&quot;. <BR>
<BR>
If I do: &lt;anti-action application=&quot;hangup&quot; data=&quot;NO_ROUTE_DESTINATION&quot; /&gt; I get a busy back on the other side, it looks like application=&quot;respond&quot; actaully works better in this case.<BR>
<BR>
Thanks for the help!<BR>
<BR>
<BR>
<BR>
On Sun, Jan 25, 2009 at 11:13 AM, Anthony Minessale &lt;anthony.minessale@gmail.com&gt; wrote:<BR>
</SPAN></FONT></FONT><BLOCKQUOTE><FONT SIZE="4"><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
We use the standard rfc q.850 to sip cause code map so you can set continue_on_fail=true and hangup with the q.850 that maps to 503 (I forgot what it is atm)<BR>
<BR>
</SPAN></FONT></FONT><BLOCKQUOTE><FONT SIZE="4"><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>On Jan 25, 2009 12:09 PM, &quot;Ron McCarthy&quot; &lt;ronmccar@gmail.com&gt; wrote:<BR>
<BR>
Hi,<BR>
<BR>
Is it possible to have FS send a 503 / no route found error back? I have looked and have not seen a place where you can add a custom sip response code like this. I want to return a 503 if they can't call that destination, instead of a 404 basically.<BR>
<BR>
Any help would be great, thanks!<BR>
<BR>
<BR>
_______________________________________________<BR>
Freeswitch-users mailing list<BR>
Freeswitch-users@lists.freeswitch.org<BR>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><BR>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
<BR>
<BR>
_______________________________________________<BR>
Freeswitch-users mailing list<BR>
Freeswitch-users@lists.freeswitch.org<BR>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><BR>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
<BR>
<BR>
<BR>
_______________________________________________<BR>
Freeswitch-users mailing list<BR>
Freeswitch-users@lists.freeswitch.org<BR>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><BR>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
<BR>
<BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></SPAN></FONT></FONT></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE><FONT SIZE="4"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'>_______________________________________________<BR>
Freeswitch-users mailing list<BR>
Freeswitch-users@lists.freeswitch.org<BR>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><BR>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
</SPAN></FONT></FONT>
</BODY>
</HTML>