[asterisk-dev] Dynamic extension registration problem
Kevin P. Fleming
kpfleming at digium.com
Tue Oct 10 18:21:43 MST 2006
----- Paul Cadach <paul at odt.east.telecom.kz> wrote:
> As I can see there is a problem with dynamic creation of 1st priority
> in registration context in chan_sip and chan_iax2.
> The problem arises when I perform "dialplan reload" (or "extensions
> reload" for pre-1.4 version) - dynamically created
> priorities destroyed by newly loaded dialplan, and channel driver is
> not updates dialplan if until de-registration event
> occured.
Let chan_sip/chan_iax2 create their own context, don't share a context between pbx_config and chan_sip. The context in pbx_config can then 'include =>' the context from chan_sip, and this problem is solved.
--
Kevin P. Fleming
Senior Software Engineer
Digium, Inc.
More information about the asterisk-dev
mailing list