[asterisk-dev] Planning for Asterisk 1.6.1 - chan_sip

Leif Madsen leif.madsen at asteriskdocs.org
Tue Feb 17 21:08:26 CST 2009



Jeffrey Ollie wrote:
> On Tue, Feb 17, 2009 at 4:40 PM, Matthew Nicholson
> <mnicholson at digium.com> wrote:
>> Instead of having a bunch of different hard coded types (friend, user,
>> peer, trunk, service), I think we should have a set of options that each
>> type corresponds to.  For example, if I just want to match incoming
>> calls on ip and port, there should be something like match=ip,port.
>> Setting type=peer should just implicitly set match=ip,port.  Otherwise I
>> fear we will end up with a special type= option for each type of
>> matching people want to do.
>>
>> Basically I think we should enumerate each sip call matching strategy a
>> user may want to use, then create various options that match.
> 
> That makes a lot more sense to me, as I have never been able to
> remember the difference between user/peer (if I ever even understood
> it anyway).

That seems to make a lot of sense to me too. Is there any particular reason this 
isn't possible, or the correct approach?

Leif.



More information about the asterisk-dev mailing list