I have installed Asterisk16 with pjsip trunk (OpenWRT 19.0.7)
i am trying to make background sounds but i cant find any sounds anywhere in asterisks folders
where can i get these sounds and how to make them play ?
i found a folder /usr/share/asterisk/sounds and put some gsm examples but stuill no audio
[Dec 24 03:50:21] WARNING[5168][C-00000004]: file.c:789 ast_openstream_full: File usr/share/asterisk/sounds/tt-monkeys does not exist in any format
[Dec 24 03:50:21] WARNING[5168][C-00000004]: file.c:1262 ast_streamfile: Unable to open usr/share/asterisk/sounds/tt-monkeys (format (gsm)): Invalid argument
[Dec 24 03:50:21] WARNING[5168][C-00000004]: app_playback.c:497 playback_exec: Playback failed on PJSIP/888-00000004 for usr/share/asterisk/sounds/tt-monkeys
-- Executing [777@pipa:3] Hangup("PJSIP/888-00000004", "") in new stack
type or paste code here
Well now it says, what is wrong maybe format of audio file ? but gsm is the best format for audio files in Asterisk as i know
i added the slash also i set rights for the file like 0775 and still the same (i restart asterisk every change in config )
-- Executing [888@pipa:2] Playback("PJSIP/777-00000001", "/usr/share/asterisk/sounds/tt-monkeysintro") in new stack
[Dec 24 07:22:56] WARNING[2453][C-00000002]: file.c:789 ast_openstream_full: File /usr/share/asterisk/sounds/tt-monkeysintro does not exist in any format
[Dec 24 07:22:56] WARNING[2453][C-00000002]: file.c:1262 ast_streamfile: Unable to open /usr/share/asterisk/sounds/tt-monkeysintro (format (gsm)): Invalid argument
[Dec 24 07:22:56] WARNING[2453][C-00000002]: app_playback.c:497 playback_exec: Playback failed on PJSIP/777-00000001 for /usr/share/asterisk/sounds/tt-monkeysintro
-- Executing [888@pipa:3] Hangup("PJSIP/777-00000001", "") in new stack
i donwloaded these files from somwere maybe for asterisk on openwrt format of the audio files are diffrent
could you attach 1 audio in gsm from your server? so i will try.
i also install asterisk16 sounds in gsm so it doesn work with them the same
the files all went to the directory /usr/share/asterisk/sounds/
asterisk.conf:
What if the extension doesn't answer in the end? Then the caller still has an answered call and needs to pay for it? Needs to pay for listening to the announcement?