Execute Dial command in a specific channel using Asterisk Ma

Hi all,

I have a problem and very appreciate if anyone can help me.
I use Safiworkshop to develop a asterisk fagi application. My problem is:

  • When a caller press a digit 5, saflet script sends a UserEvent named ChatEvent to Manager process (using Asterisk-java Manager API) for invoking to conference with another caller.
  • In Manager process, a ManagerEventListener listens to ChatEvent, and uses invokeeNumber in ChatEvent to find channel of invokee.
  • Then, I need to execute Dial command in invokee channel to a saflet that bring 2 caller in to a Meetme Conference. But Asterisk Manager not provide API for execute a Dial command. It only supports calling Redirect.

I need to use Dial command because, after MeetMe Conference, 2 caller will be back to their previous channels.
Redirect command will hang 2 caller up after MeetMe conference.

Can you give me a solution.

Thanks very much.
Best Regards,
Nguyen Minh Dzung.

Redirect to dialplan which runs the Dial application.

Thanks for your suggestion. I will try it.