FreePBX
A continuación ofrecemos ejemplos de configuraciones para utilizar el servicio SIP de Vonage con FreePBX.
Visita la Base de conocimientos de Vonage para obtener la lista actualizada de direcciones IP.
Configuración de entrada
Copia
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
Configuración de salida
Copia
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
Configuración de PJSIP
Para la configuración de PJSIP, utilice la siguiente información:
| Elemento de configuración | Valor |
|---|---|
| Autenticación | Salida |
| Inscripción | Ninguno |
| Servidor SIP | sip.nexmo.com |
| Nombre de usuario | Clave API |
| Secreto | Secreto API |
| De Domain | sip.nexmo.com |
| Modo DTMF | RFC4733 |
| Códecs | ulaw, alaw, g729 |