You can make the respond app reply with any sip message you want... Example
<action application=²respond² data=²503 Go Away²/> <action application=²respond² data=²402 Payment Required²/> K From: Mathieu Rene <[email protected]> Reply-To: <[email protected]> Date: Sun, 25 Jan 2009 23:53:09 -0500 To: <[email protected]> Subject: Re: [Freeswitch-users] Can I have FS send a 503? NORMAL_CIRCUIT_CONGESTION would've been the cause you were looking for. Mathieu On Sun, Jan 25, 2009 at 2:46 PM, Ron McCarthy <[email protected]> wrote: > I actaully just used respond with a 503 and that sends back a "Service > unavailable". > > 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. > > Thanks for the help! > > > > On Sun, Jan 25, 2009 at 11:13 AM, Anthony Minessale > <[email protected]> wrote: >> >> 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) >> >>> On Jan 25, 2009 12:09 PM, "Ron McCarthy" <[email protected]> wrote: >>> >>> Hi, >>> >>> 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. >>> >>> Any help would be great, thanks! >>> >>> >>> _______________________________________________ >>> Freeswitch-users mailing list >>> [email protected] >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >>> >>> _______________________________________________ >>> Freeswitch-users mailing list >>> [email protected] >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >>> >>> >>> _______________________________________________ >>> Freeswitch-users mailing list >>> [email protected] >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >>> >>> >>> >>> _______________________________________________ >>> Freeswitch-users mailing list >>> [email protected] >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org
_______________________________________________ Freeswitch-users mailing list [email protected] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
