<p><a href="https://gerrit.asterisk.org/c/asterisk/+/15985">View Change</a></p><p>1 comment:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="null">Patchset:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/c/asterisk/+/15985?tab=comments">Patch Set #2:</a> </p><p style="white-space: pre-wrap; word-wrap: break-word;">I know this is kind of old at this point, but I had the idea of analyzing the frame src (f.src) to see if that revealed anything.</p><p style="white-space: pre-wrap; word-wrap: break-word;">It appears the voice frames that are being read are from the *caller*. If you do channel originate, no issue occurs since the console is not supplying any media. Depending on how you test it, the frame source might be RTP, silence_generator, ulawtolin, (null), etc. - depending on what is connected to the channel doing the dialing.</p><p style="white-space: pre-wrap; word-wrap: break-word;">So there isn't really an infinite source of voice frames... app_dial is just reading any voice frames that may be available from the caller.</p><p style="white-space: pre-wrap; word-wrap: break-word;">Does this hint at something further that you can think of?</p><p style="white-space: pre-wrap; word-wrap: break-word;">Comparison:</p><p style="white-space: pre-wrap; word-wrap: break-word;">voip*CLI> channel originate Local/s@f1 application Wait 1<br>[2022-11-06 12:21:39]     -- Called s@f1<br>[2022-11-06 12:21:39]     -- Executing [s@f1:1] Answer("Local/s@f1-0000001b;2", "") in new stack<br>[2022-11-06 12:21:39]     -- Local/s@f1-0000001b;1 answered<br>[2022-11-06 12:21:39]        > Launching Wait(1) on Local/s@f1-0000001b;1<br>[2022-11-06 12:21:39]     -- Executing [s@f1:2] Dial("Local/s@f1-0000001b;2", "Local/s@f2/n,,D(::123456789)") in new stack<br>[2022-11-06 12:21:39]     -- Called Local/s@f2/n<br>[2022-11-06 12:21:39]     -- Executing [s@f2:1] Progress("Local/s@f2-0000001c;2", "") in new stack<br>[2022-11-06 12:21:39]     -- Executing [s@f2:2] Hangup("Local/s@f2-0000001c;2", "") in new stack<br>[2022-11-06 12:21:39]     -- Local/s@f2-0000001c;1 is making progress passing it to Local/s@f1-0000001b;2<br>[2022-11-06 12:21:39]   == Spawn extension (f2, s, 2) exited non-zero on 'Local/s@f2-0000001c;2'<br>[2022-11-06 12:21:39]     -- Sending DTMF '123456789' to the called party as result of receiving a PROGRESS message.<br>[2022-11-06 12:21:40]   == Spawn extension (f1, s, 2) exited non-zero on 'Local/s@f1-0000001b;2'<br>[2022-11-06 12:21:40]     -- Remote UNIX connection<br>[2022-11-06 12:21:40]     -- Remote UNIX connection disconnected</p><p style="white-space: pre-wrap; word-wrap: break-word;">voip*CLI> channel originate Local/s@f1 application StreamSilence 1<br>[2022-11-06 12:21:51]     -- Called s@f1<br>[2022-11-06 12:21:51]     -- Executing [s@f1:1] Answer("Local/s@f1-0000001d;2", "") in new stack<br>[2022-11-06 12:21:51]     -- Local/s@f1-0000001d;1 answered<br>[2022-11-06 12:21:51]        > Launching StreamSilence(1) on Local/s@f1-0000001d;1<br>[2022-11-06 12:21:51]     -- Executing [s@f1:2] Dial("Local/s@f1-0000001d;2", "Local/s@f2/n,,D(::123456789)") in new stack<br>[2022-11-06 12:21:51]     -- Called Local/s@f2/n<br>[2022-11-06 12:21:51]     -- Executing [s@f2:1] Progress("Local/s@f2-0000001e;2", "") in new stack<br>[2022-11-06 12:21:51]     -- Local/s@f2-0000001e;1 is making progress passing it to Local/s@f1-0000001d;2<br>[2022-11-06 12:21:51]     -- Sending DTMF '123456789' to the called party as result of receiving a PROGRESS message.<br>[2022-11-06 12:21:51]     -- Executing [s@f2:2] Hangup("Local/s@f2-0000001e;2", "") in new stack<br>[2022-11-06 12:21:51]   == Spawn extension (f2, s, 2) exited non-zero on 'Local/s@f2-0000001e;2'<br>[2022-11-06 12:21:51] WARNING[2023][C-00000010]: app_dial.c:1882 wait_for_answer: Unable to forward frametype: 2<br>[2022-11-06 12:21:51] WARNING[2023][C-00000010]: app_dial.c:1887 wait_for_answer: Frame source: silence_generator_generate<br>[2022-11-06 12:21:51] WARNING[2023][C-00000010]: app_dial.c:1882 wait_for_answer: Unable to forward frametype: 2<br>[2022-11-06 12:21:51] WARNING[2023][C-00000010]: app_dial.c:1887 wait_for_answer: Frame source: silence_generator_generate<br>[2022-11-06 12:21:51] WARNING[2023][C-00000010]: app_dial.c:1882 wait_for_answer: Unable to forward frametype: 2<br>etc.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/15985">change 15985</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/c/asterisk/+/15985"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I6f2ee3f77b892015bc05513d868f071f279a3c80 </div>
<div style="display:none"> Gerrit-Change-Number: 15985 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: N A <asterisk@phreaknet.org> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Sun, 06 Nov 2022 12:23:27 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Gerrit-MessageType: comment </div>