Re: [asterisk-users] Distributed System

2007-08-29 Thread Steve Totaro
Philipp Kempgen wrote:
> ram wrote:
>
>   
>> any success stories of the setup
>>
>> kindly post your config and information
>> 
>
> That would be really difficult to understand because this is all
> integrated in a bigger project.
>
> Basically we use MySQL to replicate from a central database to
> many Asterisk "nodes". (Or you could use MySQL Cluster.) All
> Asterisk servers read the sip friends, queues, etc. from their
> local MySQL database via Realtime. The users are distributed
> across the nodes. A bunch of custom scripts generate parts of
> the dialplan or are called via AGI in order to tell it where
> to route calls etc.
>
> We constantly check if all the Asterisk nodes respond to SIP
> packets, and should one of them ever fail to do so repeatedly
> a standby server takes it's place. This is done in less than
> 10 seconds without any manual interaction.
>
> The configuration is mainly done via command line tools to be
> easily scriptable. Additionally every user has access to a web
> interface where they can change their callforwarding rules, look
> at phonebooks, dialed numbers, missed calls, access voicemail,
> program their phone's keys, monitor queue status and so on ...
>
> The system provides all the phones with configuration (mass
> deployment), i.e. SIP settings, programmable keys, ringtones, ...
> All users are free to log in/out on their handsets or login at a
> different handset and have their private phonebook etc. available
> there (largely depends on the model).
>
> We are probably going to release our software in about 3 months
> or so (can't promise that, don't nail me down to it) under the
> GNU GPL.
>
> Regards,
>   Philipp Kempgen
>
>   
Sweet.  I sure hope that happens.  Sounds like everything that one could 
possibly want in an enterprise PBX.

Thanks,
Steve

___
--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] Distributed System

2007-08-29 Thread Philipp Kempgen
ram wrote:

> any success stories of the setup
> 
> kindly post your config and information

That would be really difficult to understand because this is all
integrated in a bigger project.

Basically we use MySQL to replicate from a central database to
many Asterisk "nodes". (Or you could use MySQL Cluster.) All
Asterisk servers read the sip friends, queues, etc. from their
local MySQL database via Realtime. The users are distributed
across the nodes. A bunch of custom scripts generate parts of
the dialplan or are called via AGI in order to tell it where
to route calls etc.

We constantly check if all the Asterisk nodes respond to SIP
packets, and should one of them ever fail to do so repeatedly
a standby server takes it's place. This is done in less than
10 seconds without any manual interaction.

The configuration is mainly done via command line tools to be
easily scriptable. Additionally every user has access to a web
interface where they can change their callforwarding rules, look
at phonebooks, dialed numbers, missed calls, access voicemail,
program their phone's keys, monitor queue status and so on ...

The system provides all the phones with configuration (mass
deployment), i.e. SIP settings, programmable keys, ringtones, ...
All users are free to log in/out on their handsets or login at a
different handset and have their private phonebook etc. available
there (largely depends on the model).

We are probably going to release our software in about 3 months
or so (can't promise that, don't nail me down to it) under the
GNU GPL.

Regards,
  Philipp Kempgen

-- 
amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de
Let's use IT to solve problems and not to create new ones.
  Asterisk? -> http://www.das-asterisk-buch.de
  My pick of the month: rfc 2822 3.6.5

Geschäftsführer: Stefan Wintermeyer
Handelsregister: Neuwied B 14998

___
--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] Distributed System

2007-08-29 Thread ram
On 8/29/07, Philipp Kempgen <[EMAIL PROTECTED]> wrote:
>
> Seysan wrote:
>
> > Is there anywhere that we can look into for Realtime + MySQL that you
> > mentioned?
>
> Maybe
> http://www.voip-info.org/wiki/view/Asterisk+RealTime
> http://www.asteriskguru.com/tutorials/realtime_pgsql.html



Hi

any success stories of the setup

kindly post your config and information

ram
___
--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] Distributed System

2007-08-28 Thread Philipp Kempgen
Seysan wrote:

> Is there anywhere that we can look into for Realtime + MySQL that you
> mentioned?

Maybe
http://www.voip-info.org/wiki/view/Asterisk+RealTime
http://www.asteriskguru.com/tutorials/realtime_pgsql.html


Regards,
  Philipp Kempgen

-- 
amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de
Let's use IT to solve problems and not to create new ones.
  Asterisk? -> http://www.das-asterisk-buch.de
  My pick of the month: rfc 2822 3.6.5

Geschäftsführer: Stefan Wintermeyer
Handelsregister: Neuwied B 14998

___
--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] Distributed System

2007-08-28 Thread Brian West
This fails to take into account total failure of a machine.  NAT  
mappings and various other variables that are not covered by Dundi or  
realtime...  Best thing is to use OpenSER in the front then failure  
isn't a huge issue.

/b

On Aug 28, 2007, at 4:40 PM, Bruce Reeves wrote:

> Realtime and DUNDi covers all the bases.
>


___
--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] Distributed System

2007-08-28 Thread Bruce Reeves
Realtime and DUNDi covers all the bases.

On 8/28/07, Peder @ NetworkOblivion <[EMAIL PROTECTED]> wrote:
> The question I always have when someone mentions distributing the load
> across multiple machines is "how do you handle contexts for phones on
> different machines?"  I want all of my phones to dial into
> [companyA-phones].  I have to define it in two different places (or more
> depending on the number of boxes).
>
> Also, say I have a single company and I want a single auto attendant
> with dial by name?  If users go to two different boxes, then voicemail
> "dial by name" will break because voicemail won't check both boxes for
> the name.  Also, what about dialing a peer.  Say all of my phones are
> 2xx.  If I am 201 and I dial 202, how is my dialplan setup so that it
> knows that 202 is on box 2, versus box 1 where I am registered?
>
> I think having several boxes works fine if you are doing "home user"
> type stuff where you don't have lots of users within one context, but if
> you have offices with several people, I just see lots of potential
> issues.  I could be wrong, but I've never been able to figure out a way
> around it.
>
>
>
> Brian West wrote:
> > On Aug 28, 2007, at 10:14 AM, Seysan wrote:
> >
> >> Hi all,
> >>
> >> I'm kind a New to Asterisk.But I'm a Network Administrator with 5
> >> years of experiance.
> >>
> >> I want to know for an installation with 90 clients, If I don't want
> >> to have just 1 server for it, then how is it possible to distribute
> >> it among about 3 servers.
> >>
> >> Should I do it in a cluster (kernel level) or something with SER?
> >
> > I would recommend SER plus Asterisk.  I have had great success with
> > using Asterisk with OpenSER.
> >
> >
> >> Best Regards,
> >>
> >> Seysan
> >>
> >
> > /b
> >
> >
> > ___
> > --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
>


-- 
Bruce Reeves
Nortex Networks

___
--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] Distributed System

2007-08-28 Thread James FitzGibbon
On 8/28/07, Philipp Kempgen <[EMAIL PROTECTED]> wrote:
>
>
> Realtime + MySQL does it. That needs some extra work but
> it's possible.


Or DUNDi.  JR just posted a quick tutorial on getting that up and running:

ftp://ftp.ntcp.net/DUNDi_So_Easy.pdf

-- 
j.
___
--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] Distributed System

2007-08-28 Thread Seysan
Is there anywhere that we can look into for Realtime + MySQL that you
mentioned?

or about SER?

Thanks


On 8/28/07, Philipp Kempgen <[EMAIL PROTECTED]> wrote:
>
> Peder @ NetworkOblivion wrote:
>
> > The question I always have when someone mentions distributing the load
> > across multiple machines is "how do you handle contexts for phones on
> > different machines?"  I want all of my phones to dial into
> > [companyA-phones].  I have to define it in two different places (or more
> > depending on the number of boxes).
> >
> > Also, say I have a single company and I want a single auto attendant
> > with dial by name?  If users go to two different boxes, then voicemail
> > "dial by name" will break because voicemail won't check both boxes for
> > the name.  Also, what about dialing a peer.  Say all of my phones are
> > 2xx.  If I am 201 and I dial 202, how is my dialplan setup so that it
> > knows that 202 is on box 2, versus box 1 where I am registered?
> >
> > I think having several boxes works fine if you are doing "home user"
> > type stuff where you don't have lots of users within one context, but if
> > you have offices with several people, I just see lots of potential
> > issues.  I could be wrong, but I've never been able to figure out a way
> > around it.
>
> Realtime + MySQL does it. That needs some extra work but
> it's possible.
>
> Regards,
>   Philipp Kempgen
>
> --
> amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de
> Let's use IT to solve problems and not to create new ones.
>   Asterisk? -> http://www.das-asterisk-buch.de
>   My pick of the month: rfc 2822 3.6.5
>
> Geschäftsführer: Stefan Wintermeyer
> Handelsregister: Neuwied B 14998
>
> ___
> --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] Distributed System

2007-08-28 Thread Philipp Kempgen
Peder @ NetworkOblivion wrote:

> The question I always have when someone mentions distributing the load 
> across multiple machines is "how do you handle contexts for phones on 
> different machines?"  I want all of my phones to dial into 
> [companyA-phones].  I have to define it in two different places (or more 
> depending on the number of boxes).
> 
> Also, say I have a single company and I want a single auto attendant 
> with dial by name?  If users go to two different boxes, then voicemail 
> "dial by name" will break because voicemail won't check both boxes for 
> the name.  Also, what about dialing a peer.  Say all of my phones are 
> 2xx.  If I am 201 and I dial 202, how is my dialplan setup so that it 
> knows that 202 is on box 2, versus box 1 where I am registered?
> 
> I think having several boxes works fine if you are doing "home user" 
> type stuff where you don't have lots of users within one context, but if 
> you have offices with several people, I just see lots of potential 
> issues.  I could be wrong, but I've never been able to figure out a way 
> around it.

Realtime + MySQL does it. That needs some extra work but
it's possible.

Regards,
  Philipp Kempgen

-- 
amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de
Let's use IT to solve problems and not to create new ones.
  Asterisk? -> http://www.das-asterisk-buch.de
  My pick of the month: rfc 2822 3.6.5

Geschäftsführer: Stefan Wintermeyer
Handelsregister: Neuwied B 14998

___
--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] Distributed System

2007-08-28 Thread Peder @ NetworkOblivion
The question I always have when someone mentions distributing the load 
across multiple machines is "how do you handle contexts for phones on 
different machines?"  I want all of my phones to dial into 
[companyA-phones].  I have to define it in two different places (or more 
depending on the number of boxes).

Also, say I have a single company and I want a single auto attendant 
with dial by name?  If users go to two different boxes, then voicemail 
"dial by name" will break because voicemail won't check both boxes for 
the name.  Also, what about dialing a peer.  Say all of my phones are 
2xx.  If I am 201 and I dial 202, how is my dialplan setup so that it 
knows that 202 is on box 2, versus box 1 where I am registered?

I think having several boxes works fine if you are doing "home user" 
type stuff where you don't have lots of users within one context, but if 
you have offices with several people, I just see lots of potential 
issues.  I could be wrong, but I've never been able to figure out a way 
around it.



Brian West wrote:
> On Aug 28, 2007, at 10:14 AM, Seysan wrote:
> 
>> Hi all,
>>
>> I'm kind a New to Asterisk.But I'm a Network Administrator with 5  
>> years of experiance.
>>
>> I want to know for an installation with 90 clients, If I don't want  
>> to have just 1 server for it, then how is it possible to distribute  
>> it among about 3 servers.
>>
>> Should I do it in a cluster (kernel level) or something with SER?
> 
> I would recommend SER plus Asterisk.  I have had great success with  
> using Asterisk with OpenSER.
> 
> 
>> Best Regards,
>>
>> Seysan
>>
> 
> /b
> 
> 
> ___
> --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] Distributed System

2007-08-28 Thread Brian West

On Aug 28, 2007, at 10:14 AM, Seysan wrote:

> Hi all,
>
> I'm kind a New to Asterisk.But I'm a Network Administrator with 5  
> years of experiance.
>
> I want to know for an installation with 90 clients, If I don't want  
> to have just 1 server for it, then how is it possible to distribute  
> it among about 3 servers.
>
> Should I do it in a cluster (kernel level) or something with SER?

I would recommend SER plus Asterisk.  I have had great success with  
using Asterisk with OpenSER.


>
> Best Regards,
>
> Seysan
>

/b


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