Avatar of illusivefingers
Flag for United States of America asked on

Asterisk Outbound Call From AMI

I am having trouble originating an outbound call with Asterisk AMI, with Asterisk 1.8.  To preface this, I can originate a call with absolutely no trouble using call files.  Here's an example of a call file that works, where 903XXXXXXX is the number I'm trying to dial out:

Channel: SIP/nextiva/903XXXXXXX
Context: sample-context
Extension: 1
Priority: 1

Open in new window

However, when I connect to the AMI (and I receive notification of a successful connection), and perform the following action, I only get a "Response: Success" message and the call is not placed:

Action: Originate\r\n
Channel: SIP/nextiva/903XXXXXXX\r\n
Exten: 1\r\n
Priority: 1\r\n
Context: sample-context\r\n
Async: yes\r\n\r\n

Open in new window

There seems to be no verbose message within the Asterisk CLI to indicate that any activity is happening.  Am I doing something wrong here, or perhaps is there a way to log/output the details from the action from the AMI?  Any help is greatly appreciated!
Voice Over IPIP Telephony

Avatar of undefined
Last Comment

8/22/2022 - Mon

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question

This seems to be the correct solution, though I had to solve the problem of connection to the AMI, as the socket interface I was using through PHP was broken, and a few new problems stemmed from this one, which I'll post in a new thread.  Thank you!
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck