*NOW 1.5 IVR Problem

Hi,

I had a running IVR with asterisk 1.4.19.

now with asterisk 1.22 or *NOW 1.5 no more.

I simply have no sound.

-- Starting simple switch on 'DAHDI/4-1'
    -- Executing [s@from-pstn:1] Set("DAHDI/4-1", "__FROM_DID=s") in new stack
    -- Executing [s@from-pstn:2] ExecIf("DAHDI/4-1", "0 |Set|CALLERID(name)=71828938") in new stack
    -- Executing [s@from-pstn:3] Set("DAHDI/4-1", "__CALLINGPRES_SV=allowed_not_screened") in new stack
    -- Executing [s@from-pstn:4] SetCallerPres("DAHDI/4-1", "allowed_not_screened") in new stack
    -- Executing [s@from-pstn:5] Goto("DAHDI/4-1", "ivr-2|s|1") in new stack
    -- Goto (ivr-2,s,1)
    -- Executing [s@ivr-2:1] Set("DAHDI/4-1", "MSG=custom/aidkbirmp3") in new stack
    -- Executing [s@ivr-2:2] Set("DAHDI/4-1", "e[    1;35;40mLOOPCOUNT=0") in new stack
    -- Executing [s@ivr-2:3] Set("DAHDI/4-1", "__DIR-CONTEXT=default") in new stack
    -- Executing [s@ivr-2:4] Set("DAHDI/4-1", "_IVR_CONTEXT_ivr-2=") in new stack
    -- Executing [s@ivr-2:5] Set("DAHDI/4-1", "_IVR_CONTEXT=ivr-2") in new stack
    -- Executing [s@ivr-2:6] e[1;36    ;40mGotoIf("DAHDI/4-1", "0?begin") in new stack
    -- Executing [s@ivr-2:7] Answer("DAHDI/4-1", "") in new stack
    -- Executing [s@ivr-2:8] Wait("DAHDI/4-1", "1") in new stack
    -- Executing [s@ivr-2:9] Set("DAHDI/4-1", "TIMEOUT(digit)=3") in new stack
    -- Digit timeout set to 3
    -- Executing [s@ivr-2:10] Set("DAHDI/4-1", "TIMEOUT(response)=10") in new stack
    -- Response timeout set to 10
    -- Executing [s@ivr-2:11] Set("DAHDI/4-1", "__IVR_RETVM=") in new stack
    -- Executing [s@ivr-2:12] ExecIf("DAHDI/4-1", "1|Background|custom/aidkbirmp3") in new stack
    -- Executing [s@ivr-2:13] WaitExten("DAHDI/4-1", "|") in new stack
    -- Timeout on DAHDI/4-1, going to 't'
    -- Executing [t@ivr-2:1] Goto("DAHDI/4-1", "loop|1") in new stack
    -- Goto (ivr-2,loop,1)
    -- Executing [loop@ivr-2:1] Set("DAHDI/4-1", "LOOPCOUNT=1") in new stack
    -- Executing [loop@ivr-2:2] GotoIf("DAHDI/4-1", "0?hang|1") in new stack
    -- Executing [loop@ivr-2:3] Goto("DAHDI/4-1", "ivr-2|s|begin") in new stack
    -- Goto (ivr-2,s,9)
    -- Executing [s@ivr-2:9] Set("DAHDI/4-1", "TIMEOUT(digit)=3") in new stack
    -- Digit timeout set to 3
    -- Executing [s@ivr-2:10] Set("DAHDI/4-1", "TIMEOUT(response)=10") in new stack
    -- Response timeout set to 10
    -- Executing [s@ivr-2:11] Set("DAHDI/4-1", "__IVR_RETVM=") in new stack
    -- Executing [s@ivr-2:12] ExecIf("DAHDI/4-1", "1|Background|custom/aidkbirmp3") in new stack
    -- Executing [s@ivr-2:13] WaitExten("DAHDI/4-1", "|") in new stack
    -- Timeout on DAHDI/4-1, going to 't'
    -- Executing [t@ivr-2:1] Goto("DAHDI/4-1", "loop|1") in new stack
    -- Goto (ivr-2,loop,1)
    -- Executing [loop@ivr-2:1] Set("DAHDI/4-1", "LOOPCOUNT=2") in new stack
    -- Executing [loop@ivr-2:2] GotoIf("DAHDI/4-1", "1?hang|1") in new stack
    -- Goto (ivr-2,hang,1)
    -- Executing [hang@ivr-2:1] Playback("DAHDI/4-1", "vm-goodbye") in new stack
    -- <DAHDI/4-1> Playing 'vm-goodbye' (language 'en')
    -- Executing [hang@ivr-2:2] Hangup("DAHDI/4-1", "") in new stack
  == Spawn extension (ivr-2, hang, 2) exited non-zero on 'DAHDI/4-1'
    -- Executing [h@ivr-2:1] Hangup("DAHDI/4-1", "") in new stack
  == Spawn extension (ivr-2, h, 1) exited non-zero on 'DAHDI/4-1'
    -- Hungup 'DAHDI/4-1'

but I can hear the good bye … strange !!

the aidkebirmp3 is a custom mp3 recording.

can someone help please ? I have this issue on two boxes:

  • F8- asterisk 1.22 - freepbx 2.5, and
  • *NOW 1.5 beta

regards,

you may noticed that I use Dahdi.

still no idea ?

Same with wav format

It’s like asterisk is mute !!

it’s seems that’s a permission and ownership issue:

[root@xxxxxx ~]# cd /var/lib/asterisk/sounds/custom/
[root@xxxxxx custom]# ll
total 2024
-rw-r----- 1 apache apache  287581 Dec  9 00:10 aidkbirmp3.mp3
-rw-r----- 1 apache apache  185710 Dec  8 21:15 aidkbirogg.ogg
-rw-r----- 1 apache apache 1580076 Dec  9 10:42 aidkbirwav.wav

instead of asterisk.asterisk

I’am tempted to say that’s freepbx issue.

no it’s not a permission issue

now look at this, from /var/log/asterisk/full

[Dec  9 10:56:25] WARNING[13749] file.c: File custom/aidkbir does not exist in any format
[Dec  9 10:56:25] WARNING[13749] file.c: Unable to open custom/aidkbir (format 0x44 (ulaw|slin)): No such file or directory
[Dec  9 10:56:25] WARNING[13749] pbx.c: ast_streamfile failed on DAHDI/4-1 for custom/aidkbir

but the file aidkbir.mp3 exists

it seems that I need to get my file on ulaw or sln

BUT HOW THE HELL THAT WAS WORKING :frowning:

how can I add mp3 support to asterisk ?

please help

hi, I figured it out
after updating asterisk from atrpms build 1.4.19 to fedora’s (8) rpm 1.4.22. asterisk become looking for custom sounds under /usr/share/asterisk/sounds and of course doesn’t find’em.

[root@asterisk sounds]# cd /usr/share/asterisk/sounds
[root@asterisk sounds]# ln -s /var/lib/asterisk/sounds/custom

did it for my manually built system and NOT for *NOW.