[asterisk-users] Asterisk AMI SIP channel detect phone ringing
Kevin P. Fleming
kpfleming at digium.com
Wed May 2 16:49:07 CDT 2012
On 05/02/2012 04:41 PM, JIMMY GATHAGE wrote:
> Hey guys,
>
> 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?
If your SIP provider is not sending you '180 Ringing' responses, then
your only choice would be look into a 'call progress detection' package
that can listen to the incoming audio and analyze it for ring-back.
Unfortunately these are not terribly reliable, because ring-back tones
vary greatly, and they might not even be traditional ring-back (many
mobile providers offer 'music ringback' to their subscribers).
--
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
Jabber: kfleming at digium.com | SIP: kpfleming at digium.com | Skype: kpfleming
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at www.digium.com & www.asterisk.org
More information about the asterisk-users
mailing list