<p>Richard Mudgett has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/7507">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">stasis_channels.c: Don't set channel snapshot caller_dnid twice.<br><br>Change-Id: Ib8d45bbdfbda81e65045f6dff874d189b74e5471<br>---<br>M main/stasis_channels.c<br>1 file changed, 5 insertions(+), 3 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/07/7507/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/main/stasis_channels.c b/main/stasis_channels.c<br>index 0479bd9..869a169 100644<br>--- a/main/stasis_channels.c<br>+++ b/main/stasis_channels.c<br>@@ -237,22 +237,24 @@<br> S_COR(ast_channel_caller(chan)->id.name.valid, ast_channel_caller(chan)->id.name.str, ""));<br> ast_string_field_set(snapshot, caller_number,<br> S_COR(ast_channel_caller(chan)->id.number.valid, ast_channel_caller(chan)->id.number.str, ""));<br>- ast_string_field_set(snapshot, caller_dnid, S_OR(ast_channel_dialed(chan)->number.str, ""));<br> ast_string_field_set(snapshot, caller_subaddr,<br> S_COR(ast_channel_caller(chan)->id.subaddress.valid, ast_channel_caller(chan)->id.subaddress.str, ""));<br>- ast_string_field_set(snapshot, dialed_subaddr,<br>- S_COR(ast_channel_dialed(chan)->subaddress.valid, ast_channel_dialed(chan)->subaddress.str, ""));<br> ast_string_field_set(snapshot, caller_ani,<br> S_COR(ast_channel_caller(chan)->ani.number.valid, ast_channel_caller(chan)->ani.number.str, ""));<br>+<br> ast_string_field_set(snapshot, caller_rdnis,<br> S_COR(ast_channel_redirecting(chan)->from.number.valid, ast_channel_redirecting(chan)->from.number.str, ""));<br>+<br> ast_string_field_set(snapshot, caller_dnid,<br> S_OR(ast_channel_dialed(chan)->number.str, ""));<br>+ ast_string_field_set(snapshot, dialed_subaddr,<br>+ S_COR(ast_channel_dialed(chan)->subaddress.valid, ast_channel_dialed(chan)->subaddress.str, ""));<br> <br> ast_string_field_set(snapshot, connected_name,<br> S_COR(ast_channel_connected(chan)->id.name.valid, ast_channel_connected(chan)->id.name.str, ""));<br> ast_string_field_set(snapshot, connected_number,<br> S_COR(ast_channel_connected(chan)->id.number.valid, ast_channel_connected(chan)->id.number.str, ""));<br>+<br> ast_string_field_set(snapshot, language, ast_channel_language(chan));<br> <br> if ((bridge = ast_channel_get_bridge(chan))) {<br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/7507">change 7507</a>. To unsubscribe, 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/7507"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 13 </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Ib8d45bbdfbda81e65045f6dff874d189b74e5471 </div>
<div style="display:none"> Gerrit-Change-Number: 7507 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Richard Mudgett <rmudgett@digium.com> </div>