Cannot playback system recordings

Hello
iM using incredible pbx and im having problem playback the system recordings . i uploaded .wav files microsoft pcm 8000Hz , I also recorded from a softphone without a result

I am using these recordings to make announcements , and these announcements i am using them for my inbound call.I can not hear anything. Can you help me

Please post some logs of he system trying to play the files.

hello alan thank you for your response Where can i find these logs? From GUI ?

thanks to " http://www.freepbx.org/support/documentation/howtos/howto-new-freepbx-users-guide-to-diagnosing-problems " i found a way to cupture a call log !!!

and this is the log .

Connected to Asterisk 11.11.0 currently running on incrediblepbx (pid = 3179)
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Executing [302118005942@from-trunk:1] NoOp(“SIP/Viva-00000017”, “Catch-All DID Match - Found 302118005942 - You probably want a DID for this.”) in new stack
– Executing [302118005942@from-trunk:2] Set(“SIP/Viva-00000017”, “__FROM_DID=302118005942”) in new stack
– Executing [302118005942@from-trunk:3] Goto(“SIP/Viva-00000017”, “ext-did,s,1”) in new stack
– Goto (ext-did,s,1)
– Executing [s@ext-did:1] ExecIf(“SIP/Viva-00000017”, “0?Set(__FROM_DID=s)”) in new stack
– Executing [s@ext-did:2] Gosub(“SIP/Viva-00000017”, “app-blacklist-check,s,1()”) in new stack
– Executing [s@app-blacklist-check:1] GotoIf(“SIP/Viva-00000017”, “0?blacklisted”) in new stack
– Executing [s@app-blacklist-check:2] Set(“SIP/Viva-00000017”, “CALLED_BLACKLIST=1”) in new stack
– Executing [s@app-blacklist-check:3] Return(“SIP/Viva-00000017”, “”) in new stack
– Executing [s@ext-did:3] Set(“SIP/Viva-00000017”, “CDR(did)=302118005942”) in new stack
– Executing [s@ext-did:4] ExecIf(“SIP/Viva-00000017”, “0 ?Set(CALLERID(name)=2130036577)”) in new stack
– Executing [s@ext-did:5] Set(“SIP/Viva-00000017”, “CHANNEL(musicclass)=default”) in new stack
– Executing [s@ext-did:6] Set(“SIP/Viva-00000017”, “__MOHCLASS=default”) in new stack
– Executing [s@ext-did:7] Set(“SIP/Viva-00000017”, “__CALLINGPRES_SV=allowed_not_screened”) in new stack
– Executing [s@ext-did:8] Set(“SIP/Viva-00000017”, “CALLERPRES()=allowed_not_screened”) in new stack
– Executing [s@ext-did:9] Goto(“SIP/Viva-00000017”, “app-announcement-19,s,1”) in new stack
– Goto (app-announcement-19,s,1)
– Executing [s@app-announcement-19:1] GotoIf(“SIP/Viva-00000017”, “0?begin”) in new stack
– Executing [s@app-announcement-19:2] Answer(“SIP/Viva-00000017”, “”) in new stack
> 0xb3ce3208 – Probation passed - setting RTP source address to 83.235.24.87:12692
– Executing [s@app-announcement-19:3] Wait(“SIP/Viva-00000017”, “1”) in new stack
– Executing [s@app-announcement-19:4] NoOp(“SIP/Viva-00000017”, “Playing announcement test2kostas”) in new stack
– Executing [s@app-announcement-19:5] Playback(“SIP/Viva-00000017”, “custom/testkostas,noanswer”) in new stack
– Executing [s@app-announcement-19:6] Goto(“SIP/Viva-00000017”, “from-did-direct,701,1”) in new stack
– Goto (from-did-direct,701,1)
– Executing [701@from-did-direct:1] GotoIf(“SIP/Viva-00000017”, “0?ext-local,701,1”) in new stack
– Executing [701@from-did-direct:2] Macro(“SIP/Viva-00000017”, “user-callerid,”) in new stack
– Executing [s@macro-user-callerid:1] Set(“SIP/Viva-00000017”, “TOUCH_MONITOR=1415937368.23”) in new stack
– Executing [s@macro-user-callerid:2] Set(“SIP/Viva-00000017”, “AMPUSER=2130036577”) in new stack
– Executing [s@macro-user-callerid:3] GotoIf(“SIP/Viva-00000017”, “0?report”) in new stack
– Executing [s@macro-user-callerid:4] ExecIf(“SIP/Viva-00000017”, “1?Set(REALCALLERIDNUM=2130036577)”) in new stack
– Executing [s@macro-user-callerid:5] Set(“SIP/Viva-00000017”, “AMPUSER=”) in new stack
– Executing [s@macro-user-callerid:6] GotoIf(“SIP/Viva-00000017”, “0?limit”) in new stack
– Executing [s@macro-user-callerid:7] Set(“SIP/Viva-00000017”, “AMPUSERCIDNAME=”) in new stack
– Executing [s@macro-user-callerid:8] GotoIf(“SIP/Viva-00000017”, “1?report”) in new stack
– Goto (macro-user-callerid,s,14)
– Executing [s@macro-user-callerid:14] GotoIf(“SIP/Viva-00000017”, “0?continue”) in new stack
– Executing [s@macro-user-callerid:15] Set(“SIP/Viva-00000017”, “__TTL=64”) in new stack
– Executing [s@macro-user-callerid:16] GotoIf(“SIP/Viva-00000017”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,27)
– Executing [s@macro-user-callerid:27] Set(“SIP/Viva-00000017”, “CALLERID(number)=2130036577”) in new stack
– Executing [s@macro-user-callerid:28] Set(“SIP/Viva-00000017”, “CALLERID(name)=302130036577”) in new stack
– Executing [s@macro-user-callerid:29] Set(“SIP/Viva-00000017”, “CDR(cnum)=2130036577”) in new stack
– Executing [s@macro-user-callerid:30] Set(“SIP/Viva-00000017”, “CDR(cnam)=302130036577”) in new stack
– Executing [s@macro-user-callerid:31] Set(“SIP/Viva-00000017”, “CHANNEL(language)=en”) in new stack
– Executing [701@from-did-direct:3] Set(“SIP/Viva-00000017”, “DIAL_OPTIONS=trI”) in new stack
– Executing [701@from-did-direct:4] Set(“SIP/Viva-00000017”, “CONNECTEDLINE(num)=701”) in new stack
– Executing [701@from-did-direct:5] Gosub(“SIP/Viva-00000017”, “sub-presencestate-display,s,1(701)”) in new stack
– Executing [s@sub-presencestate-display:1] Goto(“SIP/Viva-00000017”, “state-,1”) in new stack
– Goto (sub-presencestate-display,state-,1)
– Executing [state-@sub-presencestate-display:1] Set(“SIP/Viva-00000017”, “PRESENCESTATE_DISPLAY=”) in new stack
– Executing [state-@sub-presencestate-display:2] Return(“SIP/Viva-00000017”, “”) in new stack
– Executing [701@from-did-direct:6] Set(“SIP/Viva-00000017”, “CONNECTEDLINE(name,i)=701”) in new stack
– Executing [701@from-did-direct:7] Set(“SIP/Viva-00000017”, “FM_DIALSTATUS=NOT_INUSE”) in new stack
– Executing [701@from-did-direct:8] Set(“SIP/Viva-00000017”, “__EXTTOCALL=701”) in new stack
– Executing [701@from-did-direct:9] Set(“SIP/Viva-00000017”, “__PICKUPMARK=701”) in new stack
– Executing [701@from-did-direct:10] Macro(“SIP/Viva-00000017”, “blkvm-setifempty,”) in new stack
– Executing [s@macro-blkvm-setifempty:1] GotoIf(“SIP/Viva-00000017”, “1?init”) in new stack
– Goto (macro-blkvm-setifempty,s,4)
– Executing [s@macro-blkvm-setifempty:4] Set(“SIP/Viva-00000017”, “__BLKVM_CHANNEL=SIP/Viva-00000017”) in new stack
– Executing [s@macro-blkvm-setifempty:5] Set(“SIP/Viva-00000017”, “SHARED(BLKVM,SIP/Viva-00000017)=TRUE”) in new stack
– Executing [s@macro-blkvm-setifempty:6] Set(“SIP/Viva-00000017”, “GOSUB_RETVAL=TRUE”) in new stack
– Executing [s@macro-blkvm-setifempty:7] MacroExit(“SIP/Viva-00000017”, “”) in new stack
– Executing [701@from-did-direct:11] GotoIf(“SIP/Viva-00000017”, “1?skipov”) in new stack
– Goto (from-did-direct,701,14)
– Executing [701@from-did-direct:14] Set(“SIP/Viva-00000017”, “RRNODEST=”) in new stack
– Executing [701@from-did-direct:15] Set(“SIP/Viva-00000017”, “__NODEST=701”) in new stack
– Executing [701@from-did-direct:16] GosubIf(“SIP/Viva-00000017”, “0?sub-fmsetcid,s,1()”) in new stack
– Executing [701@from-did-direct:17] Set(“SIP/Viva-00000017”, “RecordMethod=Group”) in new stack
– Executing [701@from-did-direct:18] Gosub(“SIP/Viva-00000017”, “sub-record-check,s,1(exten,701,)”) in new stack
– Executing [s@sub-record-check:1] Set(“SIP/Viva-00000017”, “REC_POLICY_MODE_SAVE=”) in new stack
– Executing [s@sub-record-check:2] GotoIf(“SIP/Viva-00000017”, “1?check”) in new stack
– Goto (sub-record-check,s,7)
– Executing [s@sub-record-check:7] Set(“SIP/Viva-00000017”, “__MON_FMT=wav”) in new stack
– Executing [s@sub-record-check:8] GotoIf(“SIP/Viva-00000017”, “1?next”) in new stack
– Goto (sub-record-check,s,11)
– Executing [s@sub-record-check:11] ExecIf(“SIP/Viva-00000017”, “0?Return()”) in new stack
– Executing [s@sub-record-check:12] ExecIf(“SIP/Viva-00000017”, “0?Set(__REC_POLICY_MODE=)”) in new stack
– Executing [s@sub-record-check:13] GotoIf(“SIP/Viva-00000017”, “0?exten,1”) in new stack
– Executing [s@sub-record-check:14] Set(“SIP/Viva-00000017”, “__REC_STATUS=INITIALIZED”) in new stack
– Executing [s@sub-record-check:15] Set(“SIP/Viva-00000017”, “NOW=1415937369”) in new stack
– Executing [s@sub-record-check:16] Set(“SIP/Viva-00000017”, “__DAY=14”) in new stack
– Executing [s@sub-record-check:17] Set(“SIP/Viva-00000017”, “__MONTH=11”) in new stack
– Executing [s@sub-record-check:18] Set(“SIP/Viva-00000017”, “__YEAR=2014”) in new stack
– Executing [s@sub-record-check:19] Set(“SIP/Viva-00000017”, “__TIMESTR=20141114-055609”) in new stack
– Executing [s@sub-record-check:20] Set(“SIP/Viva-00000017”, “__FROMEXTEN=2130036577”) in new stack
– Executing [s@sub-record-check:21] Set(“SIP/Viva-00000017”, “__CALLFILENAME=exten-701-2130036577-20141114-055609-1415937368.23”) in new stack
– Executing [s@sub-record-check:22] Goto(“SIP/Viva-00000017”, “exten,1”) in new stack
– Goto (sub-record-check,exten,1)
– Executing [exten@sub-record-check:1] GotoIf(“SIP/Viva-00000017”, “0?callee”) in new stack
– Executing [exten@sub-record-check:2] Set(“SIP/Viva-00000017”, “__REC_POLICY_MODE=dontcare”) in new stack
– Executing [exten@sub-record-check:3] GotoIf(“SIP/Viva-00000017”, “1?caller”) in new stack
– Goto (sub-record-check,exten,10)
– Executing [exten@sub-record-check:10] Set(“SIP/Viva-00000017”, “__REC_POLICY_MODE=”) in new stack
– Executing [exten@sub-record-check:11] GosubIf(“SIP/Viva-00000017”, “0?record,1(exten,701,2130036577)”) in new stack
– Executing [exten@sub-record-check:12] Return(“SIP/Viva-00000017”, “”) in new stack
– Executing [701@from-did-direct:19] Set(“SIP/Viva-00000017”, “RingGroupMethod=ringallv2”) in new stack
– Executing [701@from-did-direct:20] Set(“SIP/Viva-00000017”, “_FMGRP=701”) in new stack
– Executing [701@from-did-direct:21] GotoIf(“SIP/Viva-00000017”, “0?doconfirm”) in new stack
– Executing [701@from-did-direct:22] Macro(“SIP/Viva-00000017”, “dial,20,trI,701”) in new stack
– Executing [s@macro-dial:1] GotoIf(“SIP/Viva-00000017”, “0?dial”) in new stack
– Executing [s@macro-dial:2] SetMusicOnHold(“SIP/Viva-00000017”, “default”) in new stack
– Executing [s@macro-dial:3] AGI(“SIP/Viva-00000017”, “dialparties.agi”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
dialparties.agi: Starting New Dialparties.agi
dialparties.agi: Caller ID name is ‘302130036577’ number is ‘2130036577’
> dialparties.agi: USE_CONFIRMATION: ‘FALSE’
> dialparties.agi: RINGGROUP_INDEX: ''
dialparties.agi: Methodology of ring is ‘ringallv2’
– dialparties.agi: Added extension 701 to extension map
> dialparties.agi: got fmgrp_prering: 2, fmgrp_grptime: 20
> dialparties.agi: fmgrp_totalprering: 22
> dialparties.agi: found extension in pre-ring and array
> dialparties.agi: ringallv2 ring times: REALPRERING: 22, PRERING: 2
> dialparties.agi: Extension 701 has call screening off
– dialparties.agi: Extension 701 cf is disabled
– dialparties.agi: Extension 701 do not disturb is disabled
> dialparties.agi: extnum 701 has: cw: 1; hascfb: 0 [] hascfu: 0 []
– dialparties.agi: dbset CALLTRACE/701 to 2130036577
– dialparties.agi: Filtered ARG3: 701
> dialparties.agi: NODEST: 701 adding M(auto-blkvm) to dialopts: trIM(auto-blkvm)
> dialparties.agi: NODEST: 701 blkvm enabled macro already in dialopts: trIM(auto-blkvm)
– <SIP/Viva-00000017>AGI Script dialparties.agi completed, returning 0
– Executing [s@macro-dial:7] Dial(“SIP/Viva-00000017”, “SIP/701,22,trIM(auto-blkvm)”) in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Called SIP/701
– Connected line update to SIP/Viva-00000017 prevented.
– SIP/701-00000018 is ringing
== Spawn extension (macro-dial, s, 7) exited non-zero on ‘SIP/Viva-00000017’ in macro ‘dial’
== Spawn extension (from-did-direct, 701, 22) exited non-zero on ‘SIP/Viva-00000017’
– Executing [h@from-did-direct:1] Macro(“SIP/Viva-00000017”, “hangupcall,”) in new stack
– Executing [s@macro-hangupcall:1] GotoIf(“SIP/Viva-00000017”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,3)
– Executing [s@macro-hangupcall:3] ExecIf(“SIP/Viva-00000017”, “0?Set(CDR(recordingfile)=)”) in new stack
– Executing [s@macro-hangupcall:4] Hangup(“SIP/Viva-00000017”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on ‘SIP/Viva-00000017’ in macro ‘hangupcall’
== Spawn extension (from-did-direct, h, 1) exited non-zero on ‘SIP/Viva-00000017’

is this the right log you want to see ?

what i am doing wrong ?

It looks like the file is being played.

Go to System Recordings and make a recording from an extension. Try using that recording. If it works the recording you are uploading are not the correct format.

Thee are many ways to look at the encoding of the sound file. The “file” command is one way.

file /var/www/html/admin/modules/dictate/sounds/dictation-sent.wav

Gives the following output.

/var/www/html/admin/modules/dictate/sounds/dictation-sent.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, mono 8000 Hz

THANK YOU ALAN FOR YOUR RESPONSE !!! The report i have sent , has an announcement made from an extension (testkostas) .

Indeet , when i call my number i cannot hear nothing !!!

You problem is probably solved here:-

https://wiki.asterisk.org/wiki/display/AST/Answer,+Playback,+and+Hangup+Applications

Note your second parameter is “noanswer”

thank you dicko . Very usefull comment .Can you help me further telling me where i can do these "manual " changes , replacing parameter “noanswer” ? .

unfortunatle incredible pi doesnot have this command , native in the system:

" root@incrediblepbx:~/custom# file /CUSTOM/testkostas.wav
-bash: file: command not found
"

but i have uploaded many files with deferent file formats , and defenitly tryed :

WAVE audio, Microsoft PCM, 16 bit, mono 8000 Hz.

Its’ not the incredible PI, it’s just that linux is case sensitive and your initial “/” binds to the root file system, you do not have a /CUSTOM , try

find / -name “testkostas*”

to see where it really is.

Possible, look at the “hover over help” in your inbound route “Signal Ringing” field.

The problem is not the path

root@incrediblepbx:~# find / -name “testkostas*”
/var/lib/asterisk/sounds/custom/testkostas.wav
root@incrediblepbx:~# find /var/lib/asterisk/sounds/custom/testkostas.wav
/var/lib/asterisk/sounds/custom/testkostas.wav
root@incrediblepbx:~# file /var/lib/asterisk/sounds/custom/testkostas.wav

-bash: file: command not found

If

which file

returns nothing, then you should take that problem to incrediblepbx forums, either your path is screwed up or some important utilities are missing.