Hi,

Sometimes, you need to send requests to SIP phones either from Linux command
line or from Asterisk dialplan.
Which is the most efficient way to know a SIP phone IP address ?

Today, I think I would use :
asterisk -rx "sip show peer 692" | grep "Addr->IP" | awk '{print $3}'

I'm wondering if anything more concise and efficient exists ?

Regards
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to