get username from sip message (doesnt work in node)
/(?<=username\=").+?[^"]*/gm.exec('"Digest realm="ctel.com", nonce="kboOfK9Jtzcv5GVQXKMmgUgw8BXYm1ij", username="4321", uri="sip:192.168.99.100", response="a037be4a6af51934697aeccb39b77c6f", cnonce="XIn9X38CyKd~yEQA", nc=00000008, qop=auth')
Last active
May 12, 2018 02:06
-
-
Save andrewvmail/821b4086c6ce3d0548aee91fa962db86 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment