; res_pjsip_config_wizard.so
; https://wiki.asterisk.org/wiki/display/AST/PJSIP+Configuration+Wizard
; https://wiki.asterisk.org/wiki/display/AST/Asterisk+16+Configuration_res_pjsip_config_wizard

[trunk](!)
type = wizard				; Must be of type wizard (default: "")
aor/qualify_frequency = 30		; Interval at which to qualify a contact 
aor/max_contacts = 1			; Maximum number of contacts that can bind to an AoR (default: "0")
aor/remove_existing = yes		; Determines whether new contacts replace existing ones. (default: "no")
endpoint/allow_overlap = no		; Enable RFC3578 overlap dialing support. (default: "yes")
endpoint/allow_transfer = no		; Determines whether SIP REFER transfers are allowed for this endpoint. (default: "yes")
endpoint/context = default		; Dialplan context for inbound sessions (default: "default")
endpoint/direct_media = no		; Determines whether media may flow directly between endpoints. (default: "yes")
endpoint/disallow = all			; Media Codec(s) to disallow. (default: "")
endpoint/dtmf_mode = auto		; DTMF mode (default: "rfc4733")
endpoint/send_history_info = yes	; Send the History-Info header, conveying the diversion information to the called and calling user agents. (default: "no")
endpoint/send_pai = yes			; Send the P-Asserted-Identity header. (default: "no")
endpoint/timers = no			; Session timers for SIP packets. (default: "yes")
endpoint/tos_audio = ef 		; DSCP TOS bits for audio streams. (default: "")
endpoint/tos_video = af41		; DSCP TOS bits for video streams. (default: "")
endpoint/trust_id_outbound = yes	; Send private identification details to the endpoint. (default: "no")
endpoint/language = ee			; Set the default language to use for channels created for this endpoint. (default: "")
endpoint/moh_passthrough = yes		; Pass Music On Hold through using SIP re-invites with sendonly when placing on hold and sendrecv when taking off hold. (default: "no")
endpoint/sdp_session = telsys		; String used for the SDP session (s=) line. (default: "Asterisk")


[trunk_name](trunk)
accepts_auth = yes                                      ; Accept incoming authentication from remote hosts. At least inbound_auth/username is required.
accepts_registrations = yes                             ; Accept inbound registration from remote hosts. An AOR with dynamic contacts will be created.
sends_auth = no                                         ; Send outbound authentication to remote hosts. At least outbound_auth/username is required.
sends_registrations = no                                ; Send outbound registrations to remote hosts.
inbound_auth/username = trunk_name
inbound_auth/password = strong_password
endpoint/context = some_context
endpoint/allow = alaw
identify/match = dns_name
