[Asterisk-Users] looking for failover ideas

steve at daviesfam.org steve at daviesfam.org
Wed Aug 24 01:16:19 MST 2005



On Tue, 23 Aug 2005, William Lloyd wrote:

> I was going to add into Asterisk Realtime an extra field that is a  
> server identifier.  For example to allow multiple asterisk machines  
> to use the same CDR DB.  You would be able to select on the data from  
> just one of the servers.

We did this and it works fine as you might expect.  Perhaps we should put 
it up on bugs.digium.com, but it wasn't a big change.


> 
> Also for example in sip.conf for registration.  Have the specific  
> asterisk server that processes the sip registration put it's  
> identifier (IP address for example) into a field in the DB also.   
> That way other asterisk servers sharing the DB would be able to know  
> what asterisk server a SIP phone is registered to.
> 
> Does anybody else think this might be useful?

To my mind it doesn't make much difference where the phone is registered 
to.  Registration is just a way to find out the contact info (IP address 
mainly) for the SIP user.  Once we have that on one machine, in principle 
it can be used on any machine.

The only issue may be that NAT is open from the machine to which the phone 
originally registered, bt not from others.

So in our application we didn't bother to track which machine took the 
original registration.

Steve



More information about the asterisk-users mailing list