Frequently Asked Question
Trunking with GEN DirectVoice
Last Updated about an hour ago
You will receive a full set of authentication credentials, and CIDR blocks with the sign-up pack, keep this safe because we can't re-send it if you loose it.
Registration & Authentication
- Auth type:
userpass - Registration: use a
registrationobject if required, otherwise IP-based viaidentifyobject - Expiry:
expiration=3600(retry withforbidden_retry_interval=60)
Transport
- UDP transport on
0.0.0.0:5060, TLS on0.0.0.0:5061 - TLS requires
ca_list_file,cert_file, andpriv_key_filepointing to our current certs.
NAT & Connectivity
- Set
external_media_addressandexternal_signaling_addressin the transport to your public IP/FQDN - Set
local_net=192.168.x.x/24(your LAN) in the transport - On the endpoint:
rtp_symmetric=yes,force_rport=yes,rewrite_contact=yes
Codecs
- On the endpoint:
disallow=all, thenallow=opus,alaw(in preference order) - Opus requires the
codec_opusmodule in your switch
SRTP / Encryption
- On the endpoint:
media_encryption=sdes(this is in-SDP SRTP) - For RTCP-MUX:
rtcp_mux=yeson the endpoint media_encryption_optimistic=yes
DTMF
dtmf_mode=rfc4733
From / Contact / Identity
from_user=on the switchfrom_domain=on the switchcontact_user=on the switch- For CLI/PAI:
send_pai=yesandtrust_id_inbound=yeson the switch
Inbound DID Handling
- Strip/add prefixes using the dialplan to normalise the DID format for your routing rules
Keepalives & Timers
qualify_frequency=60on the switch (sends OPTIONS every 60s)timers=noortimers=refusedto disable session timersqualify_timeout=3.0is a sensible default
Transfers
allow_transfer=yeson the switchsend_rpid=yesandtrust_id_inbound=yesfor RPID-based transfer identity
