Re: [asterisk-users] Asterisk Hosting (Dedicated Servers)

2007-07-19 Thread Gordon Henderson
On Tue, 17 Jul 2007, [EMAIL PROTECTED] wrote:

 Hello guys,

 Does anyone has an Asterisk server hosted off-site ? Like in those data 
 centers that do web hosting in dedicated servers ?

 Is there a hosting company that has a special plan to host voip services 
 like this, or usually is hosted in those dedicated servers like the ones 
 I asked above ?

 What about QoS ? I know that most (if not all) are connected to their 
 switch through a 10Mbps/100Mbps port ? But ... without a QoS rule ... 
 even with that speed doesn't it affect the quality of voice ?

 Can you please tell me your experience ? Or point me some good hosting 
 companies ?

It can be a bit of a minefield - especially if it's an area you've not 
looked into before.

I've been doing this (in a very minor way) for over 10 years now.

So I run what could be described as a small hosting company, however, my 
hosts are currently inside another ISPs data centre rather than in a 
neutral data centre, so I get 100% of my Internet connectivity from my 
upstream ISP, and I am relying on them to do the right thing with having 
multiple transit providers and redundant network routing, UPSs and 
generators, all of which they have to my satisfaction.

The next step for me would be to host in some neutral facility, get my own 
IP address space, my own AS number, then connect into multiple transit 
providers and arrange peering through the various neutral connection 
points that exist in the UK (LINX, MaNAP, etc.) I'm not big enough for 
that ... yet ;-)

So I have routers and switches and connect into the ISP via a redundant 
mechanism (VRRP). I can apply QoS in my own routers, so that traffic from 
the Asterisk servers can be prioritised over the traffic from the LAMPy 
type servers, however, without the co-operation of the upstream ISP(s), 
you can't effectively apply QoS to the incoming traffic. (Fortunately in 
my instance, incoming is so much lighter than outgoing, and their network 
in not oversubscribed, so it's not really an issue)

The easiest way to start, would be to simply place hosts inside another 
ISPs network, and rely on them for quality transit - ie. make sure they 
have multiple transit providers themselves, good power supplies, UPS, 
generators, etc. and if they are good and don't oversell their bandwidth 
then for the most part you'll be just fine. Once you have several hosts 
you might want to look at having your own router(s) and switch(es), but 
this will depend on how the hosting company operates (and your budget!)

Finding that hosting company where you live is the challenge though! You 
need to ask lots of questions - can you get physical access to the 
servers? is it within driving distance? do you have remote screen  
keyboard facilities? (or if they offer remote hands and if so, how much 
do they charge?) How well do they connect to the world in general, and do 
they charge separate for power or bandwidth (and is bandwidth in terms of 
speed, or is it per bit pricing, or some combination of the 2?)

Start phoning  emailling - how fast do they answer the phone, or return 
email will be a good metric too...

In the UK, London appears to be power starved right now - it would appear 
that bandwidth is virtually free, but you'll get charged per amp used! 
Outside London you rarely have this restriction, but then bandwidth is 
costly as it's got to be back-hauled to London (or Manchester), so local 
knowledge is something you'll need to find out about.

Good luck!

Gordon

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Asterisk Hosting (Dedicated Servers)

2007-07-17 Thread marcelobiz
Thanks Gordon for your response,
It helped me a lot ...

I should have done this already, but the QoS issue was holding me back ... 
Actually, for now ... I'll start with just a backup box and test how it goes ...
I was looking for a kind of dedicated server hosting with a MPLS network that 
could give me a good level of QoS, but I didn't find it ...

Thanks again,

Marcelo

P.S: If anyone has another point ... I would be grateful in reading your 
opinions

-- Original message -- 
From: Gordon Henderson [EMAIL PROTECTED] 

 On Tue, 17 Jul 2007, [EMAIL PROTECTED] wrote: 
 
  Hello guys, 
  
  Does anyone has an Asterisk server hosted off-site ? Like in those data 
  centers that do web hosting in dedicated servers ? 
  
  Is there a hosting company that has a special plan to host voip services 
  like this, or usually is hosted in those dedicated servers like the ones 
  I asked above ? 
  
  What about QoS ? I know that most (if not all) are connected to their 
  switch through a 10Mbps/100Mbps port ? But ... without a QoS rule ... 
  even with that speed doesn't it affect the quality of voice ? 
  
  Can you please tell me your experience ? Or point me some good hosting 
  companies ? 
 
 It can be a bit of a minefield - especially if it's an area you've not 
 looked into before. 
 
 I've been doing this (in a very minor way) for over 10 years now. 
 
 So I run what could be described as a small hosting company, however, my 
 hosts are currently inside another ISPs data centre rather than in a 
 neutral data centre, so I get 100% of my Internet connectivity from my 
 upstream ISP, and I am relying on them to do the right thing with having 
 multiple transit providers and redundant network routing, UPSs and 
 generators, all of which they have to my satisfaction. 
 
 The next step for me would be to host in some neutral facility, get my own 
 IP address space, my own AS number, then connect into multiple transit 
 providers and arrange peering through the various neutral connection 
 points that exist in the UK (LINX, MaNAP, etc.) I'm not big enough for 
 that ... yet ;-) 
 
 So I have routers and switches and connect into the ISP via a redundant 
 mechanism (VRRP). I can apply QoS in my own routers, so that traffic from 
 the Asterisk servers can be prioritised over the traffic from the LAMPy 
 type servers, however, without the co-operation of the upstream ISP(s), 
 you can't effectively apply QoS to the incoming traffic. (Fortunately in 
 my instance, incoming is so much lighter than outgoing, and their network 
 in not oversubscribed, so it's not really an issue) 
 
 The easiest way to start, would be to simply place hosts inside another 
 ISPs network, and rely on them for quality transit - ie. make sure they 
 have multiple transit providers themselves, good power supplies, UPS, 
 generators, etc. and if they are good and don't oversell their bandwidth 
 then for the most part you'll be just fine. Once you have several hosts 
 you might want to look at having your own router(s) and switch(es), but 
 this will depend on how the hosting company operates (and your budget!) 
 
 Finding that hosting company where you live is the challenge though! You 
 need to ask lots of questions - can you get physical access to the 
 servers? is it within driving distance? do you have remote screen  
 keyboard facilities? (or if they offer remote hands and if so, how much 
 do they charge?) How well do they connect to the world in general, and do 
 they charge separate for power or bandwidth (and is bandwidth in terms of 
 speed, or is it per bit pricing, or some combination of the 2?) 
 
 Start phoning  emailling - how fast do they answer the phone, or return 
 email will be a good metric too... 
 
 In the UK, London appears to be power starved right now - it would appear 
 that bandwidth is virtually free, but you'll get charged per amp used! 
 Outside London you rarely have this restriction, but then bandwidth is 
 costly as it's got to be back-hauled to London (or Manchester), so local 
 knowledge is something you'll need to find out about. 
 
 Good luck! 
 
 Gordon 
 
 ___ 
 --Bandwidth and Colocation Provided by http://www.api-digital.com-- 
 
 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--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

RE: [asterisk-users] Asterisk 'Hosting'

2006-08-19 Thread Rushowr
*steps slowly to the soapbox*

Can we please get this pissing match over with? The horse is dead, stop
beating it and bury the corpse for chrissake

*steps down from soapbox*

That's all I got

*checks the fire extinguisher and awaits the flames to be redirected*

SKM

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeremy
McNamara
Sent: Wednesday, August 16, 2006 3:36 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Asterisk 'Hosting'

Douglas Garstang wrote:
 Well, we're talking about several dozen, maybe 100, companies, per 
 Asterisk box here.


Ok - And the problem is?


Jeremy McNamara
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [asterisk-users] Asterisk 'Hosting'

2006-08-19 Thread Rushowr
Oh my gawdwhy are my emails taking so long to publish? 

-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Rushowr
Sent: Thursday, August 17, 2006 9:43 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: RE: [asterisk-users] Asterisk 'Hosting'

*steps slowly to the soapbox*

Can we please get this pissing match over with? The horse is 
dead, stop beating it and bury the corpse for chrissake

*steps down from soapbox*

That's all I got

*checks the fire extinguisher and awaits the flames to be redirected*

SKM

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of 
Jeremy McNamara
Sent: Wednesday, August 16, 2006 3:36 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Asterisk 'Hosting'

Douglas Garstang wrote:
 Well, we're talking about several dozen, maybe 100, companies, per 
 Asterisk box here.


Ok - And the problem is?


Jeremy McNamara
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users



___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Asterisk 'Hosting'

2006-08-17 Thread Dualcall.com

2000+ lines:D
Film Script?

Madhawa

Jeremy McNamara wrote:

Douglas Garstang wrote:
We have a 2000+ line python script that handles all call routing logic.

You expect that to scale?

I do call routing in 3 contexts with ~maybe~ a dozen extension each - 
and we have many thousands of customers and more than hundreds of 
companies using our Asterisk systems as a hosted solution.


I really think you need to totally re-think your operation - and no, 
I'm not going to explain it to you, so don't even ask.




Jeremy McNamara
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users





___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Asterisk 'Hosting'

2006-08-17 Thread Dave Cotton
On Thu, 2006-08-17 at 14:22 +0600, Dualcall.com wrote:
 2000+ lines:D
 Film Script?

No, SCO lines.


-- 
Dave Cotton [EMAIL PROTECTED]

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Asterisk 'Hosting'

2006-08-17 Thread Chris Mason (Lists)

Jeremy McNamara wrote:

 as most people here know, I yell at stupid people.

Be honest, Jeremy, you yell at everyone!

--
Chris Mason
(264) 497-5670 Fax: (264) 497-8463
Int:  (305) 704-7249 Fax: (815)301-9759 UK 44.207.183.0271
Cell: 264-235-5670
Yahoo IM: [EMAIL PROTECTED] 



--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [asterisk-users] Asterisk 'Hosting'

2006-08-17 Thread Douglas Garstang
 -Original Message-
 From: Jeremy McNamara [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, August 16, 2006 11:47 PM
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 Subject: Re: [asterisk-users] Asterisk 'Hosting'
 
 
 Douglas Garstang wrote:
  Oh, and I see nufone caters to residential. We only cater 
 to business customers, who's needs are a lot more demanding.
 
 Apparently you haven't actually gone to our website which, since you 
 brought it up, will be re-launched on September 5th, 2006 with new 
 support for ENTERPRISE AND CARRIER SOLUTIONS - All Powered by 
 Asterisk.

Apparently you can't read, because this is all I see.

On Tuesday, September 5th, 2006 at 8 AM Eastern, we will launch our exciting 
new website. Join our announcement list to learn about many of the new services 
and features you can expect from NuFone.

 
 We will also launch an official support team, which I am very glad to 
 say that I WILL NOT be a part of, because as most people here know, I 
 yell at stupid people.

Good luck with supporting enterprise and carrier solutions with 3 contexts. 
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


OT: Re: [asterisk-users] Asterisk 'Hosting'

2006-08-17 Thread Richard Lyman

Jeremy McNamara wrote:

Douglas Garstang wrote:
Oh, and I see nufone caters to residential. We only cater to business 
customers, who's needs are a lot more demanding.


Apparently you haven't actually gone to our website which, since you 
brought it up, will be re-launched on September 5th, 2006 with new 
support for ENTERPRISE AND CARRIER SOLUTIONS - All Powered by Asterisk.


We will also launch an official support team, which I am very glad to 
say that I WILL NOT be a part of, because as most people here know, I 
yell at stupid people.

*snipped

eh? what was that? i couldn't hear you.

giggles

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Asterisk 'Hosting'

2006-08-17 Thread Dovid Bender
VPS is a resource hogger. Not worth the cost. I would stick to multiple 
contexts.
- Original Message - 
From: Pablo L. Arturi [EMAIL PROTECTED]
To: Asterisk Users Mailing List - Non-Commercial Discussion 
asterisk-users@lists.digium.com

Sent: Wednesday, August 16, 2006 3:16 PM
Subject: Re: [asterisk-users] Asterisk 'Hosting'



and each in a separate base directory? Something like
/home/pbx/business-1, home/pbx/business-2 etc?



Use VPSs, like www.openvz.org

Pablo
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users




___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Asterisk 'Hosting'

2006-08-17 Thread Dovid Bender

No thats CF's job. But to give him credit he yells at stupidity ;)
- Original Message - 
From: Chris Mason (Lists) [EMAIL PROTECTED]
To: Asterisk Users Mailing List - Non-Commercial Discussion 
asterisk-users@lists.digium.com

Sent: Thursday, August 17, 2006 6:15 AM
Subject: Re: [asterisk-users] Asterisk 'Hosting'



Jeremy McNamara wrote:

 as most people here know, I yell at stupid people.

Be honest, Jeremy, you yell at everyone!

--
Chris Mason
(264) 497-5670 Fax: (264) 497-8463
Int:  (305) 704-7249 Fax: (815)301-9759 UK 44.207.183.0271
Cell: 264-235-5670
Yahoo IM: [EMAIL PROTECTED]

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users




___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Asterisk 'Hosting'

2006-08-17 Thread Jeremy McNamara

Chris Mason (Lists) wrote:

Be honest, Jeremy, you yell at everyone!



I wouldn't say absolutely everyone - I don't think I've yelled at kram 
or kpfleming, yet   :P





Jeremy McNamara


___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Asterisk 'Hosting'

2006-08-17 Thread Jeremy McNamara

Douglas Garstang wrote:
Good luck with supporting enterprise and carrier solutions with 3 contexts. 



Mr. Troll, I don't need luck, because I am doing it already.   Perhaps 
you can't comprehend the fact that NuFone is not the only operation I am 
involved with.


Plus, don't forget about the thousands of hours or more that I have 
billed out consulting others on their system design.



Go away.



Jeremy McNamara
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [asterisk-users] Asterisk 'Hosting'

2006-08-17 Thread Douglas Garstang
 -Original Message-
 From: Jeremy McNamara [mailto:[EMAIL PROTECTED]
 Sent: Thursday, August 17, 2006 12:29 PM
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 Subject: Re: [asterisk-users] Asterisk 'Hosting'
 
 
 Douglas Garstang wrote:
  Good luck with supporting enterprise and carrier solutions 
 with 3 contexts. 
 
 
 Mr. Troll, I don't need luck, because I am doing it already.  
  Perhaps 
 you can't comprehend the fact that NuFone is not the only 
 operation I am 
 involved with.
 
 Plus, don't forget about the thousands of hours or more that I have 
 billed out consulting others on their system design.
 
 
 Go away.

That's funny. I remember asking a question, and I remember you immediately 
attacking my intelligence, and now I'm suddenly a troll.

I can comprehend that Nufone is not the operation you are involved with. 
However, it's the first time you've stated that, so if you think I should have 
known that already, then you've either a) lost touch with reality or b) think 
your some big shot and I should know who you are by name.

I see you haven't addressed the specifics of my reply to you.

Did you eat too much cheese yesterday?

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Asterisk 'Hosting'

2006-08-17 Thread Jeremy McNamara

Douglas Garstang wrote:

That's funny. I remember asking a question, and I remember you immediately 
attacking my intelligence, and now I'm suddenly a troll.

I can comprehend that Nufone is not the operation you are involved with. 
However, it's the first time you've stated that, so if you think I should have 
known that already, then you've either a) lost touch with reality or b) think 
your some big shot and I should know who you are by name.



You made an obvious assumption by looking at my email address, without 
bothering to consider any other operations I may be involved in or have 
assisted in development and deployment.


I could care less who you think I am, really and who knows, I may have 
no clue what reality is - But who really does?




I see you haven't addressed the specifics of my reply to you.



I don't see any specific questions, only statements that prove you 
haven't fully comprehended what you have gotten yourself into.



I think you are the one that will need some very good luck.




Jeremy McNamara
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [asterisk-users] Asterisk 'Hosting'

2006-08-17 Thread Douglas Garstang
 -Original Message-
 From: Jeremy McNamara [mailto:[EMAIL PROTECTED]
 Sent: Thursday, August 17, 2006 1:25 PM
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 Subject: Re: [asterisk-users] Asterisk 'Hosting'
 
 
 Douglas Garstang wrote:
  That's funny. I remember asking a question, and I remember 
 you immediately attacking my intelligence, and now I'm 
 suddenly a troll.
  
  I can comprehend that Nufone is not the operation you are 
 involved with. However, it's the first time you've stated 
 that, so if you think I should have known that already, then 
 you've either a) lost touch with reality or b) think your 
 some big shot and I should know who you are by name.
 
 
 You made an obvious assumption by looking at my email 
 address, without 
 bothering to consider any other operations I may be involved 
 in or have 
 assisted in development and deployment.
 
 I could care less who you think I am, really and who knows, I 
 may have 
 no clue what reality is - But who really does?
 
 
  I see you haven't addressed the specifics of my reply to you.
 
 
 I don't see any specific questions, only statements that prove you 
 haven't fully comprehended what you have gotten yourself into.

What's not specific about this...?
handle internal cid, external cid, cid override, pic codes, rate centers, 
incoming and outgoing black lists and white lists, findme/follow me with caller 
id based routing, transferring and forwarding between multiple hosts in a 
cluster and so on while ALSO letting customers maintain all this via a web 
interface?
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Asterisk 'Hosting'

2006-08-17 Thread Jeremy McNamara

Douglas Garstang wrote:

What's not specific about this...?
handle internal cid, external cid, cid override, pic codes, rate centers, 
incoming and outgoing black lists and white lists, findme/follow me with caller id 
based routing, transferring and forwarding between multiple hosts in a cluster




Again, it tells me you have not fully thought out exactly how each of 
those functions fit within the realm of Asterisk.


Before you even bothered to learn basic asterisk fundamentals, you have 
went and reinvented the wheel for absolutely no reason.




and so on while ALSO letting customers maintain all this via a web interface?



And the problem is?  Our current members portal already does 90% of 
everything you listed. When the new version comes out we will pick up 
the remaining points and perhaps more.



Yet once again you have proven beyond any shadow of a doubt, you didn't 
bother to comprehend the power of Asterisk before bastardizing it with 
your ungodly huge python script.





Jeremy McNamara






___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [asterisk-users] Asterisk 'Hosting'

2006-08-17 Thread Douglas Garstang
 -Original Message-
 From: Jeremy McNamara [mailto:[EMAIL PROTECTED]
 Sent: Thursday, August 17, 2006 1:44 PM
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 Subject: Re: [asterisk-users] Asterisk 'Hosting'
 
 
 Douglas Garstang wrote:
  What's not specific about this...?
  handle internal cid, external cid, cid override, pic 
 codes, rate centers, incoming and outgoing black lists and 
 white lists, findme/follow me with caller id based routing, 
 transferring and forwarding between multiple hosts in a cluster
 
 
 
 Again, it tells me you have not fully thought out exactly how each of 
 those functions fit within the realm of Asterisk.

I spent 8+ hours a day, 5+ days per week for over 6 months thinking how these 
functions fit within the realm of Asterisk. At every single turn, after going 
down every single path, there where limitations that forced us to backtrack and 
evaluate a different approach. A script that could handle call routing, in 
conjection with MySQL and stored procedures was the only way to implement our 
requirements. The MySQL command had limitations, realtime was way too resource 
intensive, unreliable and undocumented and so on. Yep... i definitely haven't 
thought about this at all.

 
 Before you even bothered to learn basic asterisk 
 fundamentals, you have 
 went and reinvented the wheel for absolutely no reason.
 
 
  and so on while ALSO letting customers maintain all this 
 via a web interface?
 
 
 And the problem is?  Our current members portal already does 90% of 
 everything you listed. When the new version comes out we will pick up 
 the remaining points and perhaps more.
 
 
 Yet once again you have proven beyond any shadow of a doubt, 
 you didn't 
 bother to comprehend the power of Asterisk before 
 bastardizing it with 
 your ungodly huge python script.

Yet again you have not addressed my statements that showed that the MySQL Dial 
plan command was not capable of nesting SQL queries, and therefore not capable 
of implementing findme/followme.

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Asterisk 'Hosting'

2006-08-17 Thread Casey Boone

guys can we take the flame fest off list please? kthx

Douglas Garstang wrote:

-Original Message-
From: Jeremy McNamara [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 17, 2006 1:25 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Asterisk 'Hosting'


Douglas Garstang wrote:
That's funny. I remember asking a question, and I remember 
you immediately attacking my intelligence, and now I'm 
suddenly a troll.
I can comprehend that Nufone is not the operation you are 
involved with. However, it's the first time you've stated 
that, so if you think I should have known that already, then 
you've either a) lost touch with reality or b) think your 
some big shot and I should know who you are by name.



You made an obvious assumption by looking at my email 
address, without 
bothering to consider any other operations I may be involved 
in or have 
assisted in development and deployment.


I could care less who you think I am, really and who knows, I 
may have 
no clue what reality is - But who really does?




I see you haven't addressed the specifics of my reply to you.


I don't see any specific questions, only statements that prove you 
haven't fully comprehended what you have gotten yourself into.


What's not specific about this...?
handle internal cid, external cid, cid override, pic codes, rate centers, incoming 
and outgoing black lists and white lists, findme/follow me with caller id based routing, 
transferring and forwarding between multiple hosts in a cluster and so on while ALSO 
letting customers maintain all this via a web interface?




___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Asterisk 'Hosting'

2006-08-17 Thread Andrew Kohlsmith
On Thursday 17 August 2006 16:04, Douglas Garstang wrote:
 Yet again you have not addressed my statements that showed that the MySQL
 Dial plan command was not capable of nesting SQL queries, and therefore not
 capable of implementing findme/followme.

Off the top of my head I am fairly certain that I have come up with an AGI 
which would implement findme/followme *without* nested SQL queries, or even 
stored procedures.

With some more thought I am fairly confident I could do it without an AGI at 
all, although the dialplan functions to split up the destinations would be 
ugly as hell.

-A.
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [asterisk-users] Asterisk 'Hosting'

2006-08-17 Thread Douglas Garstang
 -Original Message-
 From: Douglas Garstang 
 Sent: Thursday, August 17, 2006 2:04 PM
 To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
 Subject: RE: [asterisk-users] Asterisk 'Hosting'
 
 
  -Original Message-
  From: Jeremy McNamara [mailto:[EMAIL PROTECTED]
  Sent: Thursday, August 17, 2006 1:44 PM
  To: Asterisk Users Mailing List - Non-Commercial Discussion
  Subject: Re: [asterisk-users] Asterisk 'Hosting'
  
  
  Douglas Garstang wrote:
   What's not specific about this...?
   handle internal cid, external cid, cid override, pic 
  codes, rate centers, incoming and outgoing black lists and 
  white lists, findme/follow me with caller id based routing, 
  transferring and forwarding between multiple hosts in a cluster
  
  
  
  Again, it tells me you have not fully thought out exactly 
 how each of 
  those functions fit within the realm of Asterisk.
 
 I spent 8+ hours a day, 5+ days per week for over 6 months 
 thinking how these functions fit within the realm of 
 Asterisk. At every single turn, after going down every single 
 path, there where limitations that forced us to backtrack and 
 evaluate a different approach. A script that could handle 
 call routing, in conjection with MySQL and stored procedures 
 was the only way to implement our requirements. The MySQL 
 command had limitations, realtime was way too resource 
 intensive, unreliable and undocumented and so on. Yep... i 
 definitely haven't thought about this at all.

Oops. I almost forgot intra-organisational 4 digit extension dialling. Not just 
company, but organisational, where a company may have multiple organisational 
units. It might be possible to hack together a flat intra-business 4 digit 
extension dial lookup in the native dialplan, but trying to make it a 
multi-level organisation lookup would be pure hell... unless you farm the task 
out to a more advanced scripting langauge like python, perl whatever.
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [asterisk-users] Asterisk 'Hosting'

2006-08-17 Thread Douglas Garstang
 -Original Message-
 From: Andrew Kohlsmith [mailto:[EMAIL PROTECTED]
 Sent: Thursday, August 17, 2006 2:12 PM
 To: asterisk-users@lists.digium.com
 Subject: Re: [asterisk-users] Asterisk 'Hosting'
 
 
 On Thursday 17 August 2006 16:04, Douglas Garstang wrote:
  Yet again you have not addressed my statements that showed 
 that the MySQL
  Dial plan command was not capable of nesting SQL queries, 
 and therefore not
  capable of implementing findme/followme.
 
 Off the top of my head I am fairly certain that I have come 
 up with an AGI 
 which would implement findme/followme *without* nested SQL 
 queries, or even 
 stored procedures.

Yes, that's what we have done. I assume your referring to a small, function 
specific agi script. We have it as one large script instead. Obviously if you 
make a dozen of more agi calls like that during the course of processing a 
single call, it's going to get slow, and the caller may notice the effect. We 
didn't/don't have the resources available to be writing a multi-threaded fast 
agi server right now to fix that. Yep... as Jeremy said, I sure haven't thought 
about this at all. Nope...
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [asterisk-users] Asterisk 'Hosting'

2006-08-17 Thread Douglas Garstang
 -Original Message-
 From: Douglas Garstang 
 Sent: Thursday, August 17, 2006 2:17 PM
 To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
 Subject: RE: [asterisk-users] Asterisk 'Hosting'
 
 
  -Original Message-
  From: Douglas Garstang 
  Sent: Thursday, August 17, 2006 2:04 PM
  To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
  Subject: RE: [asterisk-users] Asterisk 'Hosting'
  
  
   -Original Message-
   From: Jeremy McNamara [mailto:[EMAIL PROTECTED]
   Sent: Thursday, August 17, 2006 1:44 PM
   To: Asterisk Users Mailing List - Non-Commercial Discussion
   Subject: Re: [asterisk-users] Asterisk 'Hosting'
   
   
   Douglas Garstang wrote:
What's not specific about this...?
handle internal cid, external cid, cid override, pic 
   codes, rate centers, incoming and outgoing black lists and 
   white lists, findme/follow me with caller id based routing, 
   transferring and forwarding between multiple hosts in a 
 cluster
   
   
   
   Again, it tells me you have not fully thought out exactly 
  how each of 
   those functions fit within the realm of Asterisk.
  
  I spent 8+ hours a day, 5+ days per week for over 6 months 
  thinking how these functions fit within the realm of 
  Asterisk. At every single turn, after going down every single 
  path, there where limitations that forced us to backtrack and 
  evaluate a different approach. A script that could handle 
  call routing, in conjection with MySQL and stored procedures 
  was the only way to implement our requirements. The MySQL 
  command had limitations, realtime was way too resource 
  intensive, unreliable and undocumented and so on. Yep... i 
  definitely haven't thought about this at all.
 
 Oops. I almost forgot intra-organisational 4 digit extension 
 dialling. Not just company, but organisational, where a 
 company may have multiple organisational units. It might be 
 possible to hack together a flat intra-business 4 digit 
 extension dial lookup in the native dialplan, but trying to 
 make it a multi-level organisation lookup would be pure 
 hell... unless you farm the task out to a more advanced 
 scripting langauge like python, perl whatever.

I see the MySQL dial plan command still doesn't support stored procedures 
either, unless you hack around with the source.
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [asterisk-users] Asterisk 'Hosting'

2006-08-17 Thread Rushowr
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Douglas
Garstang
Sent: Thursday, August 17, 2006 4:39 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: RE: [asterisk-users] Asterisk 'Hosting'

 -Original Message-
 From: Douglas Garstang
 Sent: Thursday, August 17, 2006 2:17 PM
 To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
 Subject: RE: [asterisk-users] Asterisk 'Hosting'

**snip**

  I spent 8+ hours a day, 5+ days per week for over 6 months thinking 
  how these functions fit within the realm of Asterisk. At every 
  single turn, after going down every single path, there where 
  limitations that forced us to backtrack and evaluate a different 
  approach. A script that could handle call routing, in conjection 
  with MySQL and stored procedures was the only way to implement our 
  requirements. The MySQL command had limitations, realtime was way 
  too resource intensive, unreliable and undocumented and so on. 
  Yep... i definitely haven't thought about this at all.
 
 Oops. I almost forgot intra-organisational 4 digit extension dialling. 
 Not just company, but organisational, where a company may have 
 multiple organisational units. It might be possible to hack together a 
 flat intra-business 4 digit extension dial lookup in the native 
 dialplan, but trying to make it a multi-level organisation lookup 
 would be pure hell... unless you farm the task out to a more advanced 
 scripting langauge like python, perl whatever.

I see the MySQL dial plan command still doesn't support stored procedures
either, 
unless you hack around with the source.

I've just recently come up against this limitation. Care to share info/code
concerning making stored procs work with the addon?


___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [asterisk-users] Asterisk 'Hosting'

2006-08-17 Thread Douglas Garstang
 -Original Message-
 From: Rushowr [mailto:[EMAIL PROTECTED]
 Sent: Thursday, August 17, 2006 2:50 PM
 To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
 Subject: RE: [asterisk-users] Asterisk 'Hosting'
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Douglas
 Garstang
 Sent: Thursday, August 17, 2006 4:39 PM
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 Subject: RE: [asterisk-users] Asterisk 'Hosting'
 
  -Original Message-
  From: Douglas Garstang
  Sent: Thursday, August 17, 2006 2:17 PM
  To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
  Subject: RE: [asterisk-users] Asterisk 'Hosting'
 
 **snip**
 
   I spent 8+ hours a day, 5+ days per week for over 6 
 months thinking 
   how these functions fit within the realm of Asterisk. At every 
   single turn, after going down every single path, there where 
   limitations that forced us to backtrack and evaluate a different 
   approach. A script that could handle call routing, in conjection 
   with MySQL and stored procedures was the only way to 
 implement our 
   requirements. The MySQL command had limitations, realtime was way 
   too resource intensive, unreliable and undocumented and so on. 
   Yep... i definitely haven't thought about this at all.
  
  Oops. I almost forgot intra-organisational 4 digit 
 extension dialling. 
  Not just company, but organisational, where a company may have 
  multiple organisational units. It might be possible to hack 
 together a 
  flat intra-business 4 digit extension dial lookup in the native 
  dialplan, but trying to make it a multi-level organisation lookup 
  would be pure hell... unless you farm the task out to a 
 more advanced 
  scripting langauge like python, perl whatever.
 
 I see the MySQL dial plan command still doesn't support 
 stored procedures
 either, 
 unless you hack around with the source.
 
 I've just recently come up against this limitation. Care to 
 share info/code
 concerning making stored procs work with the addon?

Hi. I only just stumled across it myself. I was trying to prove a point to 
Jeremy. 
On the  voip wiki:

http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+MYSQL

under a comment titled 'Calling MySQL 5 stored procedures from app_mysql', it 
looks like someone has managed to modify the source to get it to work.
I haven't tried it yet...

Doug.

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


MySQL Addon and MySQL5 Stored Procs (WAS: RE: [asterisk-users] Asterisk 'Hosting')

2006-08-17 Thread Rushowr
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Douglas
Garstang
Sent: Thursday, August 17, 2006 4:54 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: RE: [asterisk-users] Asterisk 'Hosting'

Hi. I only just stumled across it myself. I was trying to prove a point to
Jeremy. 
On the  voip wiki:

http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+MYSQL

under a comment titled 'Calling MySQL 5 stored procedures from app_mysql',
it looks 
like someone has managed to modify the source to get it to work.
I haven't tried it yet...

Doug.

Thanks for the point, I hadn't noticed that comment. I'll be implementing it
on one of my dev systems tonight and testing a multitude of stored
procedures that we had planned. If it works reliably, I'll be reporting it
as a bug in the digium bug tracker and submitting the modification as a
patch (with proper credit to the original poster of the mod of course).

S McGowan


___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Asterisk 'Hosting'

2006-08-16 Thread David Freeman
You might be able to use virtual NICs to eliminate the problem with non-standard ports for a company's SIP phones. Or real NICs using a couple of multi-homed cards.I haven't tried it, though.
On 8/16/06, Douglas Garstang [EMAIL PROTECTED] wrote:
Has anyone ever tried to run multiple instances of Asterisk on a single system, running each with a different username, and each in a separate base directory? Something like /home/pbx/business-1, home/pbx/business-2 etc?
Did it work? I assume for every service that Asterisk runs, on each instance, you'd have to use a different port numbers, which may get confusing. Each businesses phones would have to be configred with different SIP ports then too.
What about processes? I notice that Asterisk runs about 26 processes (or are they threads?) for a single instance.Doug.___--Bandwidth and Colocation provided by 
Easynews.com --asterisk-users mailing listTo UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Asterisk 'Hosting'

2006-08-16 Thread Ralph Liebessohn
On 8/16/06, Douglas Garstang [EMAIL PROTECTED] wrote:
Has anyone ever tried to run multiple instances of Asterisk on a single system, running each with a different username, and each in a separate base directory? Something like /home/pbx/business-1, home/pbx/business-2 etc?
Did it work? I assume for every service that Asterisk runs, on each instance, you'd have to use a different port numbers, which may get confusing. Each businesses phones would have to be configred with different SIP ports then too.
What about processes? I notice that Asterisk runs about 26 processes (or are they threads?) for a single instance.Doug.You can put Asterisk to hear in the same default port, but you must use another IP address, theoretically.
-- Ralph LiebessohnICQ: 74835911Skype: liebessohn
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Asterisk 'Hosting'

2006-08-16 Thread Matt Riddell (NZ)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Douglas Garstang wrote:
 Has anyone ever tried to run multiple instances of Asterisk on a single 
 system, running each with a different username, and each in a separate base 
 directory? Something like /home/pbx/business-1, home/pbx/business-2 etc?
 
 Did it work? I assume for every service that Asterisk runs, on each instance, 
 you'd have to use a different port numbers, which may get confusing. Each 
 businesses phones would have to be configred with different SIP ports then 
 too.
 
 What about processes? I notice that Asterisk runs about 26 processes (or are 
 they threads?) for a single instance.

Why not just use different contexts for each company?

- --
Cheers,

Matt Riddell
___

http://www.sineapps.com/news.php (Daily Asterisk News - html)
http://freevoip.gedameurope.com (Free Asterisk Voip Community)
http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE416ZS6d5vy0jeVcRAkkJAJ9ePGEV4H5GNOljhx+syWb42IdoRACfcSet
6dTJAdgseqkUk63mGTOONik=
=2M0q
-END PGP SIGNATURE-
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Asterisk 'Hosting'

2006-08-16 Thread Jeremy McNamara

Douglas Garstang wrote:

Has anyone ever tried to run multiple instances of Asterisk on a single system, 
running each with a different username, and each in a separate base directory? 
Something like /home/pbx/business-1, home/pbx/business-2 etc?

Did it work? I assume for every service that Asterisk runs, on each instance, 
you'd have to use a different port numbers, which may get confusing. Each 
businesses phones would have to be configred with different SIP ports then too.

What about processes? I notice that Asterisk runs about 26 processes (or are 
they threads?) for a single instance.




Why do you need multiple instances?   Just setup your Asterisk 
configuration to separate the various 'customers' or 'tenants'.


CAKE


Jeremy McNamara
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [asterisk-users] Asterisk 'Hosting'

2006-08-16 Thread Douglas Garstang



Well, 
we're talking about several dozen, maybe 100, companies, per Asterisk box 
here.

  -Original Message-From: David Freeman 
  [mailto:[EMAIL PROTECTED]Sent: Wednesday, August 16, 2006 11:36 
  AMTo: Asterisk Users Mailing List - Non-Commercial 
  DiscussionSubject: Re: [asterisk-users] Asterisk 
  'Hosting'You might be able to use virtual NICs to 
  eliminate the problem with "non-standard" ports for a company's SIP 
  phones. Or real NICs using a couple of multi-homed cards.I 
  haven't tried it, though.
  On 8/16/06, Douglas 
  Garstang [EMAIL PROTECTED] 
  wrote:
  Has 
anyone ever tried to run multiple instances of Asterisk on a single system, 
running each with a different username, and each in a separate base 
directory? Something like /home/pbx/business-1, home/pbx/business-2 
etc?Did it work? I assume for every service that Asterisk runs, on 
each instance, you'd have to use a different port numbers, which may get 
confusing. Each businesses phones would have to be configred with different 
SIP ports then too. What about processes? I notice that Asterisk 
runs about 26 processes (or are they threads?) for a single 
instance.Doug.___--Bandwidth 
and Colocation provided by Easynews.com 
--asterisk-users mailing listTo UNSUBSCRIBE or update options 
visit: http://lists.digium.com/mailman/listinfo/asterisk-users 

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Asterisk 'Hosting'

2006-08-16 Thread Brandon Galbraith
You beat me to it Matt. =)-brandonOn 8/16/06, Matt Riddell (NZ) [EMAIL PROTECTED] wrote:
-BEGIN PGP SIGNED MESSAGE-Hash: SHA1Douglas Garstang wrote: Has anyone ever tried to run multiple instances of Asterisk on a single system, running each with a different username, and each in a separate base directory? Something like /home/pbx/business-1, home/pbx/business-2 etc?
 Did it work? I assume for every service that Asterisk runs, on each instance, you'd have to use a different port numbers, which may get confusing. Each businesses phones would have to be configred with different SIP ports then too.
 What about processes? I notice that Asterisk runs about 26 processes (or are they threads?) for a single instance.Why not just use different contexts for each company?- --Cheers,
Matt Riddell___http://www.sineapps.com/news.php (Daily Asterisk News - html)
http://freevoip.gedameurope.com (Free Asterisk Voip Community)http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss)-BEGIN PGP SIGNATURE-Version: GnuPG 
v1.4.2 (MingW32)Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.orgiD8DBQFE416ZS6d5vy0jeVcRAkkJAJ9ePGEV4H5GNOljhx+syWb42IdoRACfcSet6dTJAdgseqkUk63mGTOONik=
=2M0q-END PGP SIGNATURE-___--Bandwidth and Colocation provided by Easynews.com --asterisk-users mailing list
To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users-- 
Brandon GalbraithEmail: [EMAIL PROTECTED]AIM: brandong00Voice: 630.400.6992A true pirate starts drinking before the sun hits the yard-arm. Ya. --thelost
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [asterisk-users] Asterisk 'Hosting'

2006-08-16 Thread Douglas Garstang
 -Original Message-
 From: Matt Riddell (NZ) [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, August 16, 2006 12:06 PM
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 Subject: Re: [asterisk-users] Asterisk 'Hosting'
 
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Douglas Garstang wrote:
  Has anyone ever tried to run multiple instances of Asterisk 
 on a single system, running each with a different username, 
 and each in a separate base directory? Something like 
 /home/pbx/business-1, home/pbx/business-2 etc?
  
  Did it work? I assume for every service that Asterisk runs, 
 on each instance, you'd have to use a different port numbers, 
 which may get confusing. Each businesses phones would have to 
 be configred with different SIP ports then too.
  
  What about processes? I notice that Asterisk runs about 26 
 processes (or are they threads?) for a single instance.
 
 Why not just use different contexts for each company?

Because Asterisk wasn't designed with carrier class features in mind. It was 
designed for a single enterprise. The dialplan, and config files, start to get 
very very complicated after you add more than a few companies. Combine that 
with having to have multiple extensions for a single function (our Queues are 
accessed by a regular extension but then have to dial another 'virtual' 
extension so that DUNDi can work out the 'primary' server for a queue) and so 
on. Anyway, it's becoming unmanagable.

Doug.

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [asterisk-users] Asterisk 'Hosting'

2006-08-16 Thread Douglas Garstang
 -Original Message-
 From: Jeremy McNamara [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, August 16, 2006 12:23 PM
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 Subject: Re: [asterisk-users] Asterisk 'Hosting'
 
 
 Douglas Garstang wrote:
  Has anyone ever tried to run multiple instances of Asterisk 
 on a single system, running each with a different username, 
 and each in a separate base directory? Something like 
 /home/pbx/business-1, home/pbx/business-2 etc?
  
  Did it work? I assume for every service that Asterisk runs, 
 on each instance, you'd have to use a different port numbers, 
 which may get confusing. Each businesses phones would have to 
 be configred with different SIP ports then too.
  
  What about processes? I notice that Asterisk runs about 26 
 processes (or are they threads?) for a single instance.
 
 
 
 Why do you need multiple instances?   Just setup your Asterisk 
 configuration to separate the various 'customers' or 'tenants'.

It's obvious that Asterisk was designed more for the enterprise (ie a single 
company), rather than for the carrier (ie multiple companies). It's a bit hard 
to explain here, but even with more than a few companies, the config files and 
dial plan start to become horribly complex.

Our first customer has 15 contexts (right now) in extensions.conf (we've broken 
each company into a separate files included from extensions.conf and sip.conf 
for some manageability).  At several hundred companies, that's several thousand 
contexts. We have three Asterisk boxes, and can add more, but the config is 
(almost) idential between them for redundancy, and this means that each 
Asterisk box has to have a dialplan configured for all companies.

Doug.





___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Asterisk 'Hosting'

2006-08-16 Thread Brandon Galbraith
Doug,I'd suggest using contexts, but then having two servers for redundancy also. That way, if one asterisk box goes down, you don't have 50-100 clients completely down.-brandon
On 8/16/06, Douglas Garstang [EMAIL PROTECTED] wrote:







Well, 
we're talking about several dozen, maybe 100, companies, per Asterisk box 
here.

  -Original Message-From: David Freeman 
  [mailto:[EMAIL PROTECTED]]Sent: Wednesday, August 16, 2006 11:36 
  AMTo: Asterisk Users Mailing List - Non-Commercial 
  DiscussionSubject: Re: [asterisk-users] Asterisk 
  'Hosting'You might be able to use virtual NICs to 
  eliminate the problem with non-standard ports for a company's SIP 
  phones. Or real NICs using a couple of multi-homed cards.I 
  haven't tried it, though.
  On 8/16/06, Douglas 
  Garstang [EMAIL PROTECTED] 
  wrote:
  Has 
anyone ever tried to run multiple instances of Asterisk on a single system, 
running each with a different username, and each in a separate base 
directory? Something like /home/pbx/business-1, home/pbx/business-2 
etc?Did it work? I assume for every service that Asterisk runs, on 
each instance, you'd have to use a different port numbers, which may get 
confusing. Each businesses phones would have to be configred with different 
SIP ports then too. What about processes? I notice that Asterisk 
runs about 26 processes (or are they threads?) for a single 
instance.Doug.___--Bandwidth 
and Colocation provided by Easynews.com 
--asterisk-users mailing listTo UNSUBSCRIBE or update options 
visit: http://lists.digium.com/mailman/listinfo/asterisk-users 


___--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing listTo UNSUBSCRIBE or update options visit:  
http://lists.digium.com/mailman/listinfo/asterisk-users-- Brandon GalbraithEmail: [EMAIL PROTECTED]
AIM: brandong00Voice: 630.400.6992A true pirate starts drinking before the sun hits the yard-arm. Ya. --thelost
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Asterisk 'Hosting'

2006-08-16 Thread David Freeman
Then virtual would be the way to go...I'm no expert, so you'd have to do some research on how many virtual interfaces you could use reliably.But some of the other suggestions I've seen might be a better option? Separate contexts for each entity, etc.
On 8/16/06, Douglas Garstang [EMAIL PROTECTED] wrote:







Well, 
we're talking about several dozen, maybe 100, companies, per Asterisk box 
here.

  -Original Message-From: David Freeman 
  [mailto:[EMAIL PROTECTED]]Sent: Wednesday, August 16, 2006 11:36 
  AMTo: Asterisk Users Mailing List - Non-Commercial 
  DiscussionSubject: Re: [asterisk-users] Asterisk 
  'Hosting'You might be able to use virtual NICs to 
  eliminate the problem with non-standard ports for a company's SIP 
  phones. Or real NICs using a couple of multi-homed cards.I 
  haven't tried it, though.
  On 8/16/06, Douglas 
  Garstang [EMAIL PROTECTED] 
  wrote:
  Has 
anyone ever tried to run multiple instances of Asterisk on a single system, 
running each with a different username, and each in a separate base 
directory? Something like /home/pbx/business-1, home/pbx/business-2 
etc?Did it work? I assume for every service that Asterisk runs, on 
each instance, you'd have to use a different port numbers, which may get 
confusing. Each businesses phones would have to be configred with different 
SIP ports then too. What about processes? I notice that Asterisk 
runs about 26 processes (or are they threads?) for a single 
instance.Doug.___--Bandwidth 
and Colocation provided by Easynews.com 
--asterisk-users mailing listTo UNSUBSCRIBE or update options 
visit: http://lists.digium.com/mailman/listinfo/asterisk-users 


___--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing listTo UNSUBSCRIBE or update options visit:  
http://lists.digium.com/mailman/listinfo/asterisk-users
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Asterisk 'Hosting'

2006-08-16 Thread Matt Riddell (NZ)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Douglas Garstang wrote:
 Well, we're talking about several dozen, maybe 100, companies, per Asterisk 
 box here.

Surely all the more reason to do it with contexts than instances.

- --
Cheers,

Matt Riddell
___

http://www.sineapps.com/news.php (Daily Asterisk News - html)
http://freevoip.gedameurope.com (Free Asterisk Voip Community)
http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE422LS6d5vy0jeVcRAhQQAJ9XLDlNHe2Xv7oBA568nvaPbnKI1wCeM+t4
5geXNT+XaPj1gSxdSROQKYE=
=AZoL
-END PGP SIGNATURE-
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Asterisk 'Hosting'

2006-08-16 Thread Brandon Galbraith
You could use Xen on Fedora Core 6 and virtualize each instance if you feel the need is there.On 8/16/06, Douglas Garstang 
[EMAIL PROTECTED] wrote: -Original Message- From: Matt Riddell (NZ) [mailto:
[EMAIL PROTECTED]] Sent: Wednesday, August 16, 2006 12:06 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Asterisk 'Hosting'
 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Douglas Garstang wrote:  Has anyone ever tried to run multiple instances of Asterisk on a single system, running each with a different username,
 and each in a separate base directory? Something like /home/pbx/business-1, home/pbx/business-2 etc?   Did it work? I assume for every service that Asterisk runs, on each instance, you'd have to use a different port numbers,
 which may get confusing. Each businesses phones would have to be configred with different SIP ports then too.   What about processes? I notice that Asterisk runs about 26 processes (or are they threads?) for a single instance.
 Why not just use different contexts for each company?Because Asterisk wasn't designed with carrier class features in mind. It was designed for a single enterprise. The dialplan, and config files, start to get very very complicated after you add more than a few companies. Combine that with having to have multiple extensions for a single function (our Queues are accessed by a regular extension but then have to dial another 'virtual' extension so that DUNDi can work out the 'primary' server for a queue) and so on. Anyway, it's becoming unmanagable.
Doug.___--Bandwidth and Colocation provided by Easynews.com --asterisk-users mailing listTo UNSUBSCRIBE or update options visit:
 http://lists.digium.com/mailman/listinfo/asterisk-users-- Brandon GalbraithEmail: 
[EMAIL PROTECTED]AIM: brandong00Voice: 630.400.6992A true pirate starts drinking before the sun hits the yard-arm. Ya. --thelost
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Asterisk 'Hosting'

2006-08-16 Thread Pablo L. Arturi
 and each in a separate base directory? Something like 
 /home/pbx/business-1, home/pbx/business-2 etc?
  

Use VPSs, like www.openvz.org

Pablo
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Asterisk 'Hosting'

2006-08-16 Thread Matt Riddell (NZ)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Douglas Garstang wrote:
 Because Asterisk wasn't designed with carrier class features in mind. It was 
 designed for a single enterprise. The dialplan, and config files, start to 
 get very very complicated after you add more than a few companies. Combine 
 that with having to have multiple extensions for a single function (our 
 Queues are accessed by a regular extension but then have to dial another 
 'virtual' extension so that DUNDi can work out the 'primary' server for a 
 queue) and so on. Anyway, it's becoming unmanagable.

So write better management software, that's what we've and many others
have done.

- --
Cheers,

Matt Riddell
___

http://www.sineapps.com/news.php (Daily Asterisk News - html)
http://freevoip.gedameurope.com (Free Asterisk Voip Community)
http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE43DHS6d5vy0jeVcRAnEyAJ9yNLv+vDF2esy4S6Hik8C46POiDQCeKd5X
6BND4aXxRw5nxifVC1oQM6U=
=pfPk
-END PGP SIGNATURE-
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [asterisk-users] Asterisk 'Hosting'

2006-08-16 Thread Douglas Garstang



Brandon,

Thanks. We're a litle past that stage of complexity. I'm just 
throwing the question out there because it's becoming obvious that trying to 
provision hundreds of customers on a cluster of Asterisk systems is going to be 
very hard to manage.

  -Original Message-From: Brandon Galbraith 
  [mailto:[EMAIL PROTECTED]Sent: Wednesday, August 16, 
  2006 12:53 PMTo: Asterisk Users Mailing List - Non-Commercial 
  DiscussionSubject: Re: [asterisk-users] Asterisk 
  'Hosting'Doug,I'd suggest using contexts, but 
  then having two servers for redundancy also. That way, if one asterisk box 
  goes down, you don't have 50-100 clients completely 
  down.-brandon
  On 8/16/06, Douglas 
  Garstang [EMAIL PROTECTED] 
  wrote:
  


Well, we're talking about 
several dozen, maybe 100, companies, per Asterisk box 
here.


-Original 
Message-From: David Freeman [mailto:[EMAIL PROTECTED]]Sent: Wednesday, August 16, 
2006 11:36 AMTo: Asterisk Users Mailing List - Non-Commercial 
DiscussionSubject: Re: [asterisk-users] Asterisk 
'Hosting'You might be able to use virtual NICs to 
eliminate the problem with "non-standard" ports for a company's SIP 
phones. Or real NICs using a couple of multi-homed cards.I 
haven't tried it, though.


On 8/16/06, Douglas Garstang [EMAIL PROTECTED] wrote: 


Has anyone ever tried to run multiple instances of 
Asterisk on a single system, running each with a different username, and 
each in a separate base directory? Something like /home/pbx/business-1, 
home/pbx/business-2 etc?Did it work? I assume for every service that 
Asterisk runs, on each instance, you'd have to use a different port numbers, 
which may get confusing. Each businesses phones would have to be configred 
with different SIP ports then too. What about processes? I notice 
that Asterisk runs about 26 processes (or are they threads?) for a single 
instance.
Doug.
___--Bandwidth 
and Colocation provided by Easynews.com 
--asterisk-users mailing listTo UNSUBSCRIBE or update options 
visit: http://lists.digium.com/mailman/listinfo/asterisk-users 

___--Bandwidth 
and Colocation provided by Easynews.com -- 
asterisk-users mailing listTo UNSUBSCRIBE or update options 
visit: http://lists.digium.com/mailman/listinfo/asterisk-users-- Brandon GalbraithEmail: [EMAIL PROTECTED] 
  AIM: brandong00Voice: 630.400.6992"A true pirate starts 
  drinking before the sun hits the yard-arm. Ya. --thelost" 

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [asterisk-users] Asterisk 'Hosting'

2006-08-16 Thread Don Fanning
Use a virtual private asterisk system.  You'll be happier if you did.
http://www.telephreak.org/papers/vpa/



  Has anyone ever tried to run multiple instances of Asterisk 
 on a single system, running each with a different username, 
 and each in a separate base directory? Something like 
 /home/pbx/business-1, home/pbx/business-2 etc?
  
  Did it work? I assume for every service that Asterisk runs, 
 on each instance, you'd have to use a different port numbers, 
 which may get confusing. Each businesses phones would have to 
 be configred with different SIP ports then too.
  
  What about processes? I notice that Asterisk runs about 26 
 processes (or are they threads?) for a single instance.
 
 

It's obvious that Asterisk was designed more for the enterprise (ie a
single company), rather than for the carrier (ie multiple companies).
It's a bit hard to explain here, but even with more than a few
companies, the config files and dial plan start to become horribly
complex.





___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Asterisk 'Hosting'

2006-08-16 Thread Matt Riddell (NZ)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Douglas Garstang wrote:

 It's obvious that Asterisk was designed more for the enterprise (ie a single 
 company), rather than for the carrier (ie multiple companies). It's a bit 
 hard to explain here, but even with more than a few companies, the config 
 files and dial plan start to become horribly complex.
 
 Our first customer has 15 contexts (right now) in extensions.conf (we've 
 broken each company into a separate files included from extensions.conf and 
 sip.conf for some manageability).  At several hundred companies, that's 
 several thousand contexts. We have three Asterisk boxes, and can add more, 
 but the config is (almost) idential between them for redundancy, and this 
 means that each Asterisk box has to have a dialplan configured for all 
 companies.

And so you're thinking it would be better to run several hundred
Asterisk instances?!

Good luck.

I think your project would work a lot better if you worked like this:

1) Get requirements
2) Map features and limitations of products
3) Write PseudoCode
4) Work out ways to load test your ideas
5) Write real code
6) Load test again with real code

Hint: Layer your system so that each component is not doing too much

Hint #2: Read: http://www.astricon.net/files/David_Zimmer_EUR06.pdf

- --
Cheers,

Matt Riddell
___

http://www.sineapps.com/news.php (Daily Asterisk News - html)
http://freevoip.gedameurope.com (Free Asterisk Voip Community)
http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE43N2S6d5vy0jeVcRAj0OAJ4vgp3aMeBiEsVsU+zqhyouu8CPlgCffPAv
0SccdLfefS8GUtkxZpIMpU4=
=ciMO
-END PGP SIGNATURE-
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Asterisk 'Hosting'

2006-08-16 Thread Jeremy McNamara

Douglas Garstang wrote:
Well, we're talking about several dozen, maybe 100, companies, per 
Asterisk box here.



Ok - And the problem is?


Jeremy McNamara
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [asterisk-users] Asterisk 'Hosting'

2006-08-16 Thread Douglas Garstang
 -Original Message-
 From: Matt Riddell (NZ) [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, August 16, 2006 1:35 PM
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 Subject: Re: [asterisk-users] Asterisk 'Hosting'
 
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Douglas Garstang wrote:
 
  It's obvious that Asterisk was designed more for the 
 enterprise (ie a single company), rather than for the carrier 
 (ie multiple companies). It's a bit hard to explain here, but 
 even with more than a few companies, the config files and 
 dial plan start to become horribly complex.
  
  Our first customer has 15 contexts (right now) in 
 extensions.conf (we've broken each company into a separate 
 files included from extensions.conf and sip.conf for some 
 manageability).  At several hundred companies, that's several 
 thousand contexts. We have three Asterisk boxes, and can add 
 more, but the config is (almost) idential between them for 
 redundancy, and this means that each Asterisk box has to have 
 a dialplan configured for all companies.
 
 And so you're thinking it would be better to run several hundred
 Asterisk instances?!
 
 Good luck.
 
 I think your project would work a lot better if you worked like this:
 
 1) Get requirements
 2) Map features and limitations of products
 3) Write PseudoCode
 4) Work out ways to load test your ideas
 5) Write real code
 6) Load test again with real code
 
 Hint: Layer your system so that each component is not doing too much
 
 Hint #2: Read: http://www.astricon.net/files/David_Zimmer_EUR06.pdf

Interesting, but there's no meat. Do you know if they've actually implemented 
this yet, or are still designing it? This is essentially the same thing as we 
are doing (except I'm expected to do it all myself), except we aren't using 
realtime because it's not documented, and the asterisk dialplan language isn't 
advanced enough to deliver all the feature sets we need. We have a 2000+ line 
python script that handles all call routing logic.

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Asterisk 'Hosting'

2006-08-16 Thread Eric \ManxPower\ Wieling

Why make things so much more complicated than they need to be.

Asterisk has had support for doing this for ages.  The term you are 
looking for is contexts.


Brandon Galbraith wrote:

You could use Xen on Fedora Core 6 and virtualize each instance if you feel
the need is there.

On 8/16/06, Douglas Garstang [EMAIL PROTECTED] wrote:


 -Original Message-
 From: Matt Riddell (NZ) [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, August 16, 2006 12:06 PM
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 Subject: Re: [asterisk-users] Asterisk 'Hosting'


 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Douglas Garstang wrote:
  Has anyone ever tried to run multiple instances of Asterisk
 on a single system, running each with a different username,
 and each in a separate base directory? Something like
 /home/pbx/business-1, home/pbx/business-2 etc?
 
  Did it work? I assume for every service that Asterisk runs,
 on each instance, you'd have to use a different port numbers,
 which may get confusing. Each businesses phones would have to
 be configred with different SIP ports then too.
 
  What about processes? I notice that Asterisk runs about 26
 processes (or are they threads?) for a single instance.

 Why not just use different contexts for each company?

Because Asterisk wasn't designed with carrier class features in mind. It
was designed for a single enterprise. The dialplan, and config files, 
start

to get very very complicated after you add more than a few companies.
Combine that with having to have multiple extensions for a single 
function

(our Queues are accessed by a regular extension but then have to dial
another 'virtual' extension so that DUNDi can work out the 'primary' 
server

for a queue) and so on. Anyway, it's becoming unmanagable.

Doug.

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users








___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users



--
Now accepting new clients in Birmingham, Atlanta, Huntsville, 
Chattanooga, and Montgomery.

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Asterisk 'Hosting'

2006-08-16 Thread Jeremy McNamara

Douglas Garstang wrote:
We have a 2000+ line python script that handles all call routing logic.


You expect that to scale?

I do call routing in 3 contexts with ~maybe~ a dozen extension each - 
and we have many thousands of customers and more than hundreds of 
companies using our Asterisk systems as a hosted solution.


I really think you need to totally re-think your operation - and no, I'm 
not going to explain it to you, so don't even ask.




Jeremy McNamara
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [asterisk-users] Asterisk 'Hosting'

2006-08-16 Thread Douglas Garstang
You think 3 contexts, serving hundreds of companies is going to handle internal 
cid, external cid, cid override, pic codes, rate centers, incoming and outgoing 
black lists and white lists, findme/follow me with caller id based routing, 
transferring and forwarding between multiple hosts in a cluster and so on 
while ALSO letting customers maintain all this via a web interface?
 
Even the MySQL dial plan command couldn't handle the findme/followme because it 
couldn't save the state of the query used to retrieve the next number from the 
findme/followme list and then perform further nested queries to do 
blacklist/white list, pic code lookups, rate center lookups on each number.
 
We have several layers of organisationl units, and when person A calls person 
B, and both are in the same company, we use an internal cid. If person A and 
person B are in different companies, we use an external cid, and if the caller 
uses a star code, we use an external cid. We had to get the only Gold Rated 
MySQL consultants to help us design this damn thing. That's just a taste of the 
complexity.
 
Now, let the customer manage all this via a web interface and THREE contexts in 
a flat file isn't quite going to handle it. I also find your assumption that 
I'm an idiot pretty offensive.
 
Doug.

-Original Message- 
From: Jeremy McNamara [mailto:[EMAIL PROTECTED] 
Sent: Wed 8/16/2006 5:32 PM 
To: Asterisk Users Mailing List - Non-Commercial Discussion 
Cc: 
Subject: Re: [asterisk-users] Asterisk 'Hosting'



Douglas Garstang wrote:
We have a 2000+ line python script that handles all call routing logic.


You expect that to scale?

I do call routing in 3 contexts with ~maybe~ a dozen extension each -
and we have many thousands of customers and more than hundreds of
companies using our Asterisk systems as a hosted solution.

I really think you need to totally re-think your operation - and no, I'm
not going to explain it to you, so don't even ask.



Jeremy McNamara
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [asterisk-users] Asterisk 'Hosting'

2006-08-16 Thread Douglas Garstang
Oh, and I see nufone caters to residential. We only cater to business 
customers, who's needs are a lot more demanding.
 
And you know what, maybe it won't scale, but the native dial plan couldn't 
handle the requirements at all. If central management (ie web site) is a 
requirement, then you have to use a database. As I said in my earlier post, the 
MySQL dial plan command couldn't handle nested queries.We can't be pushing 
confg files down to Asterisk and doing multiple reloads several times a minute 
just because Joe Smith wanted to findme/followme to his cellphone after his 
office phone, while Mart Bloggs is wanting to hange her external caller id.
 
We can upgrade the python agi script to a client-server based fast agi later 
on. Right now I'm the only person working on this stuff and I only have one 
pair of arms.
 
Doug.
 
 

-Original Message- 
From: Douglas Garstang 
Sent: Wed 8/16/2006 9:58 PM 
To: Asterisk Users Mailing List - Non-Commercial Discussion; Asterisk 
Users Mailing List - Non-Commercial Discussion 
Cc: 
Subject: RE: [asterisk-users] Asterisk 'Hosting'


You think 3 contexts, serving hundreds of companies is going to handle 
internal cid, external cid, cid override, pic codes, rate centers, incoming and 
outgoing black lists and white lists, findme/follow me with caller id based 
routing, transferring and forwarding between multiple hosts in a cluster 
and so on while ALSO letting customers maintain all this via a web interface?
 
Even the MySQL dial plan command couldn't handle the findme/followme 
because it couldn't save the state of the query used to retrieve the next 
number from the findme/followme list and then perform further nested queries to 
do blacklist/white list, pic code lookups, rate center lookups on each number.
 
We have several layers of organisationl units, and when person A calls 
person B, and both are in the same company, we use an internal cid. If person A 
and person B are in different companies, we use an external cid, and if the 
caller uses a star code, we use an external cid. We had to get the only Gold 
Rated MySQL consultants to help us design this damn thing. That's just a taste 
of the complexity.
 
Now, let the customer manage all this via a web interface and THREE 
contexts in a flat file isn't quite going to handle it. I also find your 
assumption that I'm an idiot pretty offensive.
 
Doug.

-Original Message- 
From: Jeremy McNamara [mailto:[EMAIL PROTECTED] 
Sent: Wed 8/16/2006 5:32 PM 
To: Asterisk Users Mailing List - Non-Commercial Discussion 
Cc: 
Subject: Re: [asterisk-users] Asterisk 'Hosting'



Douglas Garstang wrote:
We have a 2000+ line python script that handles all call 
routing logic.


You expect that to scale?

I do call routing in 3 contexts with ~maybe~ a dozen extension 
each -
and we have many thousands of customers and more than hundreds 
of
companies using our Asterisk systems as a hosted solution.

I really think you need to totally re-think your operation - 
and no, I'm
not going to explain it to you, so don't even ask.



Jeremy McNamara
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Asterisk 'Hosting'

2006-08-16 Thread Jeremy McNamara

Douglas Garstang wrote:

Oh, and I see nufone caters to residential. We only cater to business 
customers, who's needs are a lot more demanding.


Apparently you haven't actually gone to our website which, since you 
brought it up, will be re-launched on September 5th, 2006 with new 
support for ENTERPRISE AND CARRIER SOLUTIONS - All Powered by Asterisk.


We will also launch an official support team, which I am very glad to 
say that I WILL NOT be a part of, because as most people here know, I 
yell at stupid people.




Jeremy McNamara, CTO
NuFone, Inc.
http://www.nufone.net/



___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Asterisk Hosting

2005-12-28 Thread Simon Woodhead
We've been trying Unison (http://www.cis.upenn.edu/~bcpierce/unison/) on a 1 minute cron job. There are some theoretical issues but it has been great so far. We use it to synch prompts as well as messages.
SimonOn 12/27/05, BILL GITONGA [EMAIL PROTECTED] wrote:
What is the best method of storing voice main messagesso that they are accessible to different asteriskservers in a hosted environment? I have consideredAsterisk real time but I don't think it stores theactual voice mail folder in the database. I'm thinking
of using NFS for this and put my voice mail folders onthe NFS so that it is accessible by the differentservers. Is this a good way to do it or is there abetter way of doing this?__
Yahoo! for Good - Make a difference this year.http://brand.yahoo.com/cybergivingweek2005/___--Bandwidth and Colocation provided by 
Easynews.com --Asterisk-Users mailing listTo UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users

___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Asterisk Hosting

2005-12-27 Thread Michiel van Baak
On 14:50, Tue 27 Dec 05, BILL GITONGA wrote:
 What is the best method of storing voice main messages
 so that they are accessible to different asterisk
 servers in a hosted environment? I have considered
 Asterisk real time but I don’t think it stores the
 actual voice mail folder in the database. I’m thinking
 of using NFS for this and put my voice mail folders on
 the NFS so that it is accessible by the different
 servers. Is this a good way to do it or is there a
 better way of doing this?
 

If you want it all in a database you can try odbc.
My opinion is a database is not for binary files, so what I
do is use NFS. Works great.
-- 
Michiel van Baak
http://michiel.vanbaak.info
[EMAIL PROTECTED]
GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x7E0B9A2D

Why is it drug addicts and computer afficionados are both called users?

___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users