[Asterisk-Dev] Re: [Asterisk-Users] TRIP / RFC2871

Steven Critchfield critch at basesys.com
Tue Mar 25 13:33:37 MST 2003

On Tue, 2003-03-25 at 14:15, John Todd wrote:
> >  > I tried getting the Vovida TRIP stack compiled on my RH7.2 system,
> >>  and it failed miserably, and instructions are sorely lacking.  It
> >>  seems that what the RFC covers would be a great benefit to Asterisk,
> >>  considering the exponential problems of branch office gateway
> >>  configuration tasks (as one adds more branch offices, it becomes
> >>  extremely difficult to figure out where to hand off calls, and there
> >>  is no dynamic method to do this in Asterisk as far as I can tell.)
> >
> >You can do it via IAX/IAX2 remote dialplan polling like this:
> >
> >[somecontext]
> >exten => 911,1,Dial,Zap/g2/${EXTEN} ; Always use local 911
> >switch => IAX2/user:pass at myiax.com/context ; Grab other extensions
> >
> >But that is of course using IAX.
> >
> >Mark
> Does IAX "chain" knowledge of downstream/upstream IAX servers?  In 
> other words, by connecting to myiax.com, do I now have knowledge of 
> all IAX servers (and associated numbers) connected to myiax.com?  How 
> about two levels past that?  Three levels?  If I make a call to one 
> of those extensions, does my connection go directly to that other IAX 
> server, or does it pass through myiax.com first?  (Sorry if these are 
> elemental questions, but I haven't been able to find anything 
> comprehensive on the IAX2 protocol, the documentation for which I 
> know you're working on.)

I can't answer all of the question, but the switch command gets you to a
context on the remote side. So if it could delve down levels deep, it
would have to be atleast in the same context at myiax.com server.
Steven Critchfield  <critch at basesys.com>

More information about the asterisk-dev mailing list