[asterisk-users] Problem with AMI Originate

Leo Burd
Tue, 04 May 2010 13:41:43 -0000

Hello there,

How to retrieve the "failure reason" when calling AMI Originate with
Async = 0?

The system seems to return the following no matter what:

 [Response] => Error
 [Message] => Originate failed

How to determine if the number was busy, invalid, etc?

Would I have to run AMI Originate with Async = 1 in order to do that?

Thanks in advance,

Leo

PS. I'm running Asterisk 1.6.2.0~rc2