node-ari-client icon indicating copy to clipboard operation
node-ari-client copied to clipboard

PlaybackFinished does not differentiate between file playback complete or there is an error while playing

Open praiseable opened this issue 5 years ago • 5 comments

"Unfortunately, playbackControl.state isn't different from the one that a successful play has. My work-around is to measure the time period between PlaybackStarted and PlaybackFinished events. I've created an issue in the Asterisk jira, https://issues.asterisk.org/jira/browse/ASTERISK-26661."

I have done some changes at asterisk side code and now i am getting proper response. I can differentiate between actual file played successful and complete and when was unable to play successful then i got error response on PlaybackFinished. I want to share my contribution with asterisk code i am finding a way to do that

praiseable avatar Apr 17 '20 19:04 praiseable

Hi @praiseable can you please post your code, same issue i am also facing , that would be really helpful.

Thanks

pbpraveen1988 avatar Feb 06 '21 14:02 pbpraveen1988

Share your mailing address

On Sat, 6 Feb 2021, 19:04 Praveen Kumar, [email protected] wrote:

Hi @praiseable https://github.com/praiseable can you please post your code, same issue i am also facing , that would be really helpful.

Thanks

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/asterisk/node-ari-client/issues/139#issuecomment-774482614, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEO5LYXLANUXAM5NPXG6FETS5VD77ANCNFSM4MK7X2LA .

praiseable avatar Feb 06 '21 14:02 praiseable

[email protected], thanks for the help.

Share your mailing address On Sat, 6 Feb 2021, 19:04 Praveen Kumar, @.***> wrote: Hi @praiseable https://github.com/praiseable can you please post your code, same issue i am also facing , that would be really helpful. Thanks — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#139 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEO5LYXLANUXAM5NPXG6FETS5VD77ANCNFSM4MK7X2LA .

pbpraveen1988 avatar Feb 06 '21 14:02 pbpraveen1988

sorry for late reply. I have implemented changes in asterisk code. You need to replace the file and re-compile the code in asterisk.

On Sat, Feb 6, 2021 at 7:49 PM Praveen Kumar [email protected] wrote:

[email protected], thanks for the help.

Share your mailing address … <#m_-8135430110373359262_> On Sat, 6 Feb 2021, 19:04 Praveen Kumar, @.***> wrote: Hi @praiseable https://github.com/praiseable https://github.com/praiseable can you please post your code, same issue i am also facing , that would be really helpful. Thanks — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#139 (comment) https://github.com/asterisk/node-ari-client/issues/139#issuecomment-774482614>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEO5LYXLANUXAM5NPXG6FETS5VD77ANCNFSM4MK7X2LA .

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/asterisk/node-ari-client/issues/139#issuecomment-774488335, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEO5LYU242EWH2ACXXQBIKLS5VJFZANCNFSM4MK7X2LA .

-- ALI@ALI

praiseable avatar Feb 08 '21 09:02 praiseable

is this be feasible for you or not ??

On Mon, Feb 8, 2021 at 2:13 PM praiseable5 [email protected] wrote:

sorry for late reply. I have implemented changes in asterisk code. You need to replace the file and re-compile the code in asterisk.

On Sat, Feb 6, 2021 at 7:49 PM Praveen Kumar [email protected] wrote:

[email protected], thanks for the help.

Share your mailing address … <#m_8995203822186391844_m_-8135430110373359262_> On Sat, 6 Feb 2021, 19:04 Praveen Kumar, @.***> wrote: Hi @praiseable https://github.com/praiseable https://github.com/praiseable can you please post your code, same issue i am also facing , that would be really helpful. Thanks — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#139 (comment) https://github.com/asterisk/node-ari-client/issues/139#issuecomment-774482614>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEO5LYXLANUXAM5NPXG6FETS5VD77ANCNFSM4MK7X2LA .

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/asterisk/node-ari-client/issues/139#issuecomment-774488335, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEO5LYU242EWH2ACXXQBIKLS5VJFZANCNFSM4MK7X2LA .

-- ALI@ALI

-- ALI@ALI

praiseable avatar Feb 08 '21 09:02 praiseable