[asterisk-users] SIP trunks: order or type

Fran Oliveira tech.oliveira at gmail.com
Fri Aug 11 01:24:45 MST 2006


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


2006/8/11, Rich Adamson <radamson at routers.com>:
>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060811/1ce032f8/attachment.htm


More information about the asterisk-users mailing list