[Asterisk-Users] IAX error messages in log

Rich Adamson radamson at routers.com
Mon Dec 8 15:44:29 MST 2003


Another way to handle this....

> > Local server:
> > 
> > register => voip1p at voip2.test.net
> > ;
> > [voip2p]
> > type=peer
> > host=dynamic
> > port=4569
> > trunk=no
> > qualify=yes
> > context=IAX
> > 
> > Remote server:
> > 
> > register => voip2p at voip1.test.net
> > ;
> > [voip1p]
> > type=peer
> > host=dynamic
> > port=4569
> > trunk=no
> > qualify=yes
> > context=IAX
> 
> this is fine if you never want to place calls between the servers
> you'll need two statements -- one of type 'user' for inbound calls
> one of type 'peer' for outbound calls on each *. that may have
> something to do with the log messages as well...

You don't need both user and peer. Set the 'user' part of that to
handle incoming calls. Use something like
 exten => 500,2,Dial(IAX2/guest at misery.digium.com/s at default) 
to handle outgoing calls. Works fine.

Rich





More information about the asterisk-users mailing list