Re: [Asterisk-java-users] DTMF digit collection
Brought to you by:
srt
From: Jonathan A. <jau...@st...> - 2005-12-14 17:16:18
|
Stefan, Thank you very much for your input. You have confirmed some ideas I have been working with last night which was to integrate AGI/Manager API. I was not yet confident that was the solution. I wanted to make sure I was not missing something in looking at the Manager API. I believe that utilization of both interfaces will provide the capabilities I need. Thanks again for your help. Jonathan On Wed, 2005-12-14 at 16:40 +0000, Stefan Reuter wrote: > > On Wed, 2005-12-14 at 08:00 -0800, Jonathan Augenstine wrote: > > The specific problem I encountered is that I make an outbound call from > > Asterisk using the execCommand(Dial). The problem is that the > > execCommand call blocks and I need to have the application and move on > > to other tasks. > > Thanks for the clarification. > I propose to use AGI for the identification as you said that already > works well. I understand you problem with the exec dial though. For this > there are two solutions. First you can call setContext, setExtension and > setPriority inside your AGI script instead of exec dial. This causes the > call to continue at the given extension in the dialplan when the AGI > script ends. Second you could just issue a RedirectAction via the > Manager API at the end of the AGI script. > That way you can combine the strenghts of both interfaces (and you > probably already use the Manager API to originate the outbound call). > Do you think this would solve your problem? > > =Stefan |