;!
;! Automatically generated configuration file
;! Filename: pjsip_wizard.conf (/etc/asterisk/pjsip_wizard.conf)
;! Generator: Manager
;! Creation Date: Sun Jul  2 17:34:40 2017
;!
[gui_trunk_defaults](!)
type = wizard
has_hint = no
endpoint/allow = !all,ulaw
endpoint/allow_subscribe = no
endpoint/direct_media = no
endpoint/direct_media_glare_mitigation = none
endpoint/force_rport = no
endpoint/rtp_ipv6 = no
endpoint/disable_direct_media_on_nat = no
endpoint/direct_media_method = invite
endpoint/ice_support = no
endpoint/rtp_symmetric = yes
endpoint/dtmf_mode = rfc4733
endpoint/rewrite_contact = yes
endpoint/identify_by = username
endpoint/allow_transfer = yes
endpoint/send_rpid = yes
endpoint/send_pai = yes
endpoint/trust_id_inbound = no
endpoint/device_state_busy_at = 10
endpoint/trust_id_outbound = no
endpoint/send_diversion = yes
endpoint/dtls_verify = no
aor/qualify_frequency = 0
aor/remove_existing = yes
aor/minimum_expiration = 30
aor/support_path = yes
aor/max_contacts = 99
registration/expiration = 900
registration/retry_interval = 30
registration/max_retries = 15
registration/auth_rejection_permanent = no
registration/forbidden_retry_interval = 180
registration/support_path = yes

[gui_trunk_defaults_tls](!,gui_trunk_defaults)
transport = ipv4-tls
server_uri_pattern = sips:${USERNAME}@${REMOTE_HOST}
client_uri_pattern = sips:${USERNAME}@${REMOTE_HOST}
contact_pattern = sips:${REMOTE_HOST}
endpoint/moh_suggest = general
endpoint/media_encryption = sdes
endpoint/dtls_ca_file = /etc/asterisk/keys/ca.crt
endpoint/dtls_private_key = /etc/asterisk/keys/pbx1.key
endpoint/dtls_cert_file = /etc/asterisk/keys/pbx1.crt

[gui_trunk_defaults_tcp](!,gui_trunk_defaults)
transport = ipv4-tcp
server_uri_pattern = sip:${USERNAME}@${REMOTE_HOST}\;transport=TCP
client_uri_pattern = sip:${USERNAME}@${REMOTE_HOST}
contact_pattern = sip:${REMOTE_HOST}\;transport=TCP

[client-server](gui_trunk_defaults_tls)
sends_auth = yes
accepts_auth = no
sends_registrations = yes
remote_hosts = server:41060
accepts_registrations = no
outbound_auth/username = client
outbound_auth/password = test1
endpoint/context = default
endpoint/send_rpid = yes
endpoint/send_pai = yes
endpoint/allow = !all,ulaw
endpoint/trust_id_outbound = yes
endpoint/trust_id_inbound = yes
endpoint/connected_line_method = invite
aor/qualify_frequency = 0
registration/expiration = 600
registration/retry_interval = 3
registration/support_path = yes
