Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

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


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
ken at jots.org
Guest





PostPosted: Fri Feb 01, 2008 5:57 pm    Post subject: [asterisk-users] "Real" API for Perl? Reply with quote

Hi, all. I've used the perl/AGI interface, and... well, I found it kind
of hokey. Granted, this was in 1.2 days -- perhaps things have changed.
Regardless, I guess I have two questions:
1) Has the Perl/AGI "binding" improved since then?
2) Is there any chance of a "real" API for Perl?

Thanks much!

-Ken


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Back to top
abalashov at evaristes...
Guest





PostPosted: Sat Feb 02, 2008 1:22 am    Post subject: [asterisk-users] "Real" API for Perl? Reply with quote

Ken D'Ambrosio wrote:

Quote:
Hi, all. I've used the perl/AGI interface, and... well, I found it kind
of hokey. Granted, this was in 1.2 days -- perhaps things have changed.
Regardless, I guess I have two questions:
1) Has the Perl/AGI "binding" improved since then?
2) Is there any chance of a "real" API for Perl?

What is your criterion of "real"? That is to say, what do you need that
it does not provide?

I've used AGI and FastAGI in Perl extensively and it is yet to fail to
serve my purposes.
--
Alex Balashov
Evariste Systems
Web : http://www.evaristesys.com/
Tel : (+1) (678) 954-0670
Direct : (+1) (678) 954-0671
Mobile : (+1) (706) 338-8599
Back to top
lee at datatrakpos.com
Guest





PostPosted: Sat Feb 02, 2008 1:24 pm    Post subject: [asterisk-users] "Real" API for Perl? Reply with quote

Alex Balashov wrote:
Quote:
Ken D'Ambrosio wrote:

Quote:
Hi, all. I've used the perl/AGI interface, and... well, I found it kind
of hokey. Granted, this was in 1.2 days -- perhaps things have changed.
Regardless, I guess I have two questions:
1) Has the Perl/AGI "binding" improved since then?
2) Is there any chance of a "real" API for Perl?

What is your criterion of "real"? That is to say, what do you need that
it does not provide?

I've used AGI and FastAGI in Perl extensively and it is yet to fail to
serve my purposes.



Maybe Ken is referring to a pre made framework like Asterisk-Java or PasAGI. I
don't know perl so maybe there *is* a framework already.

--
Warm Regards,

Lee

"Everything I needed to learn in life, I learned selling encyclopedias door to
door."
Back to top
abalashov at evaristes...
Guest





PostPosted: Sat Feb 02, 2008 1:51 pm    Post subject: [asterisk-users] "Real" API for Perl? Reply with quote

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

Lee Jenkins wrote:
Quote:
Alex Balashov wrote:
Quote:
Ken D'Ambrosio wrote:

Quote:
Hi, all. I've used the perl/AGI interface, and... well, I found it kind
of hokey. Granted, this was in 1.2 days -- perhaps things have changed.
Regardless, I guess I have two questions:
1) Has the Perl/AGI "binding" improved since then?
2) Is there any chance of a "real" API for Perl?
What is your criterion of "real"? That is to say, what do you need that
it does not provide?

I've used AGI and FastAGI in Perl extensively and it is yet to fail to
serve my purposes.



Maybe Ken is referring to a pre made framework like Asterisk-Java or PasAGI. I
don't know perl so maybe there *is* a framework already.

--
Alex Balashov
Evariste Systems
Web : http://www.evaristesys.com/
Tel : (+1) (678) 954-0670
Direct : (+1) (678) 954-0671
Mobile : (+1) (706) 338-8599
Back to top
lee at datatrakpos.com
Guest





PostPosted: Mon Feb 04, 2008 2:41 pm    Post subject: [asterisk-users] "Real" API for Perl? Reply with quote

Alex Balashov wrote:
Quote:
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 Wink

Quote:
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."
Back to top
anthonyf at rockynet.com
Guest





PostPosted: Wed Feb 06, 2008 5:16 pm    Post subject: [asterisk-users] "Real" API for Perl? Reply with quote

Alex Balashov wrote:
Quote:
Well, no, there really aren't any prebuilt high-level frameworks for
approaching Asterisk through the Manager API or AGI.
There is actually a couple of CPAN packages for interacting with the AMI
in an event oriented fashion.

http://search.cpan.org/search?query=asterisk&mode=all

Enjoy!

--
Thank you and have a wonderful day,

Anthony Francis
Rockynet VOIP
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services