JIMMY GATHAGE
2012-May-22 14:58 UTC
[asterisk-users] Asterisk AMI SIP channel detect phone
Thanks Kevin and Yaroslav, Sorry was out of town. Sorry I forgot to mention that Iam using an VOIP GSM gateway to connect to PSTN. Kevin, I am have decided to use Sangoma CPA. Do you know of any other options that are easier to integrate with? Yaroslav, Yes I had set the header ASYNC to yes. Thanks for the help. Thanks. regards,> Message: 8 > Date: Thu, 3 May 2012 00:41:30 +0300 > From: JIMMY GATHAGE <jgathage at gmail.com> > Subject: [asterisk-users] Asterisk AMI SIP channel detect phone > ? ? ? ?ringing > To: asterisk-users at lists.digium.com > Message-ID: > ? ? ? ?<CACm44cAee88uRixS8VNeNXwvFOBi3mbt5iQ-ovq0Wa=cnYXwQg at mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > 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? > > Am desperate. > > Thanks. > > > > ------------------------------ > > Message: 9 > Date: Wed, 02 May 2012 16:49:07 -0500 > From: "Kevin P. Fleming" <kpfleming at digium.com> > Subject: Re: [asterisk-users] Asterisk AMI SIP channel detect phone > ? ? ? ?ringing > To: asterisk-users at lists.digium.com > Message-ID: <4FA1ABD3.1050003 at digium.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > 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 > > > > ------------------------------ > >