]> git.ipfire.org Git - thirdparty/asterisk.git/commit
pjsip_wizard.conf.sample: Add IP authentication and TLS examples. master
authorMaksym Tushkov <maksym.t@didww.com>
Wed, 12 Aug 2026 08:17:06 +0000 (11:17 +0300)
committergithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Mon, 17 Aug 2026 13:15:03 +0000 (13:15 +0000)
commit19f98688a302958c71614afe74d84023c7f64cc2
tree34193deaf3930fcabdd538b5b42c333bfa01bacf
parent56c0922216f0b6c3815a5c9131c003179487aff3
pjsip_wizard.conf.sample: Add IP authentication and TLS examples.

The only ITSP example in the file shows a single trunk that registers and
authenticates.  Many providers, including DIDWW which motivated this
change, instead authenticate by IP address, deliver inbound calls from
several regional POPs, and terminate outbound calls through a separate
gateway that does require digest authentication.  Several things about
configuring that with the wizard are not obvious from the option
reference:

* remote_hosts alone generates the per-host identify matches, and is
  mandatory when registrations are not accepted.
* Inbound and outbound need one wizard each, because a wizard has a
  single remote_hosts list.
* A template carrying "type = wizard" is not turned into objects itself,
  so the two can share one.

TLS has a pitfall of its own: the wizard cannot create transport objects,
so the transport has to be defined in pjsip.conf and referenced here by
name, while media_encryption belongs to the endpoint and needs the
endpoint/ prefix.

Add commented-out examples for an IP authenticated trunk pair sharing a
template, and for a TLS trunk with SRTP.

No functional change.

UserNote: pjsip_wizard.conf.sample now includes examples for an ITSP that
authenticates by IP address and delivers calls from several hosts, and
for a TLS trunk with SRTP.
configs/samples/pjsip_wizard.conf.sample