Sound work in both directions, but no announcement or ivr audio

Hi

I have freepbx 15 on raspberry pi 4.

All seems to work fine, I’m on messagenet sip trunk configured like they says on official website.

I can receive and make call, I have audio, extension work, i can record and play systems recordings.

But… Randomly, for no reason, if I try to call the pbx number, there are two situations

Sometimes nothing appens, the call stay on old, I don’t know how to explain. Like the call don’t arrive to trunk. Because nothing appens to log file, no new lines, no record, no nothing. I can’t find the source of the problem and any solution. After a while, playing whit phone or reloading the configuration, it start to work again.

The other problem is in most of the case related, or appens in the same times. When i call from external, the pbx respond, the log file start to “log”, and some announcement start to play, but… No sound! The strange thing is the log file say nothing wrong, and (I know the times and the ivr choose) if I press the right buttons, the extension ring normally and I can talk!

I already play a bit with codes, but as a newbie, maybe somting are missing.

Thanks to all that can help me to solve this problem.

Joe

One way audio is almost always a NAT problem. Make sure your NAT is set up correctly and that you have the audio set up to play correctly. https://wiki.freepbx.org/display/FPG/NAT+Configuration+FreePBX+12 would probably be a good place to start.

Thanks for reply.

This situation is very strange. Because all work great, audio are fine in both directions, i can call and receive without any problems. But, i can’t play announcement or other kind of media. the codec settings are the same in both situations, when it work and when it doesn’t! i cant understand!

if i have a NAT issue, the audio will have problem, right? But this situation is absolutely random! for example, right now, after 10 days of working, it stop! And i have to switch my flow control command for ring directly my office phone, without announcement or IVR.

i try to post a log in this moment, trying to make a call with announcement and IVR activated!

Citazione
2 [2020-08-20 16:18:43] VERBOSE[1229][C-000000a1] netsock2.c: Using SIP RTP TOS bits 184
3 [2020-08-20 16:18:43] VERBOSE[1229][C-000000a1] netsock2.c: Using SIP RTP CoS mark 5
4 [2020-08-20 16:18:43] VERBOSE[18246][C-000000a1] pbx.c: Executing [[email protected]:1] NoOp(“SIP/0921766330-000000c7”, “Catch-All DID Match - Found 5406186568 - You probably want a DID for this.”) in new stack
5 [2020-08-20 16:18:43] VERBOSE[18246][C-000000a1] pbx.c: Executing [[email protected]:2] Set(“SIP/0921766330-000000c7”, “__FROM_DID=5406186568”) in new stack
6 [2020-08-20 16:18:43] VERBOSE[18246][C-000000a1] pbx.c: Executing [[email protected]:3] Goto(“SIP/0921766330-000000c7”, “ext-did,s,1”) in new stack
7 [2020-08-20 16:18:43] VERBOSE[18246][C-000000a1] pbx_builtins.c: Goto (ext-did,s,1)
8 [2020-08-20 16:18:43] VERBOSE[18246][C-000000a1] pbx.c: Executing [[email protected]:1] Set(“SIP/0921766330-000000c7”, “__DIRECTION=INBOUND”) in new stack
9 [2020-08-20 16:18:43] VERBOSE[18246][C-000000a1] pbx.c: Executing [[email protected]:2] Gosub(“SIP/0921766330-000000c7”, “sub-record-check,s,1(in,s,dontcare)”) in new stack
10 [2020-08-20 16:18:43] VERBOSE[18246][C-000000a1] pbx.c: Executing [[email protected]:1] GotoIf(“SIP/0921766330-000000c7”, “0?initialized”) in new stack
11 [2020-08-20 16:18:43] VERBOSE[18246][C-000000a1] pbx.c: Executing [[email protected]:2] Set(“SIP/0921766330-000000c7”, “__REC_STATUS=INITIALIZED”) in new stack
12 [2020-08-20 16:18:43] VERBOSE[18246][C-000000a1] pbx.c: Executing [[email protected]:3] Set(“SIP/0921766330-000000c7”, “NOW=1597933123”) in new stack
13 [2020-08-20 16:18:43] VERBOSE[18246][C-000000a1] pbx.c: Executing [[email protected]:4] Set(“SIP/0921766330-000000c7”, “__DAY=20”) in new stack
14 [2020-08-20 16:18:43] VERBOSE[18246][C-000000a1] pbx.c: Executing [[email protected]:5] Set(“SIP/0921766330-000000c7”, “__MONTH=08”) in new stack
15 [2020-08-20 16:18:43] VERBOSE[1229][C-000000a2] netsock2.c: Using SIP RTP TOS bits 184
16 [2020-08-20 16:18:43] VERBOSE[1229][C-000000a2] netsock2.c: Using SIP RTP CoS mark 5
17 [2020-08-20 16:18:43] VERBOSE[18246][C-000000a1] pbx.c: Executing [[email protected]:6] Set(“SIP/0921766330-000000c7”, “__YEAR=2020”) in new stack
18 [2020-08-20 16:18:43] VERBOSE[18246][C-000000a1] pbx.c: Executing [[email protected]:7] Set(“SIP/0921766330-000000c7”, “__TIMESTR=20200820-161843”) in new stack
19 [2020-08-20 16:18:43] VERBOSE[18246][C-000000a1] pbx.c: Executing [[email protected]:8] Set(“SIP/0921766330-000000c7”, “__FROMEXTEN=unknown”) in new stack
20 [2020-08-20 16:18:43] VERBOSE[18246][C-000000a1] pbx.c: Executing [[email protected]:9] Set(“SIP/0921766330-000000c7”, “__MON_FMT=wav”) in new stack
21 [2020-08-20 16:18:43] VERBOSE[18246][C-000000a1] pbx.c: Executing [[email protected]:10] NoOp(“SIP/0921766330-000000c7”, “Recordings initialized”) in new stack
22 [2020-08-20 16:18:43] VERBOSE[18246][C-000000a1] pbx.c: Executing [[email protected]:11] ExecIf(“SIP/0921766330-000000c7”, “0?Set(ARG3=dontcare)”) in new stack
23 [2020-08-20 16:18:43] VERBOSE[18246][C-000000a1] pbx.c: Executing [[email protected]:12] Set(“SIP/0921766330-000000c7”, “REC_POLICY_MODE_SAVE=”) in new stack
24 [2020-08-20 16:18:43] VERBOSE[18246][C-000000a1] pbx.c: Executing [[email protected]:13] ExecIf(“SIP/0921766330-000000c7”, “0?Set(REC_STATUS=NO)”) in new stack
25 [2020-08-20 16:18:43] VERBOSE[18246][C-000000a1] pbx.c: Executing [[email protected]:14] GotoIf(“SIP/0921766330-000000c7”, “2?checkaction”) in new stack
26 [2020-08-20 16:18:43] VERBOSE[18246][C-000000a1] pbx_builtins.c: Goto (sub-record-check,s,17)
27 [2020-08-20 16:18:43] VERBOSE[18246][C-000000a1] pbx.c: Executing [[email protected]:17] GotoIf(“SIP/0921766330-000000c7”, “1?sub-record-check,in,1”) in new stack
28 [2020-08-20 16:18:43] VERBOSE[18246][C-000000a1] pbx_builtins.c: Goto (sub-record-check,in,1)
29 [2020-08-20 16:18:43] VERBOSE[18246][C-000000a1] pbx.c: Executing [[email protected]:1] NoOp(“SIP/0921766330-000000c7”, “Inbound Recording Check to s”) in new stack
30 [2020-08-20 16:18:43] VERBOSE[18247][C-000000a2] pbx.c: Executing [[email protected]:1] NoOp(“SIP/0921766330-000000c8”, “Catch-All DID Match - Found from-trunk - You probably want a DID for this.”) in new stack
31 [2020-08-20 16:18:43] VERBOSE[18246][C-000000a1] pbx.c: Executing [[email protected]:2] Set(“SIP/0921766330-000000c7”, “FROMEXTEN=unknown”) in new stack
32 [2020-08-20 16:18:43] VERBOSE[18247][C-000000a2] pbx.c: Executing [[email protected]:2] Set(“SIP/0921766330-000000c8”, “__FROM_DID=from-trunk”) in new stack
33 [2020-08-20 16:18:43] VERBOSE[18246][C-000000a1] pbx.c: Executing [[email protected]:3] ExecIf(“SIP/0921766330-000000c7”, “13?Set(FROMEXTEN=+393491091272)”) in new stack
34 [2020-08-20 16:18:43] VERBOSE[18247][C-000000a2] pbx.c: Executing [[email protected]:3] Goto(“SIP/0921766330-000000c8”, “ext-did,s,1”) in new stack
35 [2020-08-20 16:18:43] VERBOSE[18247][C-000000a2] pbx_builtins.c: Goto (ext-did,s,1)
36 [2020-08-20 16:18:43] VERBOSE[18247][C-000000a2] pbx.c: Executing [[email protected]:1] Set(“SIP/0921766330-000000c8”, “__DIRECTION=INBOUND”) in new stack
37 [2020-08-20 16:18:43] VERBOSE[18246][C-000000a1] pbx.c: Executing [[email protected]:4] Gosub(“SIP/0921766330-000000c7”, “recordcheck,1(dontcare,in,s)”) in new stack
38 [2020-08-20 16:18:43] VERBOSE[18247][C-000000a2] pbx.c: Executing [[email protected]:2] Gosub(“SIP/0921766330-000000c8”, “sub-record-check,s,1(in,s,dontcare)”) in new stack
39 [2020-08-20 16:18:43] VERBOSE[18246][C-000000a1] pbx.c: Executing [[email protected]:1] NoOp(“SIP/0921766330-000000c7”, “Starting recording check against dontcare”) in new stack
40 [2020-08-20 16:18:43] VERBOSE[18246][C-000000a1] pbx.c: Executing [[email protected]:2] Goto(“SIP/0921766330-000000c7”, “dontcare”) in new stack
41 [2020-08-20 16:18:43] VERBOSE[18246][C-000000a1] pbx_builtins.c: Goto (sub-record-check,recordcheck,3)
42 [2020-08-20 16:18:43] VERBOSE[18246][C-000000a1] pbx.c: Executing [[email protected]:3] Return(“SIP/0921766330-000000c7”, “”) in new stack
43 [2020-08-20 16:18:43] VERBOSE[18247][C-000000a2] pbx.c: Executing [[email protected]:1] GotoIf(“SIP/0921766330-000000c8”, “0?initialized”) in new stack
44 [2020-08-20 16:18:43] VERBOSE[18247][C-000000a2] pbx.c: Executing [[email protected]:2] Set(“SIP/0921766330-000000c8”, “__REC_STATUS=INITIALIZED”) in new stack
45 [2020-08-20 16:18:43] VERBOSE[18246][C-000000a1] pbx.c: Executing [[email protected]:5] Return(“SIP/0921766330-000000c7”, “”) in new stack
46 [2020-08-20 16:18:43] VERBOSE[18247][C-000000a2] pbx.c: Executing [[email protected]:3] Set(“SIP/0921766330-000000c8”, “NOW=1597933123”) in new stack
47 [2020-08-20 16:18:43] VERBOSE[18246][C-000000a1] pbx.c: Executing [[email protected]:3] Set(“SIP/0921766330-000000c7”, “CHANNEL(tonezone)=it”) in new stack
48 [2020-08-20 16:18:43] VERBOSE[18247][C-000000a2] pbx.c: Executing [[email protected]:4] Set(“SIP/0921766330-000000c8”, “__DAY=20”) in new stack
49 [2020-08-20 16:18:43] VERBOSE[18246][C-000000a1] pbx.c: Executing [[email protected]:4] ExecIf(“SIP/0921766330-000000c7”, “0?Set(__FROM_DID=s)”) in new stack
50 [2020-08-20 16:18:43] VERBOSE[18247][C-000000a2] pbx.c: Executing [[email protected]:5] Set(“SIP/0921766330-000000c8”, “__MONTH=08”) in new stack
51 [2020-08-20 16:18:43] VERBOSE[18246][C-000000a1] pbx.c: Executing [[email protected]:5] Set(“SIP/0921766330-000000c7”, “CDR(did)=5406186568”) in new stack
52 [2020-08-20 16:18:43] VERBOSE[18247][C-000000a2] pbx.c: Executing [[email protected]:6] Set(“SIP/0921766330-000000c8”, “__YEAR=2020”) in new stack
53 [2020-08-20 16:18:43] VERBOSE[18247][C-000000a2] pbx.c: Executing [[email protected]:7] Set(“SIP/0921766330-000000c8”, “__TIMESTR=20200820-161843”) in new stack
54 [2020-08-20 16:18:43] VERBOSE[18247][C-000000a2] pbx.c: Executing [[email protected]:8] Set(“SIP/0921766330-000000c8”, “__FROMEXTEN=unknown”) in new stack
55 [2020-08-20 16:18:43] VERBOSE[18247][C-000000a2] pbx.c: Executing [[email protected]:9] Set(“SIP/0921766330-000000c8”, “__MON_FMT=wav”) in new stack
56 [2020-08-20 16:18:43] VERBOSE[18247][C-000000a2] pbx.c: Executing [[email protected]:10] NoOp(“SIP/0921766330-000000c8”, “Recordings initialized”) in new stack
57 [2020-08-20 16:18:43] VERBOSE[18247][C-000000a2] pbx.c: Executing [[email protected]:11] ExecIf(“SIP/0921766330-000000c8”, “0?Set(ARG3=dontcare)”) in new stack
58 [2020-08-20 16:18:43] VERBOSE[18247][C-000000a2] pbx.c: Executing [[email protected]:12] Set(“SIP/0921766330-000000c8”, “REC_POLICY_MODE_SAVE=”) in new stack
59 [2020-08-20 16:18:43] VERBOSE[18247][C-000000a2] pbx.c: Executing [[email protected]:13] ExecIf(“SIP/0921766330-000000c8”, “0?Set(REC_STATUS=NO)”) in new stack
60 [2020-08-20 16:18:43] VERBOSE[18247][C-000000a2] pbx.c: Executing [[email protected]:14] GotoIf(“SIP/0921766330-000000c8”, “2?checkaction”) in new stack
61 [2020-08-20 16:18:43] VERBOSE[18247][C-000000a2] pbx_builtins.c: Goto (sub-record-check,s,17)
62 [2020-08-20 16:18:43] VERBOSE[18247][C-000000a2] pbx.c: Executing [[email protected]:17] GotoIf(“SIP/0921766330-000000c8”, “1?sub-record-check,in,1”) in new stack
63 [2020-08-20 16:18:43] VERBOSE[18247][C-000000a2] pbx_builtins.c: Goto (sub-record-check,in,1)
64 [2020-08-20 16:18:43] VERBOSE[18247][C-000000a2] pbx.c: Executing [[email protected]:1] NoOp(“SIP/0921766330-000000c8”, “Inbound Recording Check to s”) in new stack
65 [2020-08-20 16:18:43] VERBOSE[18247][C-000000a2] pbx.c: Executing [[email protected]:2] Set(“SIP/0921766330-000000c8”, “FROMEXTEN=unknown”) in new stack
66 [2020-08-20 16:18:43] VERBOSE[18247][C-000000a2] pbx.c: Executing [[email protected]:3] ExecIf(“SIP/0921766330-000000c8”, “13?Set(FROMEXTEN=+393491091272)”) in new stack
67 [2020-08-20 16:18:43] VERBOSE[18247][C-000000a2] pbx.c: Executing [[email protected]:4] Gosub(“SIP/0921766330-000000c8”, “recordcheck,1(dontcare,in,s)”) in new stack
68 [2020-08-20 16:18:43] VERBOSE[18247][C-000000a2] pbx.c: Executing [[email protected]:1] NoOp(“SIP/0921766330-000000c8”, “Starting recording check against dontcare”) in new stack
69 [2020-08-20 16:18:43] VERBOSE[18247][C-000000a2] pbx.c: Executing [[email protected]:2] Goto(“SIP/0921766330-000000c8”, “dontcare”) in new stack
70 [2020-08-20 16:18:43] VERBOSE[18247][C-000000a2] pbx_builtins.c: Goto (sub-record-check,recordcheck,3)
71 [2020-08-20 16:18:43] VERBOSE[18247][C-000000a2] pbx.c: Executing [[email protected]:3] Return(“SIP/0921766330-000000c8”, “”) in new stack
72 [2020-08-20 16:18:43] VERBOSE[18247][C-000000a2] pbx.c: Executing [[email protected]:5] Return(“SIP/0921766330-000000c8”, “”) in new stack
73 [2020-08-20 16:18:43] VERBOSE[18247][C-000000a2] pbx.c: Executing [[email protected]:3] Set(“SIP/0921766330-000000c8”, “CHANNEL(tonezone)=it”) in new stack
74 [2020-08-20 16:18:43] VERBOSE[18247][C-000000a2] pbx.c: Executing [[email protected]:4] ExecIf(“SIP/0921766330-000000c8”, “0?Set(__FROM_DID=s)”) in new stack
75 [2020-08-20 16:18:43] VERBOSE[18247][C-000000a2] pbx.c: Executing [[email protected]:5] Set(“SIP/0921766330-000000c8”, “CDR(did)=from-trunk”) in new stack
76 [2020-08-20 16:18:43] VERBOSE[18246][C-000000a1] pbx.c: Executing [[email protected]:6] ExecIf(“SIP/0921766330-000000c7”, “0 ?Set(CALLERID(name)=+393491091272)”) in new stack
77 [2020-08-20 16:18:43] VERBOSE[18246][C-000000a1] pbx.c: Executing [[email protected]:7] Set(“SIP/0921766330-000000c7”, “__MOHCLASS=”) in new stack
78 [2020-08-20 16:18:43] VERBOSE[18246][C-000000a1] pbx.c: Executing [[email protected]:8] Set(“SIP/0921766330-000000c7”, “__REVERSAL_REJECT=FALSE”) in new stack
79 [2020-08-20 16:18:43] VERBOSE[18246][C-000000a1] pbx.c: Executing [[email protected]:9] GotoIf(“SIP/0921766330-000000c7”, “1?post-reverse-charge”) in new stack
80 [2020-08-20 16:18:43] VERBOSE[18246][C-000000a1] pbx_builtins.c: Goto (ext-did,s,11)
81 [2020-08-20 16:18:43] VERBOSE[18246][C-000000a1] pbx.c: Executing [[email protected]:11] NoOp(“SIP/0921766330-000000c7”, “”) in new stack
82 [2020-08-20 16:18:43] VERBOSE[18246][C-000000a1] pbx.c: Executing [[email protected]:12] Set(“SIP/0921766330-000000c7”, “__CALLINGNAMEPRES_SV=allowed_not_screened”) in new stack
83 [2020-08-20 16:18:43] VERBOSE[18246][C-000000a1] pbx.c: Executing [[email protected]:13] Set(“SIP/0921766330-000000c7”, “__CALLINGNUMPRES_SV=allowed_not_screened”) in new stack
84 [2020-08-20 16:18:43] VERBOSE[18246][C-000000a1] pbx.c: Executing [[email protected]:14] Set(“SIP/0921766330-000000c7”, “CALLERID(name-pres)=allowed_not_screened”) in new stack
85 [2020-08-20 16:18:43] VERBOSE[18247][C-000000a2] pbx.c: Executing [[email protected]:6] ExecIf(“SIP/0921766330-000000c8”, “0 ?Set(CALLERID(name)=+393491091272)”) in new stack
86 [2020-08-20 16:18:43] VERBOSE[18246][C-000000a1] pbx.c: Executing [[email protected]:15] Set(“SIP/0921766330-000000c7”, “CALLERID(num-pres)=allowed_not_screened”) in new stack
87 [2020-08-20 16:18:43] VERBOSE[18246][C-000000a1] pbx.c: Executing [[email protected]:16] NoOp(“SIP/0921766330-000000c7”, “CallerID Entry Point”) in new stack
88 [2020-08-20 16:18:43] VERBOSE[18246][C-000000a1] pbx.c: Executing [[email protected]:17] Goto(“SIP/0921766330-000000c7”, “app-daynight,1,1”) in new stack
89 [2020-08-20 16:18:43] VERBOSE[18246][C-000000a1] pbx_builtins.c: Goto (app-daynight,1,1)
90 [2020-08-20 16:18:43] VERBOSE[18247][C-000000a2] pbx.c: Executing [[email protected]:7] Set(“SIP/0921766330-000000c8”, “__MOHCLASS=”) in new stack
91 [2020-08-20 16:18:43] VERBOSE[18246][C-000000a1] pbx.c: Executing [[email protected]:1] GotoIf(“SIP/0921766330-000000c7”, “0?from-did-direct,408,1:app-announcement-1,s,1”) in new stack
92 [2020-08-20 16:18:43] VERBOSE[18246][C-000000a1] pbx_builtins.c: Goto (app-announcement-1,s,1)
93 [2020-08-20 16:18:43] VERBOSE[18247][C-000000a2] pbx.c: Executing [[email protected]:8] Set(“SIP/0921766330-000000c8”, “__REVERSAL_REJECT=FALSE”) in new stack
94 [2020-08-20 16:18:43] VERBOSE[18246][C-000000a1] pbx.c: Executing [[email protected]:1] GotoIf(“SIP/0921766330-000000c7”, “0?begin”) in new stack
95 [2020-08-20 16:18:43] VERBOSE[18246][C-000000a1] pbx.c: Executing [[email protected]:2] Answer(“SIP/0921766330-000000c7”, “”) in new stack
96 [2020-08-20 16:18:43] VERBOSE[18247][C-000000a2] pbx.c: Executing [[email protected]:9] GotoIf(“SIP/0921766330-000000c8”, “1?post-reverse-charge”) in new stack
97 [2020-08-20 16:18:43] VERBOSE[18247][C-000000a2] pbx_builtins.c: Goto (ext-did,s,11)
98 [2020-08-20 16:18:43] VERBOSE[18247][C-000000a2] pbx.c: Executing [[email protected]:11] NoOp(“SIP/0921766330-000000c8”, “”) in new stack
99 [2020-08-20 16:18:43] VERBOSE[18247][C-000000a2] pbx.c: Executing [[email protected]:12] Set(“SIP/0921766330-000000c8”, “__CALLINGNAMEPRES_SV=allowed_not_screened”) in new stack
100 [2020-08-20 16:18:43] VERBOSE[18247][C-000000a2] pbx.c: Executing [[email protected]:13] Set(“SIP/0921766330-000000c8”, “__CALLINGNUMPRES_SV=allowed_not_screened”) in new stack
101 [2020-08-20 16:18:43] VERBOSE[18247][C-000000a2] pbx.c: Executing [[email protected]:14] Set(“SIP/0921766330-000000c8”, “CALLERID(name-pres)=allowed_not_screened”) in new stack
102 [2020-08-20 16:18:43] VERBOSE[18247][C-000000a2] pbx.c: Executing [[email protected]:15] Set(“SIP/0921766330-000000c8”, “CALLERID(num-pres)=allowed_not_screened”) in new stack
103 [2020-08-20 16:18:43] VERBOSE[18247][C-000000a2] pbx.c: Executing [[email protected]:16] NoOp(“SIP/0921766330-000000c8”, “CallerID Entry Point”) in new stack
104 [2020-08-20 16:18:43] VERBOSE[18247][C-000000a2] pbx.c: Executing [[email protected]:17] Goto(“SIP/0921766330-000000c8”, “app-daynight,1,1”) in new stack
105 [2020-08-20 16:18:43] VERBOSE[18247][C-000000a2] pbx_builtins.c: Goto (app-daynight,1,1)
106 [2020-08-20 16:18:43] VERBOSE[18247][C-000000a2] pbx.c: Executing [[email protected]:1] GotoIf(“SIP/0921766330-000000c8”, “0?from-did-direct,408,1:app-announcement-1,s,1”) in new stack
107 [2020-08-20 16:18:43] VERBOSE[18247][C-000000a2] pbx_builtins.c: Goto (app-announcement-1,s,1)
108 [2020-08-20 16:18:43] VERBOSE[18247][C-000000a2] pbx.c: Executing [[email protected]:1] GotoIf(“SIP/0921766330-000000c8”, “0?begin”) in new stack
109 [2020-08-20 16:18:43] VERBOSE[18247][C-000000a2] pbx.c: Executing [[email protected]:2] Answer(“SIP/0921766330-000000c8”, “”) in new stack
110 [2020-08-20 16:18:43] VERBOSE[18247][C-000000a2] pbx.c: Spawn extension (app-announcement-1, s, 2) exited non-zero on ‘SIP/0921766330-000000c8’
111 [2020-08-20 16:18:44] VERBOSE[18246][C-000000a1] pbx.c: Executing [[email protected]:3] Wait(“SIP/0921766330-000000c7”, “1”) in new stack
112 [2020-08-20 16:18:45] VERBOSE[18246][C-000000a1] pbx.c: Executing [[email protected]:4] NoOp(“SIP/0921766330-000000c7”, “Playing announcement benvenuti”) in new stack
113 [2020-08-20 16:18:45] VERBOSE[18246][C-000000a1] pbx.c: Executing [[email protected]:5] Playback(“SIP/0921766330-000000c7”, “custom/Benvenuti_a_skyview,noanswer”) in new stack
114 [2020-08-20 16:18:45] VERBOSE[18246][C-000000a1] file.c: <SIP/0921766330-000000c7> Playing ‘custom/Benvenuti_a_skyview.ulaw’ (language ‘it’)

Citazione

Is your pi capable of playing back ulaw?

well, when it decide to work, all king of audio file playing good! No problem.

i have some update. Very strange update!

yesterday i spent all the day trying to fix it. i tried:

-NAT, no NAT
-port forwarding
-sip and pjsip
-add and delete codecs (from GUI list)

  • change from sip address to IP (seems a stupid things, but in another freepbx installation solved my random disconnection problem)

nothing of these solve my announcement audio problem! (remember, call audio work fine in both directions, all the times!)
today early morning, i found a guide on my provider page, a little bit old, for frepbx 13 i think, and it say to use “Transport=TCP” in “incoming” and “outgoing” settings.

this the page!

and all works great!!! audio, announcement, all!

But…log file start to report an error:
chan_sip.c: – Registration for ‘“my user”@sip.messagenet.it’ timed out, trying again (Attempt #1)

i don’t understand why my pbx work really fine, and the log file report this error! seems impossible to me!

i have some update.

please, try to explain me what append!

Maybe i found a solution. i just deleted my SIP configuration and made a new one absolutely identical as shown in the website i posted above! But the error don’t come out any more, but i’m back with no announcement sound issue.

i noticed that in my old configuration, inside outgoing PEER details, there is an error.
i have “sername=myuser” and second line “user=myuser”

i accidentally write “sername” instead of “username”. After i correct it, the audio stop working!!
So i delete the line “username=myuser”, and the audio come back!

in my second SIP configuration is the same. If i add the line “username”, all work fine but not the announcement audio. If i remove it, the audio come back!

Can someone explain me this?

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.