B.H.

Hello, i'm using AMI Originate action (with async=true) to send outgoing
calls to a SIP trunk (using asterisk-java library to connect to AMI).

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'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.

Is there any way that my AMI application can get the original SIP response
of the failed Originate action?

I'm using Asterisk 1.8.22 and slightly tweaked asterisk-java (
https://blogs.reucon.com/asterisk-java/) 1.0.0.


-- 
כתיבה וחתימה טובה לשנה טובה ומתוקה בגשמיות וברוחניות!
משיח NOW!
Moshiach is coming very soon, prepare yourself!
יחי אדוננו מורינו ורבינו מלך המשיח לעולם ועד!
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to