[Asterisk-Dev] bug or feature ? extension not found...

Luigi Rizzo rizzo at icir.org
Wed Dec 14 08:35:44 MST 2005


On Wed, Dec 14, 2005 at 09:26:10AM -0600, Kevin P. Fleming wrote:
> Luigi Rizzo wrote:
> 
> > Could anyone try to figure out what is going on ? The example should be
> > reasonably simple to reproduce, 551 and 552 are two phones which
> > register through sip. It is important that there are two instances
> > of the 'local-user' context, i believe. No idea how the recursion
> > depth influences the process.
> 
> The fact that there are two local-users contexts is the underlying 
> problem; there should not be two of them.

ok so this is, in a way, a feature and since there is a workaround
i don't see a problem with that.

However the fact that we have currently no way to prevent the
existence of multiple contexts with the same name is confusing.
Especially because if they come from different registration
sources, it may be non predictable which one gets found.

Do we really need to differentiate contexts based on the
creator, or we could just put all entries into the same context ?
In other words, are there user-level mechanism to tell asterisk
'take the context created by SIP rather than by IAX' ?

	cheers
	luigi



More information about the asterisk-dev mailing list