how to play mp3 files through dialplan

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

how to play mp3 files through dialplan

Postby anilbakhtani » Thu Apr 16, 2020 1:54 am

Hello there,
I have goautodial 3.3 with asterisk 1.8 running.

I want to play .mp3 files though my dialplan, I installed already mpg123
exten => 1255,n,MP3Player(file.mp3) -not working.

kindly guide to go ahead.
thanks.
anilbakhtani
 
Posts: 46
Joined: Fri Sep 24, 2010 10:58 pm

Re: how to play mp3 files through dialplan

Postby Kabis » Thu Apr 16, 2020 10:05 am

Hi anil,

My Suggestion: If you use wav than mp3 it will be very useful to clear audio in phone.

Answer for your question:

Upload your sound file in sound directory.

Asterisk Dialplan for playing music file is

exten => 1255,n,Playback(file.wav)

It will play your audio file, if you call 1255 from your extension.

Regards,
KABIS
Visitus: kabis.org.in
Email: kanbisforu@gmail.com
Skype: kabisforu
We are ready to help you,
Regards,
KABIS,
Email ID: kabisforu@gmail.com
Website: www.kabis.org.in
Skype: kabisforu
Kabis
 
Posts: 100
Joined: Sat Nov 03, 2018 12:08 am
Location: India

Re: how to play mp3 files through dialplan

Postby anilbakhtani » Fri Apr 17, 2020 2:18 am

thanks for your reply.
wav and gsm and others already working well, I need solution for MP3 files, as I need to run few mp3 directly without converting to wav.
Kindly consider and give me solution to run mp3.
anilbakhtani
 
Posts: 46
Joined: Fri Sep 24, 2010 10:58 pm


Return to Support

Who is online

Users browsing this forum: No registered users and 86 guests