Vicidial Audio file size and time limit

All installation and configuration problems and questions

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

Vicidial Audio file size and time limit

Postby joebiden » Thu Apr 18, 2019 5:38 pm

Hi,

Do anyone have any idea that Vicidial Version: 2.14-13 Build: 180503-2215 have a time and size limit in uploading in the audio store, i uploaded a 3 minute audio with 387KB, but when used to in the Vicidial soundboard i cant hear the uploaded audio file


Thanks,
VERSION: 2.14-705a BUILD: 190327-2311 | Asterisk 13.21.1-vici | Clustered Server No Digium/Sangoma Hardware | No Extra Software After Installation
joebiden
 
Posts: 23
Joined: Wed Apr 17, 2019 3:43 pm

Re: Vicidial Audio file size and time limit

Postby williamconley » Thu Apr 18, 2019 5:50 pm

1) Welcome to the Party! 8-)

2) As you are obviously new here, I have some suggestions to help us all help you:

When you post, please post your entire configuration including (but not limited to) your installation method (7.X.X?) and vicidial version with build (VERSION: 2.X-XXXx ... BUILD: #####-####).

This IS a requirement for posting along with reading the stickies (at the top of each forum) and the manager's manual (available on EFLO.net, both free and paid versions)

You should also post: Asterisk version, telephony hardware (model number is helpful here), cluster information if you have one, and whether any other software is installed in the box. If your installation method is "manual/from scratch" you must post your operating system with version (and the .iso version from which you installed your original operating system) plus a link to the installation instructions you used. If your installation is "Hosted" list the site name of the host.

If this is a "Cloud" or "Virtual" server, please note the technology involved along with the version of that techology (ie: VMware Server Version 2.0.2). If it is not, merely stating the Motherboard model # and CPU would be helpful.

Similar to This:

Vicibox X.X from .iso | Vicidial X.X.X-XXX Build XXXXXX-XXXX | Asterisk X.X.X | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | Intel DG35EC | Core2Quad Q6600

3) if the file shows and plays from the audio store, but does not play in the soundboard, the format is incorrect (and this should be evident from the asterisk CLI stating as much while trying to play the file).

4) There is no playback file size limit. PHP has a file upload size limit (not related to Vicidial, of course, php/apache2 are standardized packages with lots of online references for support). But once the file is uploaded, neither php nor apache are involved in playback: Just asterisk.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20019
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Vicidial Audio file size and time limit

Postby joebiden » Mon Apr 22, 2019 12:42 pm

Thank you for your response, i uploaded a 300KB .gsm format in the audio store and able to play it, but when i tried to upload a 3 minute audio, i cant hear any thing


VERSION: 2.14-705a BUILD: 190327-2311 | Asterisk 13.21.1-vici | Single Server No Digium/Sangoma Hardware | No Extra Software After Installation |
VERSION: 2.14-705a BUILD: 190327-2311 | Asterisk 13.21.1-vici | Clustered Server No Digium/Sangoma Hardware | No Extra Software After Installation
joebiden
 
Posts: 23
Joined: Wed Apr 17, 2019 3:43 pm

Re: Vicidial Audio file size and time limit

Postby williamconley » Mon Apr 22, 2019 1:16 pm

300kb gsm is not a "time in minutes". 3 minutes doesn't indicate size. You did not mention whether there were any errors during upload. You did not specify whether the file now appears in the audio store after the upload. You also didn't mention whether you tried listening to the file before you uploaded it (it should not have changed: it's an upload and a download of a digital audio file). Nor did you specify how you tried to listen to it: in the audio store interface? by calling in to an extension where this audio file should play? or is it on a call menu or ingroup? or the outbound message in a survey? nor did you provide the output from the asterisk CLI if you tried to play it in asterisk.

So ... while I'd like to help ... I don't have a lot to go on. 8-)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20019
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Vicidial Audio file size and time limit

Postby joebiden » Mon Apr 22, 2019 2:58 pm

Hi,

i was able to upload an audio file successfully using .gsm audio format that will be played on the sound board, which is just 20 seconds long , the question is does vicidial able to play more than 2 minutes audio in the soundboard

Regards,
VERSION: 2.14-705a BUILD: 190327-2311 | Asterisk 13.21.1-vici | Clustered Server No Digium/Sangoma Hardware | No Extra Software After Installation
joebiden
 
Posts: 23
Joined: Wed Apr 17, 2019 3:43 pm

Re: Vicidial Audio file size and time limit

Postby williamconley » Mon Apr 22, 2019 3:11 pm

there is no limit to the length of sound.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20019
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Vicidial Audio file size and time limit

Postby joebiden » Tue Apr 23, 2019 1:02 pm

Hi,

Can .wav format can play audio in the Soundboard or only .gsm

Thank you,

VERSION: 2.14-705a BUILD: 190327-2311 | Asterisk 13.21.1-vici | Single Server No Digium/Sangoma Hardware | No Extra Software After Installation
VERSION: 2.14-705a BUILD: 190327-2311 | Asterisk 13.21.1-vici | Clustered Server No Digium/Sangoma Hardware | No Extra Software After Installation
joebiden
 
Posts: 23
Joined: Wed Apr 17, 2019 3:43 pm

Re: Vicidial Audio file size and time limit

Postby williamconley » Tue Apr 23, 2019 1:06 pm

soundboard plays audio through asterisk. any format supported by asterisk will work. wav, ulaw, gsm, g729 (if installed), alaw, etc. Note that ulaw/wav will use the least amount of CPU power since they are uncompressed and the meetme room is already ulaw, so the conversion is almost non-existent. Any compressed format must be uncompressed to broadcast into the meetme room, which costs CPU power.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20019
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Vicidial Audio file size and time limit

Postby mflorell » Tue Apr 23, 2019 4:00 pm

We only recommend clients use: 16bit, 8k, mono, PCM .wav audio files.
mflorell
Site Admin
 
Posts: 18338
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Vicidial Audio file size and time limit

Postby joebiden » Tue Apr 23, 2019 4:13 pm

I uploaded a gsm format audio file a lengthy one (3 minutes of sound) at first it doesn't play in the sound board and figure it out , its the file name, the reason why its giving me this error
----

[Apr 23 16:45:04] -- Called 473782168600051@default
[Apr 23 16:45:04] -- Executing [473782168600051@default:1] Dial("Local/473782168600051@default-00000195;2", "IAX2/ASTplay:KR5If1IjMGtn069@127.0.0.1:42569/473782178600051,5,To") in new stack
[Apr 23 16:45:04] -- Called IAX2/ASTplay:KR5If1IjMGtn069@127.0.0.1:42569/473782178600051
[Apr 23 16:45:04] -- Accepting AUTHENTICATED call from 127.0.0.1:37706:
[Apr 23 16:45:04] -- > requested format = ulaw,
[Apr 23 16:45:04] -- > requested prefs = (ulaw|gsm),
[Apr 23 16:45:04] -- > actual format = ulaw,
[Apr 23 16:45:04] -- > host prefs = (ulaw),
[Apr 23 16:45:04] -- > priority = mine
[Apr 23 16:45:04] -- Call accepted by 127.0.0.1:42569 (format ulaw)
[Apr 23 16:45:04] -- Format for call is (ulaw)
[Apr 23 16:45:04] -- Executing [473782178600051@default:1] MeetMe("IAX2/ASTplay-5726", "8600051,q") in new stack
[Apr 23 16:45:04] -- IAX2/127.0.0.1:42569-12388 answered Local/473782168600051@default-00000195;2
[Apr 23 16:45:04] -- Local/473782168600051@default-00000195;1 answered
[Apr 23 16:45:04] -- Executing [473782158521111@default:1] Answer("Local/473782168600051@default-00000195;1", "") in new stack
[Apr 23 16:45:04] -- Executing [473782158521111@default:2] ControlPlayback("Local/473782168600051@default-00000195;1", "LSD-NoNewFriendsOfficialVideoftLabrinthSiaDiplo-1556048128,99999,0,1,2,3,4") in new stack
[Apr 23 16:45:04] -- Channel IAX2/127.0.0.1:42569-12388 joined 'simple_bridge' basic-bridge <03a6136a-3bdf-465b-aa36-0f9375b31732>
[Apr 23 16:45:04] -- Channel Local/473782168600051@default-00000195;2 joined 'simple_bridge' basic-bridge <03a6136a-3bdf-465b-aa36-0f9375b31732>
[Apr 23 16:45:04] WARNING[17962][C-00002607]: file.c:774 ast_openstream_full: File LSD-NoNewFriendsOfficialVideoftLabrinthSiaDiplo-1556048128 does not exist in any format
[Apr 23 16:45:04] WARNING[17962][C-00002607]: file.c:1247 ast_streamfile: Unable to open LSD-NoNewFriendsOfficialVideoftLabrinthSiaDiplo-1556048128 (format (slin)): No such file or directory
[Apr 23 16:45:04] -- Executing [473782158521111@default:3] Hangup("Local/473782168600051@default-00000195;1", "") in new stack
[Apr 23 16:45:04] == Spawn extension (default, 473782158521111, 3) exited non-zero on 'Local/473782168600051@default-00000195;1'
[Apr 23 16:45:04] WARNING[17962][C-00002607]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[Apr 23 16:45:04] -- Executing [h@default:1] AGI("Local/473782168600051@default-00000195;1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16--------------------)") in new stack
[Apr 23 16:45:04] -- <Local/473782168600051@default-00000195;1>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ----------) completed, returning 0
[Apr 23 16:45:04] -- Channel Local/473782168600051@default-00000195;2 left 'simple_bridge' basic-bridge <03a6136a-3bdf-465b-aa36-0f9375b31732>
[Apr 23 16:45:04] -- Channel IAX2/127.0.0.1:42569-12388 left 'simple_bridge' basic-bridge <03a6136a-3bdf-465b-aa36-0f9375b31732>
[Apr 23 16:45:04] -- Hungup 'IAX2/127.0.0.1:42569-12388'
[Apr 23 16:45:04] == Spawn extension (default, 473782168600051, 1) exited non-zero on 'Local/473782168600051@default-00000195;2'
[Apr 23 16:45:04] WARNING[17963][C-00002605]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[Apr 23 16:45:04] -- Executing [h@default:1] AGI("Local/473782168600051@default-00000195;2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----0-----0-----)") in new stack
[Apr 23 16:45:04] == Spawn extension (default, 473782178600051, 1) exited non-zero on 'IAX2/ASTplay-5726'
[Apr 23 16:45:04] -- Executing [h@default:1] AGI("IAX2/ASTplay-5726", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16--------------------IAX2 HANGUP (16))") in new stack
[Apr 23 16:45:04] -- <Local/473782168600051@default-00000195;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ----0-----) completed, returning 0
[Apr 23 16:45:04] -- <IAX2/ASTplay-5726>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ------IAX2 HANGUP (16)) completed, returning 0
[Apr 23 16:45:04] -- Hungup 'IAX2/ASTplay-5726'


------- i change the file name to LSD.gsm now it works

Thank you,
VERSION: 2.14-705a BUILD: 190327-2311 | Asterisk 13.21.1-vici | Clustered Server No Digium/Sangoma Hardware | No Extra Software After Installation
joebiden
 
Posts: 23
Joined: Wed Apr 17, 2019 3:43 pm

Re: Vicidial Audio file size and time limit

Postby williamconley » Tue Apr 23, 2019 6:11 pm

this is a basic tenet of asterisk sound requests. asterisk will choose the "least expensive" format of a file to play upon request. eg: if you have a file in g729, gsm, and ulaw and request that the file be played in a meetme room, it will choose "ulaw" because that's the closest match to the audio stream in the meetme room.

But how does it know which file is which format? The file extension.

When uploading, the extension is necessary. When requesting a file, however, you leave the extension off so asterisk can choose for you (not optional, BTW, required to leave the extension off for the system to recognize the file).
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20019
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to Support

Who is online

Users browsing this forum: No registered users and 54 guests