On Sat, 4 Feb 2012, Yaroslav Panych wrote:

same=>n,PlayBack(processing-request)
same=>n,APP_TO_START_PLAY_IN_BACKGROUND(${PROFILE_MUSIC})
same=>n,AGI(taskproxy,${user_id},${task})
same=>n,DO-SOME-ACTION-BASED-ON-PREVIOUS-CALL-RETURN-CODE
same=>n,APP_TO_STOP_PLAY_IN_BACKGROUND()

As Steve Edwards wrote, I cannot pack this dialplan into one big AGI call, because if I will use STREAM FILE, I will be forced to violate AGI protocol.

Can the above steps be incorporated into taskproxy or does DO-SOME-ACTION-BASED-ON-PREVIOUS-CALL-RETURN-CODE involve some interaction with Asterisk?

Does the entire ${PROFILE_MUSIC} file need to be played or does it need to be interrupted when DO-SOME-ACTION-BASED-ON-PREVIOUS-CALL-RETURN-CODE completes?

Open the kimono -- tell us what's going on :)

--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       [email protected]      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to