Re: [asterisk-users] How to play audio file in background in dialplan?

2012-02-03 Thread Steve Edwards
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

Re: [asterisk-users] How to play audio file in background in dialplan?

2012-02-03 Thread Yaroslav Panych
2012/2/4 Steve Edwards asterisk@sedwards.com: does DO-SOME-ACTION-BASED-ON-PREVIOUS-CALL-RETURN-CODE involve some interaction with Asterisk? Yes, DO-SOME-ACTION-BASED-ON-PREVIOUS-CALL-RETURN-CODE interacts with Asterisk. Does the entire ${PROFILE_MUSIC} file need to be played or does it

Re: [asterisk-users] How to play audio file in background in dialplan?

2012-02-03 Thread Steve Edwards
2012/2/4 Steve Edwards asterisk@sedwards.com: does DO-SOME-ACTION-BASED-ON-PREVIOUS-CALL-RETURN-CODE involve some interaction with Asterisk? On Sat, 4 Feb 2012, Yaroslav Panych wrote: Yes, DO-SOME-ACTION-BASED-ON-PREVIOUS-CALL-RETURN-CODE interacts with Asterisk. Does the entire

Re: [asterisk-users] How to play audio file in background in dialplan?

2012-02-03 Thread Steve Edwards
On Sat, 4 Feb 2012, Yaroslav Panych wrote: It should be stopped only after DO-SOME-ACTION-BASED-ON-PREVIOUS-CALL-RETURN-CODE completes. It is actually my longtime operation. BTW, we still have NFC what DO-SOME-ACTION-BASED-ON-PREVIOUS-CALL-RETURN-CODE does. More details may yield better