FreePBX
A seguir, apresentamos exemplos de configurações para o uso do serviço SIP da Vonage com FreePBX.
Visite o Base de Conhecimento da Vonage para obter a lista atual de endereços IP.
Configuração de entrada
Copiar
host=5.10.112.121
type=friend
insecure=port,invite
;Add your codec list here.
; Note: Use "ulaw" for US only, "alaw" for the rest of the world.
allow=ulaw,alaw,g729
dtmfmode=rfc2833
host=5.10.112.122
type=friend
insecure=port,invite
;Add your codec list here.
; Note: Use "ulaw" for US only, "alaw" for the rest of the world.
allow=ulaw,alaw,g729
dtmfmode=rfc2833
host=119.81.44.6
type=friend
insecure=port,invite
;Add your codec list here.
; Note: Use "ulaw" for US only, "alaw" for the rest of the world.
allow=ulaw,alaw,g729
dtmfmode=rfc2833
host=119.81.44.7
type=friend
insecure=port,invite
;Add your codec list here.
; Note: Use "ulaw" for US only, "alaw" for the rest of the world.
allow=ulaw,alaw,g729
dtmfmode=rfc2833
host=169.60.141.29
type=friend
insecure=port,invite
;Add your codec list here.
; Note: Use "ulaw" for US only, "alaw" for the rest of the world.
allow=ulaw,alaw,g729
dtmfmode=rfc2833
host=169.60.141.30
type=friend
insecure=port,invite
;Add your codec list here.
; Note: Use "ulaw" for US only, "alaw" for the rest of the world.
allow=ulaw,alaw,g729
dtmfmode=rfc2833
Configuração de saída
Copiar
host=sip.nexmo.com
type=friend
insecure=port,invite
qualify=yes
;Add your codec list here.
;Note: Use "ulaw" for US only, "alaw" for the rest of the world.
allow=ulaw,alaw,g729
dtmfmode=rfc2833
username=<key>
fromuser=<long_virtual_number>
secret=<secret>
Register String
<key>:<secret>@sip.nexmo.com
Configuração do PJSIP
Para a configuração do PJSIP, utilize as seguintes informações:
| Item de configuração | Valor |
|---|---|
| Autenticação | Saída |
| Inscrição | Nenhum |
| Servidor SIP | sip.nexmo.com |
| Nome de usuário | Chave da API |
| Segredo | Segredo da API |
| Do domínio | sip.nexmo.com |
| Modo DTMF | RFC4733 |
| Codecs | ulaw, alaw, g729 |
Leitura complementar
- Limite de chamadas por segundo (CPS) - Saiba como configurar a limitação da taxa de chamadas de saída no FreePBX para permanecer dentro do seu limite do CPS da Vonage.