[pstn-sr-out-1]
type = wizard
remote_hosts = xyz
sends_auth = yes
endpoint/trust_connected_line = no
endpoint/send_connected_line = no
accepts_auth = yes
aor/max_contacts = 1
aor/remove_existing = yes
endpoint/context = trunkhandler_default
endpoint/set_var = __DeviceType=Trunk
endpoint/set_var = __TrunkDevice=PJSIP/pstn-sr-out-1
aor/qualify_frequency = 60
aor/qualify_timeout = 2000
endpoint/ice_support = no
inbound_auth/username = isoft-sr-out-1
inbound_auth/password = somesortofpassword
outbound_auth/username = isoft-sr-out-1
outbound_auth/password = somesortofpassword
endpoint/disallow = all
endpoint/allow = ulaw
endpoint/direct_media = no
endpoint/force_rport = yes
endpoint/log_subscription_error = no
endpoint/rewrite_contact = yes
endpoint/rtp_keepalive = 30
endpoint/rtp_symmetric = yes
endpoint/rtp_timeout = 60
endpoint/rtp_timeout_hold = 60
endpoint/send_pai = yes
endpoint/send_rpid = yes
endpoint/transport = transport-udp
endpoint/trust_id_inbound = no
endpoint/trust_id_outbound = yes

[pstn-vit-out-1]
type = wizard
remote_hosts = xyz
sends_auth = yes
endpoint/trust_connected_line = no
endpoint/send_connected_line = no
accepts_auth = yes
aor/max_contacts = 1
aor/remove_existing = yes
endpoint/context = trunkhandler_default
endpoint/set_var = __DeviceType=Trunk
endpoint/set_var = __TrunkDevice=PJSIP/pstn-vit-out-1
aor/qualify_frequency = 60
aor/qualify_timeout = 2000
endpoint/ice_support = no
inbound_auth/username = inte_donyc1
inbound_auth/password = somesortofpassword
outbound_auth/username = inte_donyc1
outbound_auth/password = somesortofpassword
endpoint/disallow = all
endpoint/allow = ulaw
endpoint/direct_media = no
endpoint/force_rport = yes
endpoint/from_user = inte_donyc1
endpoint/log_subscription_error = no
endpoint/rewrite_contact = yes
endpoint/rtp_keepalive = 30
endpoint/rtp_symmetric = yes
endpoint/rtp_timeout = 60
endpoint/rtp_timeout_hold = 60
endpoint/send_pai = yes
endpoint/send_rpid = yes
endpoint/transport = transport-udp
endpoint/trust_id_inbound = yes
endpoint/trust_id_outbound = yes

[pstn-sr-in-1]
type = wizard
remote_hosts = xyz
sends_auth = yes
endpoint/trust_connected_line = no
endpoint/send_connected_line = no
aor/max_contacts = 1
aor/remove_existing = yes
endpoint/context = trunkhandler_default
endpoint/set_var = __DeviceType=Trunk
endpoint/set_var = __TrunkDevice=PJSIP/pstn-sr-in-1
aor/qualify_frequency = 60
aor/qualify_timeout = 2000
endpoint/ice_support = no
inbound_auth/username = isoft-sr-in-1
inbound_auth/password = somesortofpassword
outbound_auth/username = isoft-sr-in-1
outbound_auth/password = somesortofpassword
endpoint/disallow = all
endpoint/allow = ulaw
endpoint/direct_media = no
endpoint/force_rport = yes
endpoint/log_subscription_error = no
endpoint/rewrite_contact = yes
endpoint/rtp_keepalive = 30
endpoint/rtp_symmetric = yes
endpoint/rtp_timeout = 60
endpoint/rtp_timeout_hold = 60
endpoint/send_pai = yes
endpoint/send_rpid = yes
endpoint/transport = transport-udp
endpoint/trust_id_inbound = yes
endpoint/trust_id_outbound = yes

[pstn-sr-in-2]
type = wizard
remote_hosts = xyz
sends_auth = yes
endpoint/trust_connected_line = no
endpoint/send_connected_line = no
aor/max_contacts = 1
aor/remove_existing = yes
endpoint/context = trunkhandler_default
endpoint/set_var = __DeviceType=Trunk
endpoint/set_var = __TrunkDevice=PJSIP/pstn-sr-in-2
aor/qualify_frequency = 60
aor/qualify_timeout = 2000
endpoint/ice_support = no
inbound_auth/username = isoft-sr-in-2
inbound_auth/password = somesortofpassword
outbound_auth/username = isoft-sr-in-2
outbound_auth/password = somesortofpassword
endpoint/disallow = all
endpoint/allow = ulaw
endpoint/direct_media = no
endpoint/force_rport = yes
endpoint/log_subscription_error = no
endpoint/rewrite_contact = yes
endpoint/rtp_keepalive = 30
endpoint/rtp_symmetric = yes
endpoint/rtp_timeout = 60
endpoint/rtp_timeout_hold = 60
endpoint/send_pai = yes
endpoint/send_rpid = yes
endpoint/transport = transport-udp
endpoint/trust_id_inbound = yes
endpoint/trust_id_outbound = yes

[pstn-t-out-1]
type = wizard
remote_hosts = xyz
sends_auth = yes
endpoint/trust_connected_line = no
endpoint/send_connected_line = no
accepts_auth = yes
aor/max_contacts = 1
aor/remove_existing = yes
endpoint/context = trunkhandler_default
endpoint/set_var = __DeviceType=Trunk
endpoint/set_var = __TrunkDevice=PJSIP/pstn-t-out-1
aor/qualify_frequency = 60
aor/qualify_timeout = 2000
endpoint/ice_support = no
inbound_auth/username = debian-c-2-nyc1-01
inbound_auth/password = somesortofpassword
outbound_auth/username = debian-c-2-nyc1-01
outbound_auth/password = somesortofpassword
endpoint/disallow = all
endpoint/allow = ulaw
endpoint/direct_media = no
endpoint/force_rport = yes
endpoint/log_subscription_error = no
endpoint/rewrite_contact = yes
endpoint/rtp_keepalive = 30
endpoint/rtp_symmetric = yes
endpoint/rtp_timeout = 60
endpoint/rtp_timeout_hold = 60
endpoint/send_pai = yes
endpoint/send_rpid = yes
endpoint/transport = transport-udp
endpoint/trust_id_inbound = no
endpoint/trust_id_outbound = yes

[c10000-9999]
type = wizard
accepts_registrations = yes
accepts_auth = yes
endpoint/trust_connected_line = no
endpoint/send_connected_line = yes
aor/max_contacts = 1
aor/remove_existing = yes
endpoint/context = cos_intellasoft-c10000
endpoint/callerid = <9999>
endpoint/set_var = __Tenant=intellasoft-c10000
endpoint/set_var = __Tenant_ID_Code=c10000
endpoint/set_var = __DeviceType=Exten
endpoint/set_var = __DeviceTenantName=intellasoft-c10000
endpoint/set_var = __ExtenDevice=PJSIP/c10000-9999
endpoint/set_var = __ExtenDeviceName=c10000-9999
endpoint/set_var = __ExtenPhoneNum=c10000-9999
endpoint/set_var = __ExtenPhoneGroup=intellasoft-c10000
aor/qualify_frequency = 60
aor/qualify_timeout = 2000
endpoint/ice_support = no
inbound_auth/username = c10000-9999
inbound_auth/password = somesortofpassword
outbound_auth/username = c10000-9999
outbound_auth/password = somesortofpassword
endpoint/disallow = all
endpoint/allow = ulaw
endpoint/allow_subscribe = yes
endpoint/direct_media = no
endpoint/force_rport = yes
endpoint/log_subscription_error = no
endpoint/rewrite_contact = yes
endpoint/rtp_keepalive = 30
endpoint/rtp_symmetric = yes
endpoint/rtp_timeout = 60
endpoint/rtp_timeout_hold = 60
endpoint/send_pai = yes
endpoint/send_rpid = yes
endpoint/subscribe_context = blf_intellasoft-c10000
endpoint/trust_id_inbound = no
endpoint/trust_id_outbound = yes

[c10000-8888]
type = wizard
accepts_registrations = yes
accepts_auth = yes
endpoint/trust_connected_line = no
endpoint/send_connected_line = yes
aor/max_contacts = 1
aor/remove_existing = yes
endpoint/context = cos_intellasoft-c10000
endpoint/callerid = 8888 <8888>
endpoint/set_var = __Tenant=intellasoft-c10000
endpoint/set_var = __Tenant_ID_Code=c10000
endpoint/set_var = __DeviceType=Exten
endpoint/set_var = __DeviceTenantName=intellasoft-c10000
endpoint/set_var = __ExtenDevice=PJSIP/c10000-8888
endpoint/set_var = __ExtenDeviceName=c10000-8888
endpoint/set_var = __ExtenPhoneNum=8888
endpoint/set_var = __ExtenPhoneGroup=intellasoft-c10000
aor/qualify_frequency = 60
aor/qualify_timeout = 2000
endpoint/ice_support = no
inbound_auth/username = c10000-8888
inbound_auth/password = somesortofpassword
outbound_auth/username = c10000-8888
outbound_auth/password = somesortofpassword
endpoint/disallow = all
endpoint/allow = opus,ulaw
endpoint/allow_subscribe = yes
endpoint/direct_media = no
endpoint/force_rport = yes
endpoint/log_subscription_error = no
endpoint/rewrite_contact = yes
endpoint/rtp_keepalive = 30
endpoint/rtp_symmetric = yes
endpoint/rtp_timeout = 60
endpoint/rtp_timeout_hold = 60
endpoint/send_pai = yes
endpoint/send_rpid = yes
endpoint/subscribe_context = blf_intellasoft-c10000
endpoint/trust_id_inbound = no
endpoint/trust_id_outbound = yes

[c10000-6666]
type = wizard
accepts_registrations = yes
accepts_auth = yes
endpoint/trust_connected_line = no
endpoint/send_connected_line = yes
aor/max_contacts = 1
aor/remove_existing = yes
endpoint/context = cos_intellasoft-c10000
endpoint/callerid = 6666 <c10000-6666>
endpoint/set_var = __Tenant=intellasoft-c10000
endpoint/set_var = __Tenant_ID_Code=c10000
endpoint/set_var = __DeviceType=Exten
endpoint/set_var = __DeviceTenantName=intellasoft-c10000
endpoint/set_var = __ExtenDevice=PJSIP/c10000-6666
endpoint/set_var = __ExtenDeviceName=c10000-6666
endpoint/set_var = __ExtenPhoneNum=c10000-6666
endpoint/set_var = __ExtenPhoneGroup=intellasoft-c10000
aor/qualify_frequency = 60
aor/qualify_timeout = 2000
endpoint/ice_support = no
inbound_auth/username = c10000-6666
inbound_auth/password = somesortofpassword
outbound_auth/username = c10000-6666
outbound_auth/password = somesortofpassword
endpoint/disallow = all
endpoint/allow = ulaw
endpoint/allow_subscribe = yes
endpoint/direct_media = no
endpoint/force_rport = yes
endpoint/log_subscription_error = no
endpoint/rewrite_contact = yes
endpoint/rtp_keepalive = 30
endpoint/rtp_symmetric = yes
endpoint/rtp_timeout = 60
endpoint/rtp_timeout_hold = 60
endpoint/send_pai = yes
endpoint/send_rpid = yes
endpoint/subscribe_context = blf
endpoint/trust_id_inbound = no
endpoint/trust_id_outbound = yes

