[Freeswitch-users] Crazy Cause Code with "INVALID PROFILE"

Steven Ayre steveayre at gmail.com
Tue Dec 2 12:10:51 MSK 2014


You can have it return to the dialplan on failure and (conditionally?)
hangup with a 41 from there.

On 2 December 2014 at 04:54, jay binks <jaybinks at 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 at 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 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/20141202/5c1bf0b6/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list