<div dir="ltr"><div>So im doing some integration testing, I am sending a call to sofia profile A , and its routed out profile B.</div><div><br></div><div>if I take profile B down, I can see freeswitch logs "mod_sofia.c:4417 Invalid Profile", which is fine.. the profile is stopped.</div><div><br></div><div>but what I did not expect is that Freeswitch responds ( on profile A )</div><div>with :</div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><p class="">SIP/2.0 502 Bad Gateway<br>Reason: SIP;<span style="background-color:rgb(255,255,0)">cause=611</span>;text="INVALID_PROFILE"</p></div></blockquote><div><br></div><div>which isnt even listed in <a href="https://freeswitch.org/confluence/display/FREESWITCH/Hangup+Cause+Code+Table">https://freeswitch.org/confluence/display/FREESWITCH/Hangup+Cause+Code+Table</a> as a valid hangup cause !! </div><div><br></div><div>What I want to know is, how can I make freeswitch send a Q850 cause 41 in this case ??</div><div>( without patching mod_sofia :P )</div><div><br></div>-- <br><div class="gmail_signature">Sincerely<br><br>Jay</div>
</div>