Skip to content

Instantly share code, notes, and snippets.

@basamoahjnr
Last active June 3, 2023 12:05
Show Gist options
  • Save basamoahjnr/3086dcd9e07943076b705ec7e594f8c8 to your computer and use it in GitHub Desktop.
Save basamoahjnr/3086dcd9e07943076b705ec7e594f8c8 to your computer and use it in GitHub Desktop.
sample pjsip_wizard configuration file
[user_defaults](!)
type = wizard
transport = transport-ipv4
accepts_registrations = yes
sends_registrations = no
accepts_auth = yes
sends_auth = no
has_hint = yes
hint_context = internal
endpoint/context = internal
endpoint/allow_subscribe = yes
endpoint/allow = !all,ulaw,gsm,g722
endpoint/direct_media = yes
endpoint/force_rport = yes
endpoint/disable_direct_media_on_nat = yes
endpoint/direct_media_method = invite
endpoint/ice_support = yes
endpoint/moh_suggest = default
endpoint/send_rpid = yes
endpoint/rewrite_contact = yes
endpoint/send_pai = yes
endpoint/allow_transfer = yes
endpoint/trust_id_inbound = yes
endpoint/device_state_busy_at = 1
endpoint/trust_id_outbound = yes
endpoint/send_diversion = yes
aor/qualify_frequency = 30
aor/authenticate_qualify = no
aor/max_contacts = 1
aor/remove_existing = yes
aor/minimum_expiration = 30
aor/support_path = yes
endpoint/deny=0.0.0.0/0
[61](user_defaults)
hint/extension = 61
enpoint/callerid = "CALLER ID" <61>
inbound_auth/username = 61
inbound_auth/password = 12345
endpoint/permit=172.16.8.100/24
[62](user_defaults)
hint/extension = 62
enpoint/callerid = "CALLER ID" <62>
inbound_auth/username = 62
inbound_auth/password = 12345
endpoint/permit=172.16.8.100/24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment