[asterisk-users] AMI timeouts

Alexander Frolkin avf at eldamar.org.uk
Thu Jul 18 03:40:24 CDT 2013


Hi,

> When you execute an Originate action, are you doing so synchronously or
> asynchronously?
> 
> A synchronous Originate performs the full outbound dial operation on the
> thread servicing the AMI request. Since each session in AMI gets its own
> thread that services both actions and events, a synchronous Originate can
> block that session from receiving events until it completes.

I may be misunderstanding, but would your suggestion be to open a new
AMI connection for each action?  (Or at least each action that can
block.)


Alex




More information about the asterisk-users mailing list