C F wrote:
Kevin, are you saying that in 1.2 a peer can make calls to asterisk as
well, so there is a reason to set the context?
If so what is the difference between friend and peer?

Yes. All configuration options supported under 'type=user' are also supported under 'type=peer'.

The difference between friend and peer is the same as defining _both_ a user and peer, since that is what 'type=friend' does internally.

The only benefit of type=user is when you _want_ to match on username regardless of IP the calls originate from. If the peer is registering to you, you don't need it. If they are on a fixed IP, you don't need it. 'type=peer' is _never_ matched on username for incoming calls, only matched on IP address/port number (unless you use insecure=port or higher).
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to