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

jay binks jaybinks at gmail.com
Tue Dec 2 15:37:36 MSK 2014


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 at 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 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
>>
>
>
>
> --
>
> *Brian West*
> brian at 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 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
>



-- 
Sincerely

Jay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20141202/6905c928/attachment-0001.html 


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