[shared](!)
type=wizard
aor/qualify_frequency=30	; Interval at which to qualify an AoR via OPTIONS requests. (default: "0")
aor/qualify_timeout=1.0		; Qualify timeout in fractional seconds (default: "3.0")
endpoint/allow_overlap=no
endpoint/allow_transfer=no
endpoint/contact_user=uni-tel
endpoint/cos_audio=5
endpoint/from_domain=tdc-mvno-VoLTE-1.uni-tel.dk
endpoint/identify_by=ip
endpoint/rtp_timeout=60
endpoint/rtp_timeout_hold=3600
endpoint/sdp_session=uni-tel
endpoint/t38_udptl=yes
endpoint/t38_udptl_ec=redundancy
endpoint/tos_audio=ef
endpoint/trust_id_inbound=no	;if yes asterisk wil move PAI to From
endpoint/trust_id_outbound=yes
endpoint/user_eq_phone=yes
;endpoint/direct_media_method=update
endpoint/media_address=178.21.248.172
endpoint/direct_media_glare_mitigation=outgoing

endpoint/rewrite_contact=yes

;endpoint/allow=!all,alaw,g722,ulaw,g729,g726,g726aal2,ilbc,siren7,opus,silk12,silk24,silk16,silk8,lpc10
endpoint/allow=!all,alaw, g722 ,ulaw
;endpoint/allow=!all,alaw,ulaw

;https://wiki.asterisk.org/wiki/pages/viewpage.action?pageId=44369519		Advanced Codec Negotiation (ACN)
;https://wiki.asterisk.org/wiki/display/AST/PJSIP+Advanced+Codec+Negotiation	PJSIP Advanced Codec Negotiation

endpoint/incoming_call_offer_pref=remote
;Based on this setting, a joint list of preferred codecs between those received in an incoming SDP offer (remote), and those specified in the endpoint's "allow" parameter (local) es created and is passed to the Asterisk core.
;	local - Include all codecs in the local list that are also in the remote list preserving the local order. (default).
;	local_first - Include only the first codec in the local list that is also in the remote list.
;	remote - Include all codecs in the remote list that are also in the local list preserving the remote order.
;	remote_first - Include only the first codec in the remote list that is also in the local list.

endpoint/outgoing_call_offer_pref=remote
;Based on this setting, a joint list of preferred codecs between those received from the Asterisk core (remote), and those specified in the endpoint's "allow" parameter (local) is created and is used to create the outgoing SDP offer.
;	local - Include all codecs in the local list that are also in the remote list preserving the local order.
;	local_merge - Include all codecs in the local list preserving the local order.
;	local_first - Include only the first codec in the local list.
;	remote - Include all codecs in the remote list that are also in the local list preserving the remote order.
;	remote_merge - Include all codecs in the local list preserving the remote order. (default)
;	remote_first - Include only the first codec in the remote list that is also in the local list.



[UniTel](!)
endpoint/context=UniTel

;[sip-core-1](shared,UniTel)
;remote_hosts=178.21.248.7
                     
;[sip-core-2](shared,UniTel)
;remote_hosts=178.21.248.8
                     
;[sip-core-3](shared,UniTel)
;remote_hosts=178.21.248.59



[TDC](!)
endpoint/context=TDC
endpoint/direct_media_method=update
;endpoint/100rel=required	; TEST
endpoint/direct_media=no
aor/qualify_frequency=0	; Interval at which to qualify an AoR via OPTIONS requests. (default: "0")

;[KHSBG1](shared,TDC)
;remote_hosts=195.215.224.12

;[ALBSBG1](shared,TDC)
;remote_hosts=195.249.18.12

; ************************** TEST ********************

[sip-core-1](!)
remote_hosts=178.21.248.7

[sip-core-1-172](shared,UniTel,sip-core-1)
endpoint/transport=transport-udp-172

[sip-core-1-173](shared,UniTel,sip-core-1)
endpoint/transport=transport-udp-173

[sip-core-1-174](shared,UniTel,sip-core-1)
endpoint/transport=transport-udp-174

[sip-core-1-175](shared,UniTel,sip-core-1)
endpoint/transport=transport-udp-175


[KHSBG1](!)
remote_hosts=195.215.224.12

[ALBSBG1](!)
remote_hosts=195.249.18.12

; ************************** TCP *****************

[KHSBG1-tcp-172](shared,TDC,KHSBG1)
endpoint/transport=transport-tcp-172

[ALBSBG1-tcp-172](shared,TDC,ALBSBG1)
endpoint/transport=transport-udp-172

[KHSBG1-tcp-173](shared,TDC,KHSBG1)
endpoint/transport=transport-tcp-173

[ALBSBG1-tcp-173](shared,TDC,ALBSBG1)
endpoint/transport=transport-tcp-173

[KHSBG1-tcp-174](shared,TDC,KHSBG1)
endpoint/transport=transport-tcp-174

[ALBSBG1-tcp-174](shared,TDC,ALBSBG1)
endpoint/transport=transport-tcp-174

[KHSBG1-tcp-175](shared,TDC,KHSBG1)
endpoint/transport=transport-tcp-175

[ALBSBG1-tcp-175](shared,TDC,ALBSBG1)
endpoint/transport=transport-tcp-175
