Hi,<br><br>Sometimes, you need to send requests to SIP phones either from Linux command line or from Asterisk dialplan.<br>Which is the most efficient way to know a SIP phone IP address ?<br><br>Today, I think I would use :<br>
asterisk -rx &quot;sip show peer 692&quot; | grep &quot;Addr-&gt;IP&quot; | awk &#39;{print $3}&#39; <br><br>I&#39;m wondering if anything more concise and efficient exists ?<br><br>Regards<br>