<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>
<action application=”respond” data=”503 Go Away”/><BR>
<action application=”respond” data=”402 Payment Required”/><BR>
<BR>
K<BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"><B>From: </B>Mathieu Rene <mrene_lists@avgs.ca><BR>
<B>Reply-To: </B><freeswitch-users@lists.freeswitch.org><BR>
<B>Date: </B>Sun, 25 Jan 2009 23:53:09 -0500<BR>
<B>To: </B><freeswitch-users@lists.freeswitch.org><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 <ronmccar@gmail.com> 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 "Service unavailable". <BR>
<BR>
If I do: <anti-action application="hangup" data="NO_ROUTE_DESTINATION" /> I get a busy back on the other side, it looks like application="respond" 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 <anthony.minessale@gmail.com> 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, "Ron McCarthy" <ronmccar@gmail.com> 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>