[asterisk-users] Asterisk AMI SIP channel detect phone ringing

Yaroslav Panych panych.y at gmail.com
Wed May 2 17:50:34 CDT 2012


2012/5/3 JIMMY GATHAGE <jgathage at gmail.com>:
> I am using a SIP trunk to make outgoing calls. Outgoing calls are
> going through okay. I am using the AMI to Originate a call. The
> channel is not returning any event when the phone on the PSTN is
> ringing. How can i detect the phone ringing on the SIP channel?

It is possible you made synchronous origination. Did you specified
Async: true header in origination action? If I remember correctly,
synchronous origination blocks AMI session until it done origination
routine.



More information about the asterisk-users mailing list