Re: [asterisk-users] Question about Asterisk 12

2014-01-22 Thread Jacob.E.Miles
Maybe it's just me if I'm not mistaken the three things you listed are
usually configured using the config files not on CLI.

 

Jacob 

 

From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of James
Wystead
Sent: Wednesday, January 22, 2014 3:08 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] Question about Asterisk 12

 

Okay - maybe I'm just suffering from a moment of horrible ADD - but, I'm
a little lost. 

I see that Asterisk 12 has a nice REST API - very nice - something I can
use. However, and this is gonna sound dumb - but all the CLI commands
are different now. What did I miss?

 

Can anyone, please, anyone point me to a good, simple to understand
tutorial on the new CLI? I am so, so freaking lost! I'm not looking for
hand-holding, I just want to understand.

 

Something that will show me how to:

 

*   create users
*   configure SIP trunks
*   configure basic dialplan

I'm lost - anyone point me to a resource that is easy to follow? Once I
get the jist, I think I'll be fine.

 

I looked on http://www.voip-info.org http://www.voip-info.org/  -
maybe I missed it?

The Digium/Asterisk site - I see all sorts of cool things about the REST
API, but CLI - maybe I missed it!!??  - again, I could be looking in the
wrong place?

 

 

 

Overwhelming - sigh.

 

Thank much - any help would be appreciated - next time you are in
Manchester NH - I'll make you my fave Tequila Sour drink!

 

G

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

Re: [asterisk-users] Asterisk API

2014-01-13 Thread Jacob.E.Miles
Yes, this would most likely be a better solution (REST API is in
Asterisk 12), just be careful about putting your dialplan in a Real Time
Database.  You sometimes have to do things a little different if your
dialplan is in the RTDB.  As well you need to make sure security is
locked down when using this approach, but security is needed for all
approaches.

 

Jacob

 

From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of James
Wystead
Sent: Monday, January 13, 2014 7:24 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Asterisk API

 

Good Day, Ishfaq;

 

This may be a much better idea than the REST API. 

Correct me if I'm wrong, but the concept is this:

 

You write to the database, and this gives the same result as perhaps
modifying the dialplan, sip, voicemail, etc *without* having to
physically modify the extensions.conf, sip.conf, voicemail.conf?

 

Am I on the right track?

 

Thanks! 

 

On Mon, Jan 13, 2014 at 4:16 AM, Ishfaq Malik i...@pack-net.co.uk
wrote:

 

On 10 January 2014 17:12, James Wystead szilvertho...@gmail.com wrote:

Hello Folks;

 

I have an Asterisk server 

Asterisk 11.7.0 built by root @xxx on a x86_64 running Linux on
2013-12-27 18:47:44 UTC

 

No FreePBX, no AsteriskNOW, no Elastix. Just Asterisk.

 

Is there an API out there that anyone knows of that I can pass commands,
etc to Asterisk? Creating Extensions, adding voicemail users, setting up
voicemail, etc?

 

I'm kind of clueless. Is there something available?

 

Thanks - Glen

 

 

You could use asterisk realtime architecture and use your favourite
database to hold peer/voicemail/dialplan configuration.

 

https://wiki.asterisk.org/wiki/display/AST/Realtime+Database+Configurati
on 





 

-- 

Ishfaq Malik 
Department: VOIP Support
Company: Packnet Limited
t: +44 (0)845 004 4994 tel:%2B44%20%280%29845%20004%204994 
f: +44 (0)161 660 9825 tel:%2B44%20%280%29161%20660%209825 
e: i...@pack-net.co.uk
w: http://www.pack-net.co.uk
 
Registered Address: PACKNET LIMITED, Duplex 2, Ducie House
37 Ducie Street 
Manchester, M1 2JW
COMPANY REG NO. 04920552


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

 

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