I recently added a second context to my Asterisk, and was able to figure out how to “transfer” a call from a member of one context to a member of the other. I just use Goto:
exten => 6000,1,Goto(othergroup,6000,1)
This approach, however is too generic. I would like to have a more fine grained rule. I need to allow only some specific dialers to cross the intercontext barrier.
A related question is how to have the ability of assigning the same extension numbers to user in different contexts. Is there support for some sort of virtual PBX or namespace in Asterisk?