The Asterisk sample configuration matches trunk-provider calls by IP address rather than From user because the From user may differ on every call.

Checked 2026-09-24

For calls from a trunking provider, the From user may be different every time, so we want to match against IP address instead of From user.
Vendor
Sangoma
Product
Asterisk
Subsystem
res_pjsip
Deployment
self-hosted
Region
not restricted
Release range
master branch as of 2026-09-24
Checked
2026-09-24

Sources

Cite this note

APA

WarmTransfer. (2026, September 24). Setting up an Asterisk PBX with Twilio Elastic SIP Trunking: source note asterisk-twilio-pbx-setup-identify-trunk-by-ip. WarmTransfer. https://warmtransfer.net/knowledge/claims/asterisk-twilio-pbx-setup-identify-trunk-by-ip

BibTeX

@misc{warmtransfer-claim-asterisk-twilio-pbx-setup-identify-trunk-by-ip,
  title  = {Setting up an Asterisk PBX with Twilio Elastic SIP Trunking: source note asterisk-twilio-pbx-setup-identify-trunk-by-ip},
  author = {{WarmTransfer}},
  year   = {2026},
  url    = {https://warmtransfer.net/knowledge/claims/asterisk-twilio-pbx-setup-identify-trunk-by-ip},
  note   = {Source note asterisk-twilio-pbx-setup-identify-trunk-by-ip, checked 2026-09-24}
}

Read in context