I have setup a group extension to do pages as intercom and it was working great
I then went through and set up call file to plays music at certain times during the day, not sure if relevant but pretty much the only advanced setting i have going on right now. System is only used as an intercom/paging system, not utilizing the phone aspect yet. Below is link for info on what i did:
I think something buggy happened one day, when during the .call file playback was made, it started to play some weird tones and music at the beginning rather than what I wanted and now every time I try and dial that extension it gives me the busy signal tone as if it never hung up.
The extension is a paging intercom extension setup to call out to 8 SIP speakers. I can call all speakers directly without any busy signal, so the speakers themselves are not hung up in some weird state.
I also changed the group extension to 9003 and now I am back to working. I added a second extension for the music playback at 9002 to separate them.
I tried calling ext 1000 and it says this caller cannot be reached because it no longer exists. So i make another group to test ext 1000 and recreated it, and it is still busy.
When i try to use the ffmpeg command there are a lot of options to digest and most tutorials i am seeing is for conversions and video/audio streaming to https://
I did see the UDP multicast function, however i cannot get the speaker to actually play the music. just curious if I am missing a critical option. I am assuming if I do not put any option I should get something out of the speaker. Also i have to add the quotes but all the example do not use the quotes. If i do not use the quotes it gives me errors. If I use quotes, the speaker at least beeps as if it is receiving a call.
This ffmpeg is some very in depth processing application.
Sorry for all my questions this is not at all my profession if you cannot tell.
So it looks like the speaker speaks in g711u, g711a, and g722 codec. I had to do a lot of things to get there.
convert my stereo mp3 to mono mp3, ffmpeg -i x.mp3 -ar 1 x_out.mp3
convert the mono mp3 to a g722 file, ffmpeg -i out.mp3 -ar 16000 -acodec g722 audio.g722
output the file to speaker, _ ffmpeg -re -i “audio.g722” -acodec adpcm_g722 -f rtp “udp://22.214.171.124”_
Every time the speaker is called as a page, it makes a clearing throat soul crushing successfully failing noise.
When i do step 3 above to play music it just beeps like it is picking up and play a tone hangs up and beeps plays a tone and hangs up and repeats. the beep, tone, hangup, beep cycle takes like a second and seems pretty cyclical and in step.
It doesnt seem like it is playing a constant multicast cast but is doing multicasting pulse that the speaker is reacting to at every pulse rather than a continuous signal being transfered
i couldn’t figure out the use of filter_complex call as it seems to be a merger of 2 things so i did not understand how to filter complex a single object
i appreciate the help. I didn’t reject the -filter_complex, I just couldn’t get it to playback with it in there. Could have been where i put it in the string in proper location or i couldn’t figure out the input to it correctly
I didn’t think to test on phone instead of speaker to see if it was a speaker issue.
Could it be an issue with the fact it appears to be doing a conversion while doing a playback?
I tried to convert the mp3 as a system recording through the web application for freepbx to a .wav and .ulaw. but it was saying format not playable when i tried to play a .ulaw file.
Is .ulaw same as g711? and should i be able to simply play using the following and be received?
I just wanted to say thanks again. I relooked at that filter complex and found an example that uses the same script pretty much as you used but uses the filter complex function instead of forcing it some other way. Not sure why the filter complex works and yours didnt. seems to force the same thing. i guess that is the magic of filter complex you spoke of.