This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Inclua a biblioteca JsSIP no seu projeto --> | |
<script> | |
/* | |
* SIP version 0.7.8 | |
* Copyright (c) 2014-2017 Junction Networks, Inc <http://www.onsip.com> | |
* Homepage: http://sipjs.com | |
* License: http://sipjs.com/license/ | |
* | |
* | |
* ~~~SIP.js contains substantial portions of JsSIP under the following license~~~ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Inclua a biblioteca JsSIP no seu projeto --> | |
<script src="https://cdn.jsdelivr.net/npm/jssip/dist/jssip.min.js"></script> | |
<script> | |
JsSIP.debug.enable('JsSIP:*'); | |
// Substitua 'seu-endereco-ws' e 'sua-porta-ws' pelos detalhes do seu servidor WebSocket | |
const socket = new JsSIP.WebSocketInterface('ws://192.168.73.142:8088/ws/'); | |
// Configurações do usuário SIP | |
const config = { |