Freepbx 15 no audio on IVR and announcement

configuration
Tags: #<Tag:0x00007f7026ddc488>

(Italia) #1

Hi to all

i’m Joe from Italy.

I have a running freepbx 15 on a new raspberry 4.

After finish to setting up the main trunk to a Messagenet account, i’m now able to make and receive call without problems! Audio is clear and no lag.

But, a very strange and big issue give me some frustration. I have no audio on announcement or IVR.

Let me explain. After setting up the trunk and done a test call, i created a simple announcement with my voice (for test) recorded trough the extension and saved first in wave (and then in other format for testing).

The actual Flow is: Trunk->inbound->announcement->extension

Calling the number i have no sound from announcement, but after the “right” time the extension rings.

this is a final part of the LOG file:

[2020-06-12 23:29:02] VERBOSE[26608][C-00000032] pbx.c: Executing [in@sub-record-check:1] NoOp(“SIP/0921766330-0000002a”, “Inbound Recording Check to s”) in new stack
[2020-06-12 23:29:02] VERBOSE[26608][C-00000032] pbx.c: Executing [in@sub-record-check:2] Set(“SIP/0921766330-0000002a”, “FROMEXTEN=unknown”) in new stack
[2020-06-12 23:29:02] VERBOSE[26608][C-00000032] pbx.c: Executing [in@sub-record-check:3] ExecIf(“SIP/0921766330-0000002a”, “13?Set(FROMEXTEN=+393491091272)”) in new stack
[2020-06-12 23:29:02] VERBOSE[26608][C-00000032] pbx.c: Executing [in@sub-record-check:4] Gosub(“SIP/0921766330-0000002a”, “recordcheck,1(dontcare,in,s)”) in new stack
[2020-06-12 23:29:02] VERBOSE[26608][C-00000032] pbx.c: Executing [recordcheck@sub-record-check:1] NoOp(“SIP/0921766330-0000002a”, “Starting recording check against dontcare”) in new stack
[2020-06-12 23:29:02] VERBOSE[26608][C-00000032] pbx.c: Executing [recordcheck@sub-record-check:2] Goto(“SIP/0921766330-0000002a”, “dontcare”) in new stack
[2020-06-12 23:29:02] VERBOSE[26608][C-00000032] pbx_builtins.c: Goto (sub-record-check,recordcheck,3)
[2020-06-12 23:29:02] VERBOSE[26608][C-00000032] pbx.c: Executing [recordcheck@sub-record-check:3] Return(“SIP/0921766330-0000002a”, “”) in new stack
[2020-06-12 23:29:02] VERBOSE[26608][C-00000032] pbx.c: Executing [in@sub-record-check:5] Return(“SIP/0921766330-0000002a”, “”) in new stack
[2020-06-12 23:29:02] VERBOSE[26609][C-00000034] pbx.c: Spawn extension (from-sip-external, s, 8) exited non-zero on ‘PJSIP/anonymous-00000008’
[2020-06-12 23:29:02] VERBOSE[26609][C-00000034] pbx.c: Executing [h@from-sip-external:1] Hangup(“PJSIP/anonymous-00000008”, “”) in new stack
[2020-06-12 23:29:02] VERBOSE[26609][C-00000034] pbx.c: Spawn extension (from-sip-external, h, 1) exited non-zero on ‘PJSIP/anonymous-00000008’
[2020-06-12 23:29:02] VERBOSE[26607][C-00000033] pbx.c: Spawn extension (from-sip-external, s, 8) exited non-zero on ‘PJSIP/anonymous-00000007’
[2020-06-12 23:29:02] VERBOSE[26607][C-00000033] pbx.c: Executing [h@from-sip-external:1] Hangup(“PJSIP/anonymous-00000007”, “”) in new stack
[2020-06-12 23:29:02] VERBOSE[26607][C-00000033] pbx.c: Spawn extension (from-sip-external, h, 1) exited non-zero on ‘PJSIP/anonymous-00000007’
[2020-06-12 23:29:02] VERBOSE[26606][C-00000031] pbx.c: Executing [s@app-announcement-1:3] Wait(“SIP/0921766330-00000029”, “1”) in new stack
[2020-06-12 23:29:03] VERBOSE[26606][C-00000031] pbx.c: Executing [s@app-announcement-1:4] NoOp(“SIP/0921766330-00000029”, “Playing announcement benvenuto”) in new stack
[2020-06-12 23:29:03] VERBOSE[26606][C-00000031] pbx.c: Executing [s@app-announcement-1:5] Playback(“SIP/0921766330-00000029”, “custom/benvenuti-a-skyview,noanswer”) in new stack
[2020-06-12 23:29:03] VERBOSE[26606][C-00000031] file.c: <SIP/0921766330-00000029> Playing ‘custom/benvenuti-a-skyview.alaw’ (language ‘it’)
[2020-06-12 23:29:06] VERBOSE[26606][C-00000031] pbx.c: Executing [s@app-announcement-1:6] Goto(“SIP/0921766330-00000029”, “ivr-2,s,1”) in new stack
[2020-06-12 23:29:06] VERBOSE[26606][C-00000031] pbx_builtins.c: Goto (ivr-2,s,1)
[2020-06-12 23:29:06] VERBOSE[26606][C-00000031] pbx.c: Executing [s@ivr-2:1] Set(“SIP/0921766330-00000029”, “TIMEOUT_LOOPCOUNT=0”) in new stack
[2020-06-12 23:29:06] VERBOSE[26606][C-00000031] pbx.c: Executing [s@ivr-2:2] Set(“SIP/0921766330-00000029”, “INVALID_LOOPCOUNT=0”) in new stack
[2020-06-12 23:29:06] VERBOSE[26606][C-00000031] pbx.c: Executing [s@ivr-2:3] Set(“SIP/0921766330-00000029”, “_IVR_CONTEXT_ivr-2=”) in new stack
[2020-06-12 23:29:06] VERBOSE[26606][C-00000031] pbx.c: Executing [s@ivr-2:4] Set(“SIP/0921766330-00000029”, “_IVR_CONTEXT=ivr-2”) in new stack
[2020-06-12 23:29:06] VERBOSE[26606][C-00000031] pbx.c: Executing [s@ivr-2:5] Set(“SIP/0921766330-00000029”, “__IVR_RETVM=”) in new stack
[2020-06-12 23:29:06] VERBOSE[26606][C-00000031] pbx.c: Executing [s@ivr-2:6] GotoIf(“SIP/0921766330-00000029”, “1?skip”) in new stack

Yeah, maybe in this log i have and IVR too for test, but no auto from it too.

Thanks for help.
Joe


(Dave Burgess) #2

One way audio is almost always a NAT problem. This looks to be one of those.

Have you forwarded all of the ports from your gateway router to your PBX? All of them - not just 5060 - need to be set up correctly for this to work.