see http://www.voip-info.org/wiki/view/Asterisk+SIP+user+vs+peer
perhaps it can help you 

 
2006/8/11, Rich Adamson <[EMAIL PROTECTED]>:
Shaun Hofer wrote:
> ok maybe I can explain my problem better. There two trunks both have the same
> details except one is type=peer (and only does ulaw) and the other is type
> friend (and does ulaw/alaw/g729). Incoming calls should be only going into
> the type=friend trunk, NOT into the type=peer trunk. Both should be able to
> make out going calls. Yet depending on the order in sip.conf, the type=peer
> will receive calls.
>
> Marco I understand how type works, thats not the problem. It seems Asterisk is
> sending incoming calls to a trunk that has type=peer. As you clearly pointed
> out to every one else that this shouldn't be happening.

If I recall correctly (and that could be an issue), Olle posted
something a month or so ago relative to this. I believe he was heading
in a direction that essentially did away with this friend, peer, user
stuff. I'm thinking that same post talked about which parameters were
used for finding a match, and the ordering of those parameters (eg, IP,
username, secret).

I didn't save the post, but maybe he'll read this and repost something
more accurate then my memory. ;)

_______________________________________________
--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

_______________________________________________
--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