I have been trying to set up announcements using system recordings.
I recorded a message from the system recordings page and it saved fine to custom/test.wav
I set up a custom destination of 6666 that plays an announcement using the test.wav file. However it will not play. The CLI shows the following:
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [6666@from-internal:1] NoOp("SIP/205-000000f9", "Running miscapp 1: test") in new stack
-- Executing [6666@from-internal:2] Macro("SIP/205-000000f9", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/205-000000f9", "AMPUSER=205") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/205-000000f9", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/205-000000f9", "1?Set(REALCALLERIDNUM=205)") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/205-000000f9", "AMPUSER=205") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/205-000000f9", "AMPUSERCIDNAME=205") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/205-000000f9", "0?report") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/205-000000f9", "AMPUSERCID=205") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/205-000000f9", "CALLERID(all)="205" <205>") in new stack
-- Executing [s@macro-user-callerid:9] GotoIf("SIP/205-000000f9", "0?limit") in new stack
-- Executing [s@macro-user-callerid:10] ExecIf("SIP/205-000000f9", "0?Set(GROUP(concurrency_limit)=205)") in new stack
-- Executing [s@macro-user-callerid:11] GotoIf("SIP/205-000000f9", "0?continue") in new stack
-- Executing [s@macro-user-callerid:12] Set("SIP/205-000000f9", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:13] GotoIf("SIP/205-000000f9", "1?continue") in new stack
-- Goto (macro-user-callerid,s,24)
-- Executing [s@macro-user-callerid:24] Set("SIP/205-000000f9", "CALLERID(number)=205") in new stack
-- Executing [s@macro-user-callerid:25] Set("SIP/205-000000f9", "CALLERID(name)=205") in new stack
-- Executing [6666@from-internal:3] Goto("SIP/205-000000f9", "app-announcement-1,s,1") in new stack
-- Goto (app-announcement-1,s,1)
-- Executing [s@app-announcement-1:1] GotoIf("SIP/205-000000f9", "0?begin") in new stack
-- Executing [s@app-announcement-1:2] Answer("SIP/205-000000f9", "") in new stack
-- Executing [s@app-announcement-1:3] Wait("SIP/205-000000f9", "1") in new stack
[2012-04-22 15:26:45] NOTICE[26784]: channel.c:3001 __ast_read: Dropping incompatible voice frame on SIP/205-000000f9 of format ulaw since our native format has changed to 0x8 (alaw)
-- Executing [s@app-announcement-1:4] NoOp("SIP/205-000000f9", "Playing announcement test") in new stack
-- Executing [s@app-announcement-1:5] Playback("SIP/205-000000f9", "custom/test2,noanswer") in new stack
[2012-04-22 15:26:46] WARNING[26784]: file.c:650 ast_openstream_full: File custom/test2 does not exist in any format
[2012-04-22 15:26:46] WARNING[26784]: file.c:953 ast_streamfile: Unable to open custom/test2 (format 0x8 (alaw)): No such file or directory
[2012-04-22 15:26:46] WARNING[26784]: app_playback.c:471 playback_exec: ast_streamfile failed on SIP/205-000000f9 for custom/test2,noanswer
-- Executing [s@app-announcement-1:6] Goto("SIP/205-000000f9", "app-blackhole,hangup,1") in new stack
-- Goto (app-blackhole,hangup,1)
-- Executing [hangup@app-blackhole:1] NoOp("SIP/205-000000f9", "Blackhole Dest: Hangup") in new stack
-- Executing [hangup@app-blackhole:2] Hangup("SIP/205-000000f9", "") in new stack
== Spawn extension (app-blackhole, hangup, 2) exited non-zero on 'SIP/205-000000f9'
I have googled this to death and cannot find any fix for it at all that works.
I may be missing something obvious and I’m hoping someone has seen this before!
Thanks,
Tom