Hey there all, i have an app that calls our customers when the status of their machines change. I am using a Zap channel to dial out on an analog line. I do this by putting a drop.call file in /var/spool/asterisk/outgoing and connecting it to an extension which fires up a python script. the problem is, i cant really detect when an outgoing call is answered and the script (or asterisk) assumes a connection as soon as the call is placed. So..... is there a way that asterisk can detect when someone speaks ? Like answering a phone? i dont need speech recognition or anything like that, just something that lets me know that any sound is originating from the other end. if someone has an idea, i would appreciate it much. thanks sk -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060810/ef99812d/attachment.htm
At 07:59 AM 8/10/2006, you wrote:>is there a way that asterisk can detect when someone speaks ? Like >answering a phone? i dont need speech recognition or anything like >that, just something that lets me know that any sound is originating >from the other end.Play a recording that says "Press 1 to continue" over and over. Ira
Eric "ManxPower" Wieling
2006-Aug-10 10:21 UTC
[asterisk-users] can i detect a voice with asterisk ?
Ira wrote:> At 07:59 AM 8/10/2006, you wrote: >> is there a way that asterisk can detect when someone speaks ? Like >> answering a phone? i dont need speech recognition or anything like >> that, just something that lets me know that any sound is originating >> from the other end. > > Play a recording that says "Press 1 to continue" over and over.Or stop using analog ports. -- Now accepting new clients in Birmingham, Atlanta, Huntsville, Chattanooga, and Montgomery.
well, i dont know about how to get a digital line out of the office, but that would be cool. Clean up some other stuff too. Ah-well, guess i will settle for door number 1. The press 1 to continue loop. thanks, guys, let you know how it turns out. shawn On 8/10/06, Eric ManxPower Wieling <eric@fnords.org> wrote:> > Ira wrote: > > At 07:59 AM 8/10/2006, you wrote: > >> is there a way that asterisk can detect when someone speaks ? Like > >> answering a phone? i dont need speech recognition or anything like > >> that, just something that lets me know that any sound is originating > >> from the other end. > > > > Play a recording that says "Press 1 to continue" over and over. > > Or stop using analog ports. > > -- > Now accepting new clients in Birmingham, Atlanta, Huntsville, > Chattanooga, and Montgomery. > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060810/adf8f7d4/attachment.htm
It would be great if some swift asterisk coder would write a little application that could monitor the channel for call progress. so on cases of busy, ring (with timeout) and TALK detection an appropriate response could be taken for these analog systems. I would think with all the code in asterisks it should be just calling existing functions. The code has a function called __ast_dsp_call_progress() but I dont see that its used. Anyway a solution for analog lines would be great. Jerry>well, i dont know about how to get a digital line out of the office, but >that would be cool. Clean up some other stuff too. Ah-well, guess i will >settle for door number 1. The press 1 to continue loop. >thanks, guys, let you know how it turns out.>shawnOn 8/10/06, Eric ManxPower Wieling <eric at fnords.org <http://lists.digium.com/mailman/listinfo/asterisk-users>> wrote:>//>/ Ira wrote: />/ > At 07:59 AM 8/10/2006, you wrote: />/ >> is there a way that asterisk can detect when someone speaks ? Like />/ >> answering a phone? i dont need speech recognition or anything like />/ >> that, just something that lets me know that any sound is originating />/ >> from the other end. />/ > />/ > Play a recording that says "Press 1 to continue" over and over. />/ />/ Or stop using analog ports./
here here ! sk On 8/10/06, Jerry Geis <geisj@pagestation.com> wrote:> > It would be great if some swift asterisk coder would write a little > application > that could monitor the channel for call progress. > so on cases of busy, ring (with timeout) and TALK detection an appropriate > response > could be taken for these analog systems. > > I would think with all the code in asterisks it should be just calling > existing functions. > > The code has a function called __ast_dsp_call_progress() but I dont see > that its used. > > Anyway a solution for analog lines would be great. > > Jerry > > > >well, i dont know about how to get a digital line out of the office, but > >that would be cool. Clean up some other stuff too. Ah-well, guess i will > >settle for door number 1. The press 1 to continue loop. > >thanks, guys, let you know how it turns out. > > >shawn > > On 8/10/06, Eric ManxPower Wieling <eric at fnords.org < > http://lists.digium.com/mailman/listinfo/asterisk-users>> wrote: > >/ > />/ Ira wrote: > />/ > At 07:59 AM 8/10/2006, you wrote: > />/ >> is there a way that asterisk can detect when someone speaks ? Like > />/ >> answering a phone? i dont need speech recognition or anything like > />/ >> that, just something that lets me know that any sound is > originating > />/ >> from the other end. > />/ > > />/ > Play a recording that says "Press 1 to continue" over and over. > />/ > />/ Or stop using analog ports./ > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060810/99251a4f/attachment.htm