SIP Trunk: PEER Details - type=peer vs type=friend

bobz
Posts: 31
Member Since:
2006-07-16

I am trying to set up a SIP Trunk in freePBX.

Under the PEER Details, I have seen these examples for "type" in a few places:
type=peer
and
type=friend

When does it make sense to user "peer" instead of "friend" or vice versa?



engjohn
Posts: 522
Member Since:
2006-05-31
Re: SIP Trunk: PEER Details - type=peer vs type=friend

not 100% sure, but this may help...

http://www.voip-info.org/wiki/view/Asterisk+SIP+user+vs+peer



eihoward
Posts: 137
Member Since:
2006-06-15
Re: SIP Trunk: PEER Details - type=peer vs type=friend

This might further explain the differences:

* peer: A SIP entity to which Asterisk sends calls (a SIP provider for example). If you want a user (extension) to have multiple phones, define an extension that calls two SIP peers. The peer authenticates at registration.
* user: A SIP entity which places calls through Asterisk (A phone which can place calls only). Users authenticate to reach services with their context.
* friend: An entity which is both a user and a peer. This make sense for most desk handsets and other devices. Asterisk will create two objects, one peer and one user, with the same name.

Reference:
http://www.voip-info.org/wiki/

All the details on sip.conf and explanation of all parameters:
http://www.voip-info.org/wiki-Asterisk+config+sip.conf

8-)



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.