<html>
 <body>
  <div style="font-family: Verdana, Arial, Helvetica, Sans-Serif;">
   <table bgcolor="#f9f3c9" width="100%" cellpadding="8" style="border: 1px #c9c399 solid;">
    <tr>
     <td>
      This is an automatically generated e-mail. To reply, visit:
      <a href="https://reviewboard.asterisk.org/r/1163/">https://reviewboard.asterisk.org/r/1163/</a>
     </td>
    </tr>
   </table>
   <br />





<blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: 10px;">
 <p style="margin-top: 0;">On April 7th, 2011, 1:38 a.m., <b>Olle E Johansson</b> wrote:</p>
 <blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: 10px;">
  <pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">I think this is a great addition. A few comments:

- This should apply to ALL channels, not only SIP. I need descriptions also for PRI channels.
- You forgot to add it to the manager &quot;sip show peer/Peers&quot;
- People will quickly ask for &quot;sip show peer described as sexy&quot; CLI commands.
</pre>
 </blockquote>







</blockquote>

<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">This feature already exists in users.conf.  It may be good to keep the naming of &quot;fullname = New User&quot; unless I am missing something.  It does update the callerID.

*CLI&gt; sip show peer 1234
...
Callerid     : &quot;Andrew Latham&quot; &lt;1234&gt;
...</pre>
<br />








<p>- lathama</p>


<br />
<p>On April 6th, 2011, 2:20 p.m., Leif Madsen wrote:</p>






<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="8" style="background-image: url('https://reviewboard.asterisk.orgrb/images/review_request_box_top_bg.png'); background-position: left top; background-repeat: repeat-x; border: 1px black solid;">
 <tr>
  <td>

<div>Review request for Asterisk Developers.</div>
<div>By Leif Madsen.</div>


<p style="color: grey;"><i>Updated 2011-04-06 14:20:42</i></p>




<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Description </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: 1px solid #b8b5a0">
 <tr>
  <td>
   <pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">Using some of the best practices names for SIP peers provides the quandary of knowing exactly what peer is where, or who it is assigned to.

If you name all your peers as the MAC address of the device, then it&#39;s difficult to determine what device is assigned to whom, or at least knowing where the device physically resides.

I&#39;ve added a description field that can help. When you do &#39;sip show peers&#39; then a new column called Description outputs 32 chars of a description to the Asterisk console.</pre>
  </td>
 </tr>
</table>


<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Testing </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: 1px solid #b8b5a0">
 <tr>
  <td>
   <pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">Added &quot;description=My Awesome Peer&quot; to [0004f2040001] definition in sip.conf, then did &#39;sip show peers&#39; and &#39;sip show peer 0004f2040001&#39;. Output was as expected. Compiled without error or warning.</pre>
  </td>
 </tr>
</table>



<div style="margin-top: 1.5em;">
 <b style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Bugs: </b>


 <a href="https://issues.asterisk.org/view.php?id=19076">19076</a>


</div>


<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Diffs</b> </h1>
<ul style="margin-left: 3em; padding-left: 0;">

 <li>trunk/channels/chan_sip.c <span style="color: grey">(312991)</span></li>

 <li>trunk/channels/sip/include/sip.h <span style="color: grey">(312991)</span></li>

 <li>trunk/configs/sip.conf.sample <span style="color: grey">(312991)</span></li>

</ul>

<p><a href="https://reviewboard.asterisk.org/r/1163/diff/" style="margin-left: 3em;">View Diff</a></p>




  </td>
 </tr>
</table>








  </div>
 </body>
</html>