<p>Friendly Automation <strong>merged</strong> this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/11421">View Change</a></p><div style="white-space:pre-wrap">Approvals:
Benjamin Keith Ford: Looks good to me, but someone else must approve
Joshua Colp: Looks good to me, but someone else must approve
George Joseph: Looks good to me, approved
Friendly Automation: Approved for Submit
</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">res_fax: add channel name to CLI 'fax show session'<br><br>This patch adds a channel name to output of CLI 'fax show session'<br>and also expands the channel name field up to 30 characters on<br>CLI 'fax show sessions'<br><br>Change-Id: Id059c43ff41811f5e76712b83fb63b8f246da953<br>---<br>M res/res_fax.c<br>1 file changed, 3 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/res/res_fax.c b/res/res_fax.c</span><br><span>index 7338507..bf559fb 100644</span><br><span>--- a/res/res_fax.c</span><br><span>+++ b/res/res_fax.c</span><br><span>@@ -4068,6 +4068,7 @@</span><br><span> ast_cli(a->fd, "\nFAX Session Details:\n--------------------\n\n");</span><br><span> s = ao2_find(faxregistry.container, &tmp, OBJ_POINTER);</span><br><span> if (s) {</span><br><span style="color: hsl(120, 100%, 40%);">+ ast_cli(a->fd, "%-22s : %s\n", "channel", s->channame);</span><br><span> s->tech->cli_show_session(s, a->fd);</span><br><span> ao2_ref(s, -1);</span><br><span> }</span><br><span>@@ -4225,7 +4226,7 @@</span><br><span> }</span><br><span> </span><br><span> ast_cli(a->fd, "\nCurrent FAX Sessions:\n\n");</span><br><span style="color: hsl(0, 100%, 40%);">- ast_cli(a->fd, "%-20.20s %-10.10s %-10.10s %-5.5s %-10.10s %-15.15s %-30.30s\n",</span><br><span style="color: hsl(120, 100%, 40%);">+ ast_cli(a->fd, "%-30.30s %-10.10s %-10.10s %-5.5s %-10.10s %-15.15s %-30.30s\n",</span><br><span> "Channel", "Tech", "FAXID", "Type", "Operation", "State", "File(s)");</span><br><span> i = ao2_iterator_init(faxregistry.container, 0);</span><br><span> while ((s = ao2_iterator_next(&i))) {</span><br><span>@@ -4233,7 +4234,7 @@</span><br><span> </span><br><span> filenames = generate_filenames_string(s->details, "", ", ");</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">- ast_cli(a->fd, "%-20.20s %-10.10s %-10u %-5.5s %-10.10s %-15.15s %-30s\n",</span><br><span style="color: hsl(120, 100%, 40%);">+ ast_cli(a->fd, "%-30.30s %-10.10s %-10u %-5.5s %-10.10s %-15.15s %-30s\n",</span><br><span> s->channame, s->tech->type, s->id,</span><br><span> fax_session_type(s),</span><br><span> ast_fax_session_operation_str(s),</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/11421">change 11421</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/+/11421"/><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: Id059c43ff41811f5e76712b83fb63b8f246da953 </div>
<div style="display:none"> Gerrit-Change-Number: 11421 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Alexei Gradinari <alex2grad@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Benjamin Keith Ford <bford@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@digium.com> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>