Re: [asterisk-dev] ast_play_and_wait

2020-01-28 Thread Joshua C. Colp
On Tue, Jan 28, 2020 at 10:26 AM i...@magnussolution.com < i...@magnussolution.com> wrote: > Hi Joshua, thanks, it work perfectly. > > One more question, what is the best method to play audio and get the DTMF? > > I’m using > > dtmf[1] = '\0'; > dtmf[0] = cmd = ast_play_and_wait(chan, audio); >

Re: [asterisk-dev] ast_play_and_wait

2020-01-28 Thread i...@magnussolution.com
Hi Joshua, thanks, it work perfectly. One more question, what is the best method to play audio and get the DTMF? I’m using dtmf[1] = '\0'; dtmf[0] = cmd = ast_play_and_wait(chan, audio); best regards > On 28 Jan 2020, at 09:49, Joshua C. Colp wrote: > > On Tue, Jan 28, 2020 at 8:43 AM

Re: [asterisk-dev] ast_play_and_wait

2020-01-28 Thread Joshua C. Colp
On Tue, Jan 28, 2020 at 8:43 AM i...@magnussolution.com < i...@magnussolution.com> wrote: > Hello, > > I’m learning about Asterisk code, and to try developer a new application, > in this application I nee to execute sounds, I’m using > ast_play_and_wait(chan,audio), but this function, as the name

[asterisk-dev] ast_play_and_wait

2020-01-28 Thread i...@magnussolution.com
Hello, I’m learning about Asterisk code, and to try developer a new application, in this application I nee to execute sounds, I’m using ast_play_and_wait(chan,audio), but this function, as the name suppose, play the and wait to user press any digits. Have another function to only execute the