Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

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


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
ronmccar at gmail.com
Guest





PostPosted: Sun Jan 25, 2009 1:05 pm    Post subject: [Freeswitch-users] Can I have FS send a 503? Reply with quote

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!
Back to top
anthony.minessale at g...
Guest





PostPosted: Sun Jan 25, 2009 1:15 pm    Post subject: [Freeswitch-users] Can I have FS send a 503? Reply with quote

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)
Quote:
On Jan 25, 2009 12:09 PM, "Ron McCarthy" <ronmccar@gmail.com (ronmccar@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@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Back to top
ronmccar at gmail.com
Guest





PostPosted: Sun Jan 25, 2009 2:48 pm    Post subject: [Freeswitch-users] Can I have FS send a 503? Reply with quote

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@gmail.com (anthony.minessale@gmail.com)> wrote:
Quote:

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)
Quote:

On Jan 25, 2009 12:09 PM, "Ron McCarthy" <ronmccar@gmail.com (ronmccar@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@lists.freeswitch.org (Freeswitch-users@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@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Back to top
mrene_lists at avgs.ca
Guest





PostPosted: Sun Jan 25, 2009 11:56 pm    Post subject: [Freeswitch-users] Can I have FS send a 503? Reply with quote

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@gmail.com (ronmccar@gmail.com)> wrote:
Quote:
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@gmail.com (anthony.minessale@gmail.com)> wrote:
Quote:

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)
Quote:

On Jan 25, 2009 12:09 PM, "Ron McCarthy" <ronmccar@gmail.com (ronmccar@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@lists.freeswitch.org (Freeswitch-users@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@lists.freeswitch.org (Freeswitch-users@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@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Back to top
krice at freeswitch.org
Guest





PostPosted: Mon Jan 26, 2009 12:24 am    Post subject: [Freeswitch-users] Can I have FS send a 503? Reply with quote

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@avgs.ca>
Reply-To: <freeswitch-users@lists.freeswitch.org>
Date: Sun, 25 Jan 2009 23:53:09 -0500
To: <freeswitch-users@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@gmail.com> wrote:
Quote:
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@gmail.com> wrote:
Quote:

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)

Quote:
On Jan 25, 2009 12:09 PM, "Ron McCarthy" <ronmccar@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@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@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@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services