Re: [asterisk-users] A few (simple?) questions

2011-12-14 Thread Danny Nicholas
You are 110% correct Carlos, but I’m sure B.T. likes to eat.  We all have to
do things we don’t like.

 

From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Carlos Alvarez
Sent: Wednesday, December 14, 2011 10:29 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] A few (simple?) questions

 

Please feel free to pass this along:

 

DON'T DO IT!

 

Taking questionable code, from what appears to be a questionable
relationship, and then trying to extend its life is probably the craziest
way to go about this.

 

You, personally, are in for a steep learning curve on this.  Having worked
with Asterisk for six years now, I can look back and see that jumping into
complex projects with it at the beginning would have led to many problems.

 

 

On Wed, Dec 14, 2011 at 9:22 AM, Brynjolfur Thorvardsson 
wrote:

Hi Carlos and thanks for the advice. I agree with you wholeheartedly but I’m
not sure if I have much choice in the matter. The system was originally
designed to offer PBX services to private clinics and currently handles
between 10 and 20, with 70 phone numbers. The guys I work for want to expand
into other market segments here in Denmark and my job is to re-install the
system on some new servers and start making changes.

 

The code is not very well written, the original developers have totally
misunderstood the RVM model in Rails and the Asterix config files are full
of unused code and example code. There is also some very sloppy version
control in the Rails/Adhearsion files and absolutely no regression testing.
But, hey, it seems to work!

 

I would like to start from fresh and re-develop the system, I am not at all
confident of being able to just lift the code from the current servers and
copy/paste it all onto some new ones and expect it to work. Your solid
advice might help me make the case for a fresh start, but whichever way it
goes, at least I’ll be kept busy ...

 

Fra: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] På vegne af Carlos Alvarez
Sendt: 14. december 2011 16:58


Til: Asterisk Users Mailing List - Non-Commercial Discussion
Emne: Re: [asterisk-users] A few (simple?) questions

 

Getting involved in an existing, and possibly broken system is the wrong way
to start with Asterisk.  I know, because that's how my career in VoIP
started.  I had to unlearn a lot of poor practices I learned from that
system.

 

But anyway without prior documentation or the ability to get the original
design intention, I think your next step is to go right back to the
beginning, and gather the user requirements and create a design.  Then see
if it was solved properly, or you need to start over, or what.  Without the
basics I don't think you can answer the questions you had.  Once you know
what was needed and why it was custom-written, you'll probably have all
those answers.  Just know that in its basic form, to process calls for a
normal company, nothing is needed other than one Asterisk server.
Everything else is extra, which may or may not be warranted.  I've seen a
number of deployments that seemed geared more towards making a very
profitable complex custom system than just giving the customer the best
value.

 

Asterisk is a particularly noob-unfriendly product with a lot of pitfalls
and relatively poor documentation.  Don't go into it lightly, and always be
aware that doing it wrong results in anything from system failures to
thousands of dollars in toll fraud costs.

 

On Wed, Dec 14, 2011 at 8:38 AM, Brynjolfur Thorvardsson 
wrote:

Hi Carlos and thanks for your answer. To begin with: I am a noob in all
telephony/asterisk/ror fields, coming from a Classic ASP/MS background! I’ve
been nosing around in RoR and Asterisk for the last month or so and have
managed to create several RoR sites and to get an Asterisk server up and
running so me and my boss can phone each other using softphone on a
smartphone.

 

So, yes it’s going to be fun! And again, thanks for your answer.

 

 

Fra: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] På vegne af Carlos Alvarez
Sendt: 14. december 2011 16:13


Til: Asterisk Users Mailing List - Non-Commercial Discussion
Emne: Re: [asterisk-users] A few (simple?) questions

 

On Wed, Dec 14, 2011 at 2:18 AM, Brynjolfur Thorvardsson 
wrote:

 

I’ve been saddled with recreating a running Asterisk PBX setup (with Ruby on
Rails). Due to some wrangling between my client and the original developers
I am not able to talk to the developers themselves but have been given full
SSH access to their servers!

 

Jumping in without documentation or help when there is a questionable
relationship between the client and developer...this should be a lot of fun.

 

 

The system offers PBX services to  ~10 small firms and connects via a SIP
trunk to a Telecoms company.

 

Sound

Re: [asterisk-users] A few (simple?) questions

2011-12-14 Thread Carlos Alvarez
Please feel free to pass this along:

DON'T DO IT!

Taking questionable code, from what appears to be a questionable
relationship, and then trying to extend its life is probably the craziest
way to go about this.

You, personally, are in for a steep learning curve on this.  Having worked
with Asterisk for six years now, I can look back and see that jumping into
complex projects with it at the beginning would have led to many problems.



On Wed, Dec 14, 2011 at 9:22 AM, Brynjolfur Thorvardsson wrote:

> Hi Carlos and thanks for the advice. I agree with you wholeheartedly but
> I’m not sure if I have much choice in the matter. The system was originally
> designed to offer PBX services to private clinics and currently handles
> between 10 and 20, with 70 phone numbers. The guys I work for want to
> expand into other market segments here in Denmark and my job is to
> re-install the system on some new servers and start making changes.
>
> ** **
>
> The code is not very well written, the original developers have totally
> misunderstood the RVM model in Rails and the Asterix config files are full
> of unused code and example code. There is also some very sloppy version
> control in the Rails/Adhearsion files and absolutely no regression testing.
> But, hey, it seems to work!
>
> ** **
>
> I would like to start from fresh and re-develop the system, I am not at
> all confident of being able to just lift the code from the current servers
> and copy/paste it all onto some new ones and expect it to work. Your solid
> advice might help me make the case for a fresh start, but whichever way it
> goes, at least I’ll be kept busy ...
>
> ** **
>
> *Fra:* asterisk-users-boun...@lists.digium.com [mailto:
> asterisk-users-boun...@lists.digium.com] *På vegne af *Carlos Alvarez
> *Sendt:* 14. december 2011 16:58
>
> *Til:* Asterisk Users Mailing List - Non-Commercial Discussion
> *Emne:* Re: [asterisk-users] A few (simple?) questions
>
> ** **
>
> Getting involved in an existing, and possibly broken system is the wrong
> way to start with Asterisk.  I know, because that's how my career in VoIP
> started.  I had to unlearn a lot of poor practices I learned from that
> system.
>
> ** **
>
> But anyway without prior documentation or the ability to get the original
> design intention, I think your next step is to go right back to the
> beginning, and gather the user requirements and create a design.  Then see
> if it was solved properly, or you need to start over, or what.  Without the
> basics I don't think you can answer the questions you had.  Once you know
> what was needed and why it was custom-written, you'll probably have all
> those answers.  Just know that in its basic form, to process calls for a
> normal company, nothing is needed other than one Asterisk server.
>  Everything else is extra, which may or may not be warranted.  I've seen a
> number of deployments that seemed geared more towards making a very
> profitable complex custom system than just giving the customer the best
> value.
>
> ** **
>
> Asterisk is a particularly noob-unfriendly product with a lot of pitfalls
> and relatively poor documentation.  Don't go into it lightly, and always be
> aware that doing it wrong results in anything from system failures to
> thousands of dollars in toll fraud costs.
>
> ** **
>
> On Wed, Dec 14, 2011 at 8:38 AM, Brynjolfur Thorvardsson 
> wrote:
>
> Hi Carlos and thanks for your answer. To begin with: I am a noob in all
> telephony/asterisk/ror fields, coming from a Classic ASP/MS background!
> I’ve been nosing around in RoR and Asterisk for the last month or so and
> have managed to create several RoR sites and to get an Asterisk server up
> and running so me and my boss can phone each other using softphone on a
> smartphone.
>
>  
>
> So, yes it’s going to be fun! And again, thanks for your answer.
>
>  
>
>  
>
> *Fra:* asterisk-users-boun...@lists.digium.com [mailto:
> asterisk-users-boun...@lists.digium.com] *På vegne af *Carlos Alvarez
> *Sendt:* 14. december 2011 16:13
>
>
> *Til:* Asterisk Users Mailing List - Non-Commercial Discussion
> *Emne:* Re: [asterisk-users] A few (simple?) questions
>
>  
>
> On Wed, Dec 14, 2011 at 2:18 AM, Brynjolfur Thorvardsson 
> wrote:
>
>  
>
> I’ve been saddled with recreating a running Asterisk PBX setup (with Ruby
> on Rails). Due to some wrangling between my client and the original
> developers I am not able to talk to the developers themselves but have been
> given full SSH access to their servers!
>
>  
>
> Jumping in without documentation or help when there 

Re: [asterisk-users] A few (simple?) questions

2011-12-14 Thread Brynjolfur Thorvardsson
Hi Carlos and thanks for the advice. I agree with you wholeheartedly but I'm 
not sure if I have much choice in the matter. The system was originally 
designed to offer PBX services to private clinics and currently handles between 
10 and 20, with 70 phone numbers. The guys I work for want to expand into other 
market segments here in Denmark and my job is to re-install the system on some 
new servers and start making changes.

The code is not very well written, the original developers have totally 
misunderstood the RVM model in Rails and the Asterix config files are full of 
unused code and example code. There is also some very sloppy version control in 
the Rails/Adhearsion files and absolutely no regression testing. But, hey, it 
seems to work!

I would like to start from fresh and re-develop the system, I am not at all 
confident of being able to just lift the code from the current servers and 
copy/paste it all onto some new ones and expect it to work. Your solid advice 
might help me make the case for a fresh start, but whichever way it goes, at 
least I'll be kept busy ...

Fra: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] På vegne af Carlos Alvarez
Sendt: 14. december 2011 16:58
Til: Asterisk Users Mailing List - Non-Commercial Discussion
Emne: Re: [asterisk-users] A few (simple?) questions

Getting involved in an existing, and possibly broken system is the wrong way to 
start with Asterisk.  I know, because that's how my career in VoIP started.  I 
had to unlearn a lot of poor practices I learned from that system.

But anyway without prior documentation or the ability to get the original 
design intention, I think your next step is to go right back to the beginning, 
and gather the user requirements and create a design.  Then see if it was 
solved properly, or you need to start over, or what.  Without the basics I 
don't think you can answer the questions you had.  Once you know what was 
needed and why it was custom-written, you'll probably have all those answers.  
Just know that in its basic form, to process calls for a normal company, 
nothing is needed other than one Asterisk server.  Everything else is extra, 
which may or may not be warranted.  I've seen a number of deployments that 
seemed geared more towards making a very profitable complex custom system than 
just giving the customer the best value.

Asterisk is a particularly noob-unfriendly product with a lot of pitfalls and 
relatively poor documentation.  Don't go into it lightly, and always be aware 
that doing it wrong results in anything from system failures to thousands of 
dollars in toll fraud costs.

On Wed, Dec 14, 2011 at 8:38 AM, Brynjolfur Thorvardsson 
mailto:bi...@itanet.nu>> wrote:
Hi Carlos and thanks for your answer. To begin with: I am a noob in all 
telephony/asterisk/ror fields, coming from a Classic ASP/MS background! I've 
been nosing around in RoR and Asterisk for the last month or so and have 
managed to create several RoR sites and to get an Asterisk server up and 
running so me and my boss can phone each other using softphone on a smartphone.

So, yes it's going to be fun! And again, thanks for your answer.


Fra: 
asterisk-users-boun...@lists.digium.com<mailto:asterisk-users-boun...@lists.digium.com>
 
[mailto:asterisk-users-boun...@lists.digium.com<mailto:asterisk-users-boun...@lists.digium.com>]
 På vegne af Carlos Alvarez
Sendt: 14. december 2011 16:13

Til: Asterisk Users Mailing List - Non-Commercial Discussion
Emne: Re: [asterisk-users] A few (simple?) questions

On Wed, Dec 14, 2011 at 2:18 AM, Brynjolfur Thorvardsson 
mailto:bi...@itanet.nu>> wrote:

I've been saddled with recreating a running Asterisk PBX setup (with Ruby on 
Rails). Due to some wrangling between my client and the original developers I 
am not able to talk to the developers themselves but have been given full SSH 
access to their servers!

Jumping in without documentation or help when there is a questionable 
relationship between the client and developer...this should be a lot of fun.


The system offers PBX services to  ~10 small firms and connects via a SIP trunk 
to a Telecoms company.

Sounds way over-built, but since we don't know the intent of the architecture 
nor all the features expected, hard to say.

-  STUN server - is it necessary (given that there are many free STUN 
servers on the Internet), and why two?

I don't believe so.

-  Why have a separate Asterisk server for the trunk?
Can't think of any reason.

-  Is the Apache Message Queue server necessary?
"Necessary" is not something that can be answered.  In their environment as 
programmed, probably.  In general, can an Asterisk server run without it?  Yes. 
 A low-end single x86 server can easily support hundreds of endpoints and 
dozens of concurrent calls, with all Asterisk services running on a

Re: [asterisk-users] A few (simple?) questions

2011-12-14 Thread Carlos Alvarez
Getting involved in an existing, and possibly broken system is the wrong
way to start with Asterisk.  I know, because that's how my career in VoIP
started.  I had to unlearn a lot of poor practices I learned from that
system.

But anyway without prior documentation or the ability to get the original
design intention, I think your next step is to go right back to the
beginning, and gather the user requirements and create a design.  Then see
if it was solved properly, or you need to start over, or what.  Without the
basics I don't think you can answer the questions you had.  Once you know
what was needed and why it was custom-written, you'll probably have all
those answers.  Just know that in its basic form, to process calls for a
normal company, nothing is needed other than one Asterisk server.
 Everything else is extra, which may or may not be warranted.  I've seen a
number of deployments that seemed geared more towards making a very
profitable complex custom system than just giving the customer the best
value.

Asterisk is a particularly noob-unfriendly product with a lot of pitfalls
and relatively poor documentation.  Don't go into it lightly, and always be
aware that doing it wrong results in anything from system failures to
thousands of dollars in toll fraud costs.


On Wed, Dec 14, 2011 at 8:38 AM, Brynjolfur Thorvardsson wrote:

> Hi Carlos and thanks for your answer. To begin with: I am a noob in all
> telephony/asterisk/ror fields, coming from a Classic ASP/MS background!
> I’ve been nosing around in RoR and Asterisk for the last month or so and
> have managed to create several RoR sites and to get an Asterisk server up
> and running so me and my boss can phone each other using softphone on a
> smartphone.
>
> ** **
>
> So, yes it’s going to be fun! And again, thanks for your answer.
>
> ** **
>
> ** **
>
> *Fra:* asterisk-users-boun...@lists.digium.com [mailto:
> asterisk-users-boun...@lists.digium.com] *På vegne af *Carlos Alvarez
> *Sendt:* 14. december 2011 16:13
>
> *Til:* Asterisk Users Mailing List - Non-Commercial Discussion
> *Emne:* Re: [asterisk-users] A few (simple?) questions
>
> ** **
>
> On Wed, Dec 14, 2011 at 2:18 AM, Brynjolfur Thorvardsson 
> wrote:
>
>  
>
> I’ve been saddled with recreating a running Asterisk PBX setup (with Ruby
> on Rails). Due to some wrangling between my client and the original
> developers I am not able to talk to the developers themselves but have been
> given full SSH access to their servers!
>
> ** **
>
> Jumping in without documentation or help when there is a questionable
> relationship between the client and developer...this should be a lot of fun.
> 
>
>  
>
> ** **
>
> The system offers PBX services to  ~10 small firms and connects via a SIP
> trunk to a Telecoms company.
>
> ** **
>
> Sounds way over-built, but since we don't know the intent of the
> architecture nor all the features expected, hard to say.
>
>  
>
> -  STUN server – is it necessary (given that there are many free
> STUN servers on the Internet), and why two?
>
> ** **
>
> I don't believe so. 
>
> -  Why have a separate Asterisk server for the trunk?
>
> Can't think of any reason. 
>
> -  Is the Apache Message Queue server necessary?
>
> "Necessary" is not something that can be answered.  In their environment
> as programmed, probably.  In general, can an Asterisk server run without
> it?  Yes.  A low-end single x86 server can easily support hundreds of
> endpoints and dozens of concurrent calls, with all Asterisk services
> running on a single server.
>
> Do you have Asterisk expertise already?  RoR, SQL, other telephony...?
>
>
> 
>
> ** **
>
> -- 
>
> Carlos Alvarez
>
> TelEvolve
>
> 602-889-3003
>
> ** **
>
> ** **
>
>  
>
> --
> _
> -- 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
>



-- 
Carlos Alvarez
TelEvolve
602-889-3003
--
_
-- 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] A few (simple?) questions

2011-12-14 Thread Brynjolfur Thorvardsson
Hi Carlos and thanks for your answer. To begin with: I am a noob in all 
telephony/asterisk/ror fields, coming from a Classic ASP/MS background! I've 
been nosing around in RoR and Asterisk for the last month or so and have 
managed to create several RoR sites and to get an Asterisk server up and 
running so me and my boss can phone each other using softphone on a smartphone.

So, yes it's going to be fun! And again, thanks for your answer.


Fra: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] På vegne af Carlos Alvarez
Sendt: 14. december 2011 16:13
Til: Asterisk Users Mailing List - Non-Commercial Discussion
Emne: Re: [asterisk-users] A few (simple?) questions

On Wed, Dec 14, 2011 at 2:18 AM, Brynjolfur Thorvardsson 
mailto:bi...@itanet.nu>> wrote:

I've been saddled with recreating a running Asterisk PBX setup (with Ruby on 
Rails). Due to some wrangling between my client and the original developers I 
am not able to talk to the developers themselves but have been given full SSH 
access to their servers!

Jumping in without documentation or help when there is a questionable 
relationship between the client and developer...this should be a lot of fun.


The system offers PBX services to  ~10 small firms and connects via a SIP trunk 
to a Telecoms company.

Sounds way over-built, but since we don't know the intent of the architecture 
nor all the features expected, hard to say.

-  STUN server - is it necessary (given that there are many free STUN 
servers on the Internet), and why two?

I don't believe so.

-  Why have a separate Asterisk server for the trunk?
Can't think of any reason.

-  Is the Apache Message Queue server necessary?
"Necessary" is not something that can be answered.  In their environment as 
programmed, probably.  In general, can an Asterisk server run without it?  Yes. 
 A low-end single x86 server can easily support hundreds of endpoints and 
dozens of concurrent calls, with all Asterisk services running on a single 
server.
Do you have Asterisk expertise already?  RoR, SQL, other telephony...?


--
Carlos Alvarez
TelEvolve
602-889-3003




--
_
-- 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] A few (simple?) questions

2011-12-14 Thread Carlos Alvarez
On Wed, Dec 14, 2011 at 2:18 AM, Brynjolfur Thorvardsson wrote:

>
>
> **
>
> I’ve been saddled with recreating a running Asterisk PBX setup (with Ruby
> on Rails). Due to some wrangling between my client and the original
> developers I am not able to talk to the developers themselves but have been
> given full SSH access to their servers!
>

Jumping in without documentation or help when there is a questionable
relationship between the client and developer...this should be a lot of fun.


> 
>
>
> The system offers PBX services to  ~10 small firms and connects via a SIP
> trunk to a Telecoms company.
>

Sounds way over-built, but since we don't know the intent of the
architecture nor all the features expected, hard to say.


> 
>
> -  **STUN server – is it necessary (given that there are many
> free STUN servers on the Internet), and why two?
>

I don't believe so.

> **-  **Why have a separate Asterisk server for the trunk?
>
Can't think of any reason.

> 
>
> **-  **Is the Apache Message Queue server necessary?
>
"Necessary" is not something that can be answered.  In their environment as
programmed, probably.  In general, can an Asterisk server run without it?
 Yes.  A low-end single x86 server can easily support hundreds of endpoints
and dozens of concurrent calls, with all Asterisk services running on a
single server.

> **
>
Do you have Asterisk expertise already?  RoR, SQL, other telephony...?


-- 
Carlos Alvarez
TelEvolve
602-889-3003
--
_
-- 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] A few (simple?) questions

2011-12-14 Thread Brynjolfur Thorvardsson
Hi, thanks for your answer. I suppose that both the STUN servers and ActiveMQ 
are there to give a better/more reliable service which is obviously a good idea.

>From trying to find out some more on the Internet I get the idea that CSTele 
>might have something to do with Circuit Switching. I am guessing that the 
>CSTele server establishes a virtual switching circuit to the queue server and 
>trunk server, possibly through a separate network card (servers 3,4 and 5 all 
>have an extra ethernet card without fixed IP address).

Regards

Binni


-Oprindelig meddelelse-
Fra: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] På vegne af Patrick Lists
Sendt: 14. december 2011 13:45
Til: Asterisk Users Mailing List - Non-Commercial Discussion
Emne: Re: [asterisk-users] A few (simple?) questions

On 14-12-11 10:18, Brynjolfur Thorvardsson wrote:
> Hi all
>
> I've been saddled with recreating a running Asterisk PBX setup (with
> Ruby on Rails). Due to some wrangling between my client and the
> original developers I am not able to talk to the developers themselves
> but have been given full SSH access to their servers!
>
> My questions are regarding their setup - they have functionality split
> over several servers as follows (all running CentOS):
>
> Server1 MySQL
>
> Server2 Ruby on Rails + CSTele
>
> Server3 Asterisk 1.4.19 + STUN #1
>
> Server4 Trunk (Asterisk 1.4.19) + STUN #2
>
> Server5 Apache ActiveMQ
>
> The system offers PBX services to ~10 small firms and connects via a
> SIP trunk to a Telecoms company.
>
> My questions are as follows:
>
> -STUN server - is it necessary (given that there are many free STUN
> servers on the Internet), and why two?

Why would you want to rely on a free stun server which can disappear anytime 
when offering commercial services? I would also deploy my own stun servers for 
paying customers.

> -Why have a separate Asterisk server for the trunk?

No idea. Maybe the question could be: why have two Asterisk servers?
Perhaps for for redundancy/failover?

> -Is the Apache Message Queue server necessary?

No idea. I know BigBlueButton uses Apache MQ & Asterisk but I don't know the 
specifics.

> -My info says that server 2 is running CSTele but I have been unable
> to find a process or program that matches this (except for a comment
> in a daemon, ast_ami_events.rb, running on Rails server). Can anybody
> tell me what CSTele might be?

No idea.

Good luck!

Regards,
Patrick


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


Re: [asterisk-users] A few (simple?) questions

2011-12-14 Thread Patrick Lists

On 14-12-11 10:18, Brynjolfur Thorvardsson wrote:

Hi all

I’ve been saddled with recreating a running Asterisk PBX setup (with
Ruby on Rails). Due to some wrangling between my client and the original
developers I am not able to talk to the developers themselves but have
been given full SSH access to their servers!

My questions are regarding their setup – they have functionality split
over several servers as follows (all running CentOS):

Server1 MySQL

Server2 Ruby on Rails + CSTele

Server3 Asterisk 1.4.19 + STUN #1

Server4 Trunk (Asterisk 1.4.19) + STUN #2

Server5 Apache ActiveMQ

The system offers PBX services to ~10 small firms and connects via a SIP
trunk to a Telecoms company.

My questions are as follows:

-STUN server – is it necessary (given that there are many free STUN
servers on the Internet), and why two?


Why would you want to rely on a free stun server which can disappear 
anytime when offering commercial services? I would also deploy my own 
stun servers for paying customers.



-Why have a separate Asterisk server for the trunk?


No idea. Maybe the question could be: why have two Asterisk servers? 
Perhaps for for redundancy/failover?



-Is the Apache Message Queue server necessary?


No idea. I know BigBlueButton uses Apache MQ & Asterisk but I don't know 
the specifics.



-My info says that server 2 is running CSTele but I have been unable to
find a process or program that matches this (except for a comment in a
daemon, ast_ami_events.rb, running on Rails server). Can anybody tell me
what CSTele might be?


No idea.

Good luck!

Regards,
Patrick


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


[asterisk-users] A few (simple?) questions

2011-12-14 Thread Brynjolfur Thorvardsson
Hi all

I've been saddled with recreating a running Asterisk PBX setup (with Ruby on 
Rails). Due to some wrangling between my client and the original developers I 
am not able to talk to the developers themselves but have been given full SSH 
access to their servers!

My questions are regarding their setup - they have functionality split over 
several servers as follows (all running CentOS):

Server1 MySQL
Server2 Ruby on Rails + CSTele
Server3 Asterisk 1.4.19 + STUN #1
Server4 Trunk (Asterisk 1.4.19) + STUN #2
Server5 Apache ActiveMQ

The system offers PBX services to  ~10 small firms and connects via a SIP trunk 
to a Telecoms company.

My questions are as follows:

-  STUN server - is it necessary (given that there are many free STUN 
servers on the Internet), and why two?

-  Why have a separate Asterisk server for the trunk?

-  Is the Apache Message Queue server necessary?

-  My info says that server 2 is running CSTele but I have been unable 
to find a process or program that matches this (except for a comment in a 
daemon, ast_ami_events.rb, running on Rails server). Can anybody tell me what 
CSTele might be?

Many thanks

Binni

ITAnet
Kirkestien 20
9230  Svenstrup

Telefon: 3020 0868

Email: bi...@itanet.nu
WWW: http://www.itanet.nu


[cid:image001.gif@01CCBA43.F35D3990]

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