Can you post a SIP trace of this happening? That looks pretty interesting. Use <a href="http://pastebin.freeswitch.org">pastebin.freeswitch.org</a> and put the URL of the pb post in this email thread.<br>-MC<br><br><div class="gmail_quote">
On Mon, Dec 3, 2012 at 5:10 AM, Adam Kuśmirek <span dir="ltr"><<a href="mailto:amkusmirek@gmail.com" target="_blank">amkusmirek@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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>---> INVITE</div><div><--- 100 Trying</div><div><div><--- 183 Session Progress</div></div><div><div><div><--- 183 Session Progress with header Reason: Q.850;cause=?</div></div></div><div>
<--- 20 sec. voice announcement</div><div><div><--- 487 Request Terminated with header Reason: Q.850;cause=?</div></div><div>---> ACK</div><div><br></div><div>I'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>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Michael S Collins<br>Twitter: @mercutioviz<br><a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br><a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br><br><br>