FreePBX

Im Folgenden finden Sie Beispielkonfigurationen für die Verwendung des SIP-Dienstes von Vonage mit FreePBX.

Besuchen Sie die Vonage Wissensdatenbank um die aktuelle Liste der IP-Adressen zu erhalten.

Eingehende Konfiguration

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

Ausgehende Konfiguration

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

PJSIP-Konfiguration

Für die PJSIP-Konfiguration verwenden Sie die folgenden Informationen:

Element der Konfiguration Wert
Authentifizierung Ausgehend von
Anmeldung Keine
SIP-Server sip.nexmo.com
Benutzername API-Schlüssel
Geheimnis API-Geheimnis
Von der Domäne sip.nexmo.com
DTMF-Modus RFC4733
Codecs ulaw, alaw, g729