[Freeswitch-users] Can I have FS send a 503?

Ken Rice krice at freeswitch.org
Sun Jan 25 21:22:39 PST 2009


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 <mrene_lists at avgs.ca>
Reply-To: <freeswitch-users at lists.freeswitch.org>
Date: Sun, 25 Jan 2009 23:53:09 -0500
To: <freeswitch-users at lists.freeswitch.org>
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 <ronmccar at gmail.com> 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
> <anthony.minessale at gmail.com> 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" <ronmccar at gmail.com> 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
>>> Freeswitch-users at lists.freeswitch.org
>>> 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
>>> Freeswitch-users at lists.freeswitch.org
>>> 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
>>> Freeswitch-users at lists.freeswitch.org
>>> 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
>>> Freeswitch-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090125/9e04e8ca/attachment-0002.html 


More information about the FreeSWITCH-users mailing list