Maximum inbound channels

I am wanting to limit inbound traffic only from a sip trunk. I see the maximum channel and the help window also found the context the sip trunks in extensions_additional.conf. Now what, where do you put this context to limit calls.
freepbx 2.5.1.0

thanks

To limit only the inbound traffic, you should create a trunk for the inbound calls separate from the trunk for outbound.

then in the trunk for inbound, in the ‘PEER Details:’ include the line:


context=from-trunk-sip-TrunkName

where TrunkName should be the name of your trunk.