Difference between Trunk context

I’m testing PJSIP Trunks for the first time, in our ChanSIP setups, in the user details on incoming calls we have set context=from-trunk.
I just tested setting up a PJSIP Trunk with the same provider and left the the default context from-pstn it worked fine, then I changed the context to from-trunk and it also works.

What does it affect? What is the difference?

I hope someone can explain this.

from-trunk context is really just an alias of from-pstn.
It’s the same thing.

[from-trunk]
include => from-pstn

3 Likes

Would it make a difference for the provider how they are sending calls to us?

No.
The context determines where your call enters the dial plan in extensions.conf, extensions_additional.conf or extensions_custom.conf.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.