[asterisk-users] Context vs. Custom Context

Leif Madsen
Mon, 22 Mar 2010 15:17:31 -0000

Alejandro Cabrera Obed wrote:
> Dear all, if I use the CustomContext module in Asterisk in order to
> create new customized contexts for my extensions to managed
> outbound/inbound calls, do these custom contexts replace the original
> context defined in sip.conf, like "context=from-internal ???
>
> In other words, does a custom context have a bigger priority than
> context ???

That sounds like a module for FreePBX or some other GUI. A context in Asterisk
is just a context. There are no weights. If you define the same context twice
you will likely get some sort of WARNING on the Asterisk console I think.

Leif.