Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[asterisk-users] Asterisk 11 - looking for ideas and a possible solution


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





PostPosted: Sat Jan 25, 2014 8:53 am    Post subject: [asterisk-users] Asterisk 11 - looking for ideas and a possi Reply with quote

First, let me thank all of you for your input - I was looking for some sort of an API to interface with Asterisk via REST. Python, Ruby or something that we could "webify" using PHP.

Some of you suggested Asterisk 12 - I love the idea, but unfortunately, we have an Asterisk 11 install. It seems, and I could be wrong, that Asterisk 12 is a whole new 'ball game' so to speak. The big thing is pjsip - nice idea and I really like it. It looks like a bit of a learning curve and I don't want have to re-learn at this point - I will, but not right this second!  However, I have questions:


1. Is it necessary to use pjsip for Asterisk 12 as the extension.conf, sip.conf has changed gears a little. Can I backtrack to the previous SIP stack, which segways into another question:


2.  If this is possible (the above scenario) is it still possible to use these new cool features along with the previous SIP stack so that I can implement the API?


Thanks to anyone who can give me insight. I don't mean to sound lazy, but v12 seems to be so new that the information is not as plentiful as previous versions. I figured there has to be someone that was 'on the ball' with this and would be happy to share their knowledge!


Thanks again!

G
Back to top
jcolp at digium.com
Guest





PostPosted: Sat Jan 25, 2014 9:06 am    Post subject: [asterisk-users] Asterisk 11 - looking for ideas and a possi Reply with quote

On 14-01-25 09:54 AM, James Wystead wrote:
Quote:
First, let me thank all of you for your input - I was looking for some
sort of an API to interface with Asterisk via REST. Python, Ruby or
something that we could "webify" using PHP.

It all depends on what you want to do the with API as well...

Quote:
Some of you suggested Asterisk 12 - I love the idea, but unfortunately,
we have an Asterisk 11 install. It seems, and I could be wrong, that
Asterisk 12 is a whole new 'ball game' so to speak. The big thing is
pjsip - nice idea and I really like it. It looks like a bit of a
learning curve and I don't want have to re-learn at this point - I will,
but not right this second! However, I have questions:

1. Is it necessary to use pjsip for Asterisk 12 as the extension.conf,
sip.conf has changed gears a little. Can I backtrack to the previous SIP
stack, which segways into another question:

The chan_sip module has not been removed and works perfectly fine in 12.
You can even use both, provided you bind each to different ports.
Dialplan is also the same as in the past.

Quote:
2. If this is possible (the above scenario) is it still possible to use
these new cool features along with the previous SIP stack so that I can
implement the API?

Depends on what you mean by cool new features. The ARI (Asterisk REST
interface) work is agnostic of channel drivers, it has no specialized
logic for any and any present channel driver can be used with it.

Cheers,

--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: www.digium.com & www.asterisk.org

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
szilverthorne at gmail...
Guest





PostPosted: Sat Jan 25, 2014 9:44 am    Post subject: [asterisk-users] Asterisk 11 - looking for ideas and a possi Reply with quote

Oh - no kidding!

What we want to do is be able to create users, voicemail accounts and some of the basic features. Nothing fancy, I'll create the dialplan by hand of course.


So, if I understand, I can use the chan_sip, using the old ways (Asterisk 11) and the Asterisk 11 CLI commands - that is what I'm familiar with.


I can use this and still use the new AMI/API features as well as the real time database config?


I just want to be 100% clear - sometimes I need to hear an explanation a couple of times before it sinks in!


Thanks 



On Sat, Jan 25, 2014 at 9:07 AM, Joshua Colp <jcolp@digium.com (jcolp@digium.com)> wrote:
Quote:

On 14-01-25 09:54 AM, James Wystead wrote:
Quote:
First, let me thank all of you for your input - I was looking for some
sort of an API to interface with Asterisk via REST. Python, Ruby or
something that we could "webify" using PHP.


It all depends on what you want to do the with API as well...

Quote:
Some of you suggested Asterisk 12 - I love the idea, but unfortunately,
we have an Asterisk 11 install. It seems, and I could be wrong, that
Asterisk 12 is a whole new 'ball game' so to speak. The big thing is
pjsip - nice idea and I really like it. It looks like a bit of a
learning curve and I don't want have to re-learn at this point - I will,
but not right this second!  However, I have questions:

1. Is it necessary to use pjsip for Asterisk 12 as the extension.conf,
sip.conf has changed gears a little. Can I backtrack to the previous SIP
stack, which segways into another question:


The chan_sip module has not been removed and works perfectly fine in 12.
You can even use both, provided you bind each to different ports.
Dialplan is also the same as in the past.

Quote:
2.  If this is possible (the above scenario) is it still possible to use
these new cool features along with the previous SIP stack so that I can
implement the API?


Depends on what you mean by cool new features. The ARI (Asterisk REST
interface) work is agnostic of channel drivers, it has no specialized
logic for any and any present channel driver can be used with it.

Cheers,

--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at:  www.digium.com  & www.asterisk.org

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
jcolp at digium.com
Guest





PostPosted: Sat Jan 25, 2014 9:47 am    Post subject: [asterisk-users] Asterisk 11 - looking for ideas and a possi Reply with quote

On 14-01-25 10:44 AM, James Wystead wrote:
Quote:
Oh - no kidding!

What we want to do is be able to create users, voicemail accounts and
some of the basic features. Nothing fancy, I'll create the dialplan by
hand of course.

The Asterisk REST interface does not currently provide this
functionality. It's not for management, it's for writing telephony
applications (such as a new app_queue or app_voicemail) outside of Asterisk.

Quote:
So, if I understand, I can use the chan_sip, using the old ways
(Asterisk 11) and the Asterisk 11 CLI commands - that is what I'm
familiar with.

Yes.

Quote:
I can use this and still use the new AMI/API features as well as the
real time database config?

Yes.

Cheers,

--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: www.digium.com & www.asterisk.org

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
szilverthorne at gmail...
Guest





PostPosted: Sat Jan 25, 2014 10:13 am    Post subject: [asterisk-users] Asterisk 11 - looking for ideas and a possi Reply with quote

On that note, Joshua , while I have your attention. I wanted to ask this:

Is there an available API or some other medium that can interface with Asterisk? Something that we can write, perhaps some PHP scripts and put and get commands to some API that can manage Asterisk in that way?


I also understand that there is a real time database module.


Thanks - G



On Sat, Jan 25, 2014 at 9:47 AM, Joshua Colp <jcolp@digium.com (jcolp@digium.com)> wrote:
Quote:
On 14-01-25 10:44 AM, James Wystead wrote:
Quote:
Oh - no kidding!

What we want to do is be able to create users, voicemail accounts and
some of the basic features. Nothing fancy, I'll create the dialplan by
hand of course.


The Asterisk REST interface does not currently provide this
functionality. It's not for management, it's for writing telephony
applications (such as a new app_queue or app_voicemail) outside of Asterisk.

Quote:
So, if I understand, I can use the chan_sip, using the old ways
(Asterisk 11) and the Asterisk 11 CLI commands - that is what I'm
familiar with.


Yes.

Quote:
I can use this and still use the new AMI/API features as well as the
real time database config?


Yes.

Cheers,

--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at:  www.digium.com  & www.asterisk.org


Back to top
jcolp at digium.com
Guest





PostPosted: Sat Jan 25, 2014 10:15 am    Post subject: [asterisk-users] Asterisk 11 - looking for ideas and a possi Reply with quote

On 14-01-25 11:13 AM, James Wystead wrote:
Quote:
On that note, Joshua , while I have your attention. I wanted to ask this:

Is there an available API or some other medium that can interface with
Asterisk? Something that we can write, perhaps some PHP scripts and put
and get commands to some API that can manage Asterisk in that way?

That's not an area I work in so I don't know what others have come up with.

Quote:
I also understand that there is a real time database module.

You can store stuff in a database and have it used as a source for
configuration and such, yes.

--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: www.digium.com & www.asterisk.org

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
szilverthorne at gmail...
Guest





PostPosted: Sat Jan 25, 2014 10:17 am    Post subject: [asterisk-users] Asterisk 11 - looking for ideas and a possi Reply with quote

Okay - I thank you for your time.

Much appreciated!


Glen



On Sat, Jan 25, 2014 at 10:15 AM, Joshua Colp <jcolp@digium.com (jcolp@digium.com)> wrote:
Quote:
On 14-01-25 11:13 AM, James Wystead wrote:
Quote:
On that note, Joshua , while I have your attention. I wanted to ask this:

Is there an available API or some other medium that can interface with
Asterisk? Something that we can write, perhaps some PHP scripts and put
and get commands to some API that can manage Asterisk in that way?


That's not an area I work in so I don't know what others have come up with.

Quote:
I also understand that there is a real time database module.


You can store stuff in a database and have it used as a source for
configuration and such, yes.

--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at:  www.digium.com  & www.asterisk.org


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