Hi All<div><br></div><div>I have Freeswitch connected to SIP Trunk from local Service Provider.</div><div>Service Provider has NGN platform based on Broadworks applications.</div><div>When making failed outbound connections I never get SIP responses with hangup cause, but they play 20 sec. voice announcement (eg. unallocated number ...) and send 487 Request Terminated containing Reason header after that.</div>
<div><br></div><div>---&gt; INVITE</div><div>&lt;--- 100 Trying</div><div><div>&lt;---  183 Session Progress</div></div><div><div><div>&lt;---  183 Session Progress with header Reason: Q.850;cause=?</div></div></div><div>
&lt;---  20 sec. voice announcement</div><div><div>&lt;---  487 Request Terminated with header Reason: Q.850;cause=?</div></div><div>---&gt; ACK</div><div><br></div><div>I&#39;d like to hangup the call after 183 Session Progress containing header Reason: Q.850;cause=?.</div>
<div><br></div><div>First i tried execute_on_media and execute_on_pre_answer, but the scripts are triggered only for the first 183 Session Progress that does not contain Reason header.</div><div><br></div><div>Then I tried  to resolve the problem by connecting to Outbound Socket, but I can see only one CHANNEL_PROGRESS_MEDIA event  for the first 183 Session Progress.</div>
<div><br></div><div>Can anyone help ?</div><div><br></div><div>Regards Adam</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div>