If the link is down the profile will still exist but packets won't route. Unless you mean when it's down on startup?

On 2 December 2014 at 12:37, jay binks <jaybinks@gmail.com> wrote:
yea your probably right that im never really going to have that scenario...
however I wanted to test what would happen ( on profile A side ) if link was down on the interface for profile B.

hmmm have to test that better :P

On 2 December 2014 at 22:12, Brian West <brian@freeswitch.org> wrote:
Those were added as part of FS-3321, Try sending your calls out a valid profile? :P

On Mon, Dec 1, 2014 at 10:54 PM, jay binks <jaybinks@gmail.com> wrote:
So im doing some integration testing, I am sending a call to sofia profile A , and its routed out profile B.

if I take profile B down,  I can see freeswitch logs "mod_sofia.c:4417 Invalid Profile", which is fine..  the profile is stopped.

but what I did not expect is that Freeswitch responds ( on profile A )
with :

SIP/2.0 502 Bad Gateway
Reason: SIP;cause=611;text="INVALID_PROFILE"


which isnt even listed in  https://freeswitch.org/confluence/display/FREESWITCH/Hangup+Cause+Code+Table as a valid hangup cause !! 

What I want to know is,  how can I make freeswitch send a Q850 cause 41 in this case ??
( without patching mod_sofia :P )

--
Sincerely

Jay

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

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



--

Brian West
brian@freeswitch.org


Twitter: @FreeSWITCH , @briankwest
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com

T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378)
iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

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



--
Sincerely

Jay

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

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