// main.js (function () { //Creates the anonymous user agent so that you can send messages var userAgent = new SIP.UA(); }) ();
<!DOCTYPE html> <html> <body> <button id="send">Send Message</button> <script src="sip-devel.min.js"></script> <script src="main.js"></script> </body> </html>