;============EXAMPLE WIZARD CONFIGURATION FOR AN ITSP TRUNK=================

; This ITSP has 2 servers available and requires registration.

; This config would create an endpoint, an aor with 2 static contacts, an
; outbound auth, an identify with 2 matches, and 2 registrations.


[voipfone-200]
type = wizard
sends_auth = yes
sends_registrations = yes
transport = simpletrans
remote_hosts = sip.voipfone.net:5060
outbound_auth/username = 12345678*200
outbound_auth/password = XXXXXXXX
registration/contact_user = 200
registration/retry_interval = 60
registration/max_retries = 254
endpoint/allow = alaw
endpoint/context = fromvoipfone200
endpoint/language=en_GB
endpoint/contact_user = 12345678*200
endpoint/from_user = 12345678*200
endpoint/from_domain = sip.voipfone.net
endpoint/language=en_GB
endpoint/dtmf_mode=rfc4733


[voipfone-205]
type = wizard
sends_auth = yes
sends_registrations = yes
transport = simpletrans
remote_hosts = sip.voipfone.net:5060
outbound_auth/username = 12345678*205
outbound_auth/password = XXXXXXXX
endpoint/allow = alaw
endpoint/context = fromvoipfone205
registration/contact_user = 12345678
registration/retry_interval = 60
registration/max_retries = 254
endpoint/contact_user = 12345678*205
endpoint/from_user = 12345678*205
endpoint/from_domain = sip.voipfone.net
endpoint/language=en_GB
endpoint/dtmf_mode=rfc4733

[6001]
type = wizard
accepts_auth = yes
accepts_registrations = yes
transport = simpletrans
inbound_auth/username = 6001
inbound_auth/password = XXXXXXXX
endpoint/allow = alaw
endpoint/context = 6001
aor/max_contacts = 3
registration/contact_user = 6001
endpoint/language=en_GB
endpoint/dtmf_mode=rfc4733


[sip2sip]
type = wizard
sends_auth = yes
; sends_registrations = yes ; makes asterisk crash
transport = simpletrans
outound_auth/username = XXXXXXXX@sip2sip.info
outound_auth/password = XXXXXXXX
remote_hosts = 81.23.228.129,85.17.186.7,81.23.228.150,sip2sip.info
endpoint/allow = alaw
endpoint/context = fromvoipfone200
aor/max_contacts = 3
registration/contact_user = XXXXXXXX
outbound_proxy = proxy.sipthor.net
endpoint/language=en_GB

