[asterisk-users] "Real" API for Perl?

Lee Jenkins lee at datatrakpos.com
Mon Feb 4 13:41:18 CST 2008


Alex Balashov wrote:
> Well, no, there really aren't any prebuilt high-level frameworks for 
> approaching Asterisk through the Manager API or AGI.  Instead, there are 
> just AGI bindings that allow you to integrate dial plan logic with 
> outboard code.
> 

I thought that the OP was asking for something to perl what Asterisk-Java does 
for java coders.  I would definitely consider Asterisk-Java to be a framework, 
though not so much with PasAGI which is more of an class object wrapper around 
AGI functions that I wrote a while back because I'm lazy that way ;)

> I always figured that was kind of the whole point of such bindings, so 
> nothing about it strikes me as incomplete or lacking in a sufficient 
> degree of "reality."  The only difference between this and Asterisk-java 
> is simply that the latter encapsulates many of these actions in more 
> high-level wrappers, which is likely to be a concession to the 
> phenomenology of Java Thinking(TM) more than anything else.
> 
> Your mileage may vary.
> 

I'm not sure what your point is, but I'll say that I'm a definite proponent of 
abstraction layers provided they don't bar access to lower level logic when I 
need it.  I think you'll agree that good abstractions lend themselves to reuse 
and reduced development time (easy of use, less runtime logic errors, easier to 
extend, etc).

-- 
Warm Regards,

Lee

"Everything I needed to learn in life, I learned selling encyclopedias door to 
door."



More information about the asterisk-users mailing list