Liu Peter
2005-Sep-20 10:30 UTC
[Asterisk-Users] how to distinguish the "ringing" and "connected" for zap channel
I have a TDM card in a asterisk machine. I found that once I used it to call out, the call status changed to "connected" even the callee is still ring. How could asterisk distinguish the "ringing" and "connected" in zap channel? thanks.
Alchaemist
2005-Sep-20 11:04 UTC
[Asterisk-Users] Re: how to distinguish the "ringing" and "connected"for zap channel
Hi there, Basically, youare supposed to play arround with indications.conf To have the extensions configured with callprogress=yes but, be carefull because it is quite experimental. Also, what I did was to get an audio program (Cooledit, Adobe audition, or other), and you should use the spectral view (FFT Fast Fourier Transform), there you will be ableto see which frequencies the tones have, and their duration. Now, having said that.... I was half successfull in making it work, and I still have some problems, so if anybody else has a clear idea of what can be done, please shout in here ! :) Give a look to this: http://www.voip-info.org/tiki-index.php?page=Asterisk+config+indications.conf Particullaryl the section: Generating a Tone Set And this: http://www.speech.kth.se/wavesurfer/ Cheers! Alchaemist "Liu Peter" <voipforum@gmail.com> wrote in message news:62fe4032050920103043d916b9@mail.gmail.com... I have a TDM card in a asterisk machine. I found that once I used it to call out, the call status changed to "connected" even the callee is still ring. How could asterisk distinguish the "ringing" and "connected" in zap channel? thanks.
Liu Peter
2005-Sep-20 12:21 UTC
[Asterisk-Users] Re: how to distinguish the "ringing" and "connected"for zap channel
1) how to config callprogress=yes ? in extensions.conf? could you give me an example? 2) you means record the call (via zaptel) into a file and analyze it with audio tool? thanks.. 2005/9/20, Alchaemist <info@lnet.com.ar>:> Hi there, > > Basically, youare supposed to play arround with indications.conf > To have the extensions configured with callprogress=yes but, be > carefull because it is quite experimental. > Also, what I did was to get an audio program (Cooledit, Adobe > audition, or other), and you should use the spectral view (FFT Fast Fourier > Transform), there you will be ableto see which frequencies the tones have, > and their duration. > > Now, having said that.... I was half successfull in making it work, > and I still have some problems, so if anybody else has a clear idea of what > can be done, please shout in here ! :) > > > Give a look to this: > http://www.voip-info.org/tiki-index.php?page=Asterisk+config+indications.conf > Particullaryl the section: Generating a Tone Set > > And this: > http://www.speech.kth.se/wavesurfer/ > > Cheers! > Alchaemist > > > "Liu Peter" <voipforum@gmail.com> wrote in message > news:62fe4032050920103043d916b9@mail.gmail.com... > I have a TDM card in a asterisk machine. > I found that once I used it to call out, the call status changed to > "connected" even the callee is still ring. > How could asterisk distinguish the "ringing" and "connected" in zap channel? > > thanks. > > > > _______________________________________________ > --Bandwidth and Colocation sponsored by Easynews.com -- > > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
Liu Peter
2005-Sep-20 12:54 UTC
[Asterisk-Users] Re: how to distinguish the "ringing" and "connected"for zap channel
i checked the document about indicator.conf nd it is used to generator the tone of busy, ringing, congestion or dialtone. Bt how can I detect it in extension.conf? I hope to know whether the callee is answered the call, or know the duration of answered time. but even the callee doesnt picked the call, the status was changed to ANSWER, and the ${ANSWEREDTIME} includes the ring time for zaptel channel. How can asterisk get the correct ${ANSWEREDTIME} for zaptel chanel? thanks. 2005/9/20, Alchaemist <info@lnet.com.ar>:> Hi there, > > Basically, youare supposed to play arround with indications.conf > To have the extensions configured with callprogress=yes but, be > carefull because it is quite experimental. > Also, what I did was to get an audio program (Cooledit, Adobe > audition, or other), and you should use the spectral view (FFT Fast Fourier > Transform), there you will be ableto see which frequencies the tones have, > and their duration. > > Now, having said that.... I was half successfull in making it work, > and I still have some problems, so if anybody else has a clear idea of what > can be done, please shout in here ! :) > > > Give a look to this: > http://www.voip-info.org/tiki-index.php?page=Asterisk+config+indications.conf > Particullaryl the section: Generating a Tone Set > > And this: > http://www.speech.kth.se/wavesurfer/ > > Cheers! > Alchaemist > > > "Liu Peter" <voipforum@gmail.com> wrote in message > news:62fe4032050920103043d916b9@mail.gmail.com... > I have a TDM card in a asterisk machine. > I found that once I used it to call out, the call status changed to > "connected" even the callee is still ring. > How could asterisk distinguish the "ringing" and "connected" in zap channel? > > thanks. > > > > _______________________________________________ > --Bandwidth and Colocation sponsored by Easynews.com -- > > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
Alchaemist
2005-Sep-21 12:34 UTC
[Asterisk-Users] Re: Re: how to distinguish the "ringing" and"connected"for zap channel
This might be of help as well? http://www.voip-info.org/tiki-pagehistory.php?page=Asterisk+Disconnect+Supervision&diff=3 "Liu Peter" <voipforum@gmail.com> wrote in message news:62fe4032050920122145d739d9@mail.gmail.com... 1) how to config callprogress=yes ? in extensions.conf? could you give me an example? 2) you means record the call (via zaptel) into a file and analyze it with audio tool? thanks.. 2005/9/20, Alchaemist <info@lnet.com.ar>:> Hi there, > > Basically, youare supposed to play arround with indications.conf > To have the extensions configured with callprogress=yes but, be > carefull because it is quite experimental. > Also, what I did was to get an audio program (Cooledit, Adobe > audition, or other), and you should use the spectral view (FFT Fast > Fourier > Transform), there you will be ableto see which frequencies the tones have, > and their duration. > > Now, having said that.... I was half successfull in making it work, > and I still have some problems, so if anybody else has a clear idea of > what > can be done, please shout in here ! :) > > > Give a look to this: > http://www.voip-info.org/tiki-index.php?page=Asterisk+config+indications.conf > Particullaryl the section: Generating a Tone Set > > And this: > http://www.speech.kth.se/wavesurfer/ > > Cheers! > Alchaemist > > > "Liu Peter" <voipforum@gmail.com> wrote in message > news:62fe4032050920103043d916b9@mail.gmail.com... > I have a TDM card in a asterisk machine. > I found that once I used it to call out, the call status changed to > "connected" even the callee is still ring. > How could asterisk distinguish the "ringing" and "connected" in zap > channel? > > thanks.