Another way to handle this....

> > Local server:
> > 
> > register => [EMAIL PROTECTED]
> > ;
> > [voip2p]
> > type=peer
> > host=dynamic
> > port=4569
> > trunk=no
> > qualify=yes
> > context=IAX
> > 
> > Remote server:
> > 
> > register => [EMAIL PROTECTED]
> > ;
> > [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/[EMAIL PROTECTED]/[EMAIL PROTECTED]) 
to handle outgoing calls. Works fine.

Rich


_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to