<div dir="ltr">B.H.<div><br></div><div>Hello, i&#39;m using AMI Originate action (with async=true) to send outgoing calls to a SIP trunk (using asterisk-java library to connect to AMI).</div><div><br></div><div>The problem is that in case of failed originate, OriginateResponse event is returning only the reason code which is sometimes not sufficient to determine the real cause of failure. Also, there&#39;s no way to link between the channel that was trying to dial and failed and the original Originate request, because OriginateResponse is issued only after the failed channel was hang up. Only successful OriginateResponse will contain the unique id of the established channel.</div>
<div><br></div><div>Is there any way that my AMI application can get the original SIP response of the failed Originate action?</div><div><br></div><div>I&#39;m using Asterisk 1.8.22 and slightly tweaked asterisk-java (<a href="https://blogs.reucon.com/asterisk-java/">https://blogs.reucon.com/asterisk-java/</a>) 1.0.0.<br clear="all">
<div><br></div><div><br></div>-- <br><div dir="ltr"><div style="direction:rtl"><font color="#666666">כתיבה וחתימה טובה לשנה טובה ומתוקה בגשמיות וברוחניות! </font></div><div style="direction:rtl"><font color="#666666">משיח NOW!</font></div>
<font color="#666666">Moshiach is coming very soon, prepare yourself!</font><div dir="rtl"><font color="#666666">יחי אדוננו מורינו ורבינו מלך המשיח לעולם ועד!</font></div></div>
</div></div>