Re: [Asterisk-java-users] DTMF digit collection
Brought to you by:
srt
From: Stefan R. <sr...@re...> - 2005-12-14 16:38:56
|
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? =3DStefan |