;== Transports
[udp6]
type=transport
protocol=udp
bind=[::]
tos=cs3
cos=3

[endpoint-provider](!)
type=endpoint
; Makes no difference :(
rewrite_contact=yes
context=extern
rewrite_contact=yes
dtmf_mode=rfc4733
send_connected_line=no
disallow=all
allow=g722
allow=alaw
allow=ulaw
direct_media=no
send_rpid=yes
user_eq_phone=yes
timers=no
rtp_ipv6=no
from_domain=phone.provider.example
tos_audio=ef
tos_video=af41
cos_audio=5
cos_video=4
tone_zone=de
language=de

[aor-provider](!)
type=aor
authenticate_qualify=yes
qualify_frequency=300
minimum_expiration=60
default_expiration=1200
maximum_expiration=3600
max_contacts=1
remove_existing=yes

[registration-provider](!)
transport=udp6
expiration=1200
line=yes

;== Credentials
[auth-provider1234567]
;XXXXXX

;== Outbound registrations

;=== First
[ext1234567](aor-provider)
type=aor
contact=sip:+1234567890@phone.provider.example

[ext1234567]
type=identify
endpoint=ext1234567
srv_lookups=no
match_header=To: <sip:+1234567890@phone.provider.example>

[ext1234567](endpoint-provider)
type=endpoint
from_user=+1234567890
outbound_auth=auth-provider1234567
aors=ext1234567

[ext1234567](registration-provider)
type=registration
server_uri=sip:phone.provider.example
client_uri=sip:+1234567890@phone.provider.example
outbound_auth=auth-provider1234567
contact_user=+1234567890
endpoint=ext1234567

;=== Second
; 
; more registrations
; for different numbers.