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 "sip show peer 692" | grep "Addr->IP" | awk '{print $3}' <br><br>I'm wondering if anything more concise and efficient exists ?<br><br>Regards<br>