Re: [Asterisk-java-users] originate a call and get user selected option
Brought to you by:
srt
From: Yves A. <yv...@gm...> - 2013-01-03 10:17:48
|
Hi, I´d recommend to use a java-agi for that purpose. You can pass parameters to your agi and you have full control over the call, directly receive DTMF inputs, can use any database and and and... (i do it this way for large ivr campaigns (no matter if in- or outbound) handling hundreds of calls per hour... no problems... on outbound campaigns the call is also java-initiated) regards, yves Am 02.01.2013 16:49, schrieb Kelly Goedert: > Hi, > > I need to originate a call from java, this call is made to an > extension which plays menu options to the user, like, press 1 to > confirm and 2 to cancel. > > I originate a call to the extension 400@ivr that looks like this: > > [ivr] > exten => 400,1,MP3Player(sound1.mp3) > exten => 400,2,Background(menu.mp3) > exten => 400,n,WaitExten(5) > > exten => 1,1,MP3Player(confirmed.mp3) > > exten => 2,1,MP3Player(cancel.mp3) > exten => 3,1,MP3Player(later.mp3) > exten => 4,1,Goto(ivr,400,2) > exten => i,1,MP3Player(invalid.mp3) > exten => t,1,Hangup() > > Is it possible to know if the user selected 1,2,3 or 4? If so, how can > I do that? > > Thanks > > Kelly > > > > ------------------------------------------------------------------------------ > Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery > and much more. Keep your Java skills current with LearnJavaNow - > 200+ hours of step-by-step video tutorials by Java experts. > SALE $49.99 this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122612 > > > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users |