[asterisk-users] Hint extension issue - bug?

Andrew Kohlsmith akohlsmith-asterisk at benshaw.com
Wed Aug 23 06:30:01 MST 2006


On Wednesday 23 August 2006 08:48, Watkins, Bradley wrote:
> It's not a bug.  When you use type=friend, it will create a user object
> *and* a peer object.  This will make call-limit not function, thereby
> breaking hints.  There is no reason to use friend anyway.  It does not
> gain you any functionality, and in fact breaks some.

This is broken behaviour.

I don't know why we have the distinction of users and peers in the first 
place.  A single entry with something along the line of "calltype" taking 
"incoming", "outgoing" or "both" would be far clearer and eliminate all this 
inconsistency.  

Call-limiting not working with users is just as dumb an idea as users not 
being able to trunk calls in iax2.  They're artificial boundaries set up for 
no reason other than to force a distinction between the two types of entries.  
Eliminate all the crap and let me use the damn PBX how I want; that's one of 
the biggest features of Asterisk.  Stop trying to protect me for my own good.  
Document the shit, make it consistent and let the community support the 
clueless.  You don't see this kind of crap with apache, openswan, postfix or 
even the kernel itself. 

There's no need to tie my hands behind my back in order to protect the newb.  
All you'll end up with is a system only newbs want to use.

Before anyone accuses me of not putting my money where my mouth is: I've 
submitted a number of patches over the years to correct or address what I 
consider inconsistencies, and I do what I can to test out trunk, report bugs 
and document.  I'm doing what I can to help the system.  :-)

-A.



More information about the asterisk-users mailing list