On 02/23/2012 09:39 AM, Danny Nicholas wrote:
+1 Dale - p.s. the grep -P '\d\d\d\d' killed the output on my 1.4 box.
P.P.S if you change grep -P "(Useragent|Contact)" to grep -P
"(Username|Contact|Username)" it produces a "nice" 4 line report like this:
   Def. Username: Danny Nicholas
   Useragent    : PolycomSoundPointIP-SPIP_501-UA/3.1.2.0392
   Reg. Contact : sip:[email protected]
=====

Oops. I forgot that not everyone uses 4+ digit extensions as their peers. (Yes, I am aware of enumeration concerns but my servers do not have direct connection to the Internet.)

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

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

Reply via email to