Link to home
Create AccountLog in
Voice Over IP

Voice Over IP

--

Questions

--

Followers

Top Experts

Avatar of purestealth
purestealth

How To Setup A Registration Server / Proxy For Use With Asterisk Servers
I am looking for some expert advice on how to setup and deploy a registration server for use with multiple Asterisk servers.  I know this is possible to do, but have no clue on where to start or how to go about getting it setup.

Here is what I am after.
There are 6 different Asterisk servers all of which have phone numbers and extensions assigned to them.  Currently the IP phones and soft phones connect directly to the asterisk server via its public IP address.  I want to setup one main server like "registration.myvoipnetwork.com", where ALL softphones and IP phones will point to.  So when an IP phone or softphone wants to make a connection it connects to the registration server and says "what server should I connect to", the registration server can than say "Your number/extension belongs to VoIP Server 3 at IP Address XXX.XXX.XXX.XXX", which will then allow the softphone or IP phone to peer direct with the IP address of the VoIP server.

I am not sure how to go about setting this up or if my approach is wrong, but I would like to have the above setup so that IP Address's can change if necessary to allow for fail over situations.  I would also like to have this setup so that there is always one unique address that all devices can point to when making a connection.

I am interested in hearing how this could be accomplished or how you have manged to do this in the past.

Look forward to your expert ideas.

Zero AI Policy

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


Avatar of Member_2_1968385Member_2_1968385🇬🇧

I would recommend using SER or (openSER). It is a registrar server and proxy server which is easily capable of doing what you want. It also has a number of optional functions for overcoming NAT problems - in case some of your IP phones are behind NAT. It is available under similar open source licensing arrangements to Asterisk. There is a downside: like Asterisk, it needs quite a bit of time invested to get to know how to use it and configure it. You may also find that it makes some of the Asterisk server functions redundant - for example, why connect IP phone to IP phone via an Asterisk server when you can connect them directly to each other? You can configure it for failover either by forking a call to multiple destinations (the first one to answer gets the call) or by handling failure codes in the SIP responses to trigger a new call to another destination. You could also use DNS to give you more flexibility in assignment of IP addresses or, using SRV records, to assign multiple servers to one domain. It should even be possible to use failover DNS to automatically detect if your primary SIP server is down and to failover to a backup (I have only tried this for web servers so far, but it looks feasible for SIP servers too).

Here are some links. First for SER:
http://www.voip-info.org/wiki/index.php?page=SIP+Express+Router
http://www.iptel.org/ser
http://openser.org/
These are for failover DNS:
http://www.dnsmadeeasy.com/s0306/prod/dnsfosm.html
http://www.netriplex.com/solutions/critical_dns/failover.aspx

Avatar of purestealthpurestealth

ASKER

Thanks for those links.

I had actually given openSER some consideration but currently have no working knowledge of it.  I am debating if its worthwhile to invest the time to learn this or outsource this......

Do you know of a good book for openSER, something equivalent to what Asterisk has "The Future of Telephony 2nd Edition"?

If there is something like that with hands on practical setups and examples I could likely figure this one out on my own as I did with Asterisk.

Thanks again for your comments.

ASKER CERTIFIED SOLUTION
Avatar of Member_2_1968385Member_2_1968385🇬🇧

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
Create Account

Hi

Thanks again for that link, will defiantly give that a print and read though it.  Please email me with your proposition for the outsourcing you can find my email address in my profile.

Look forward to hearing from you.

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


Thanks. I see no email address or any other info when I click on your user name. If you want to contact me then there is a link to my web site in my profile and that has a contact/enquiry form.

Thanks you should have received it by now.
Voice Over IP

Voice Over IP

--

Questions

--

Followers

Top Experts

Voice over IP (VoIP) is a methodology and group of technologies for the delivery of voice communications and multimedia sessions over Internet Protocol (IP) networks, such as the Internet. Other terms commonly associated with VoIP are IP telephony, Internet telephony, broadband telephony, and broadband phone service. The term specifically refers to the provisioning of communications services (voice, fax, SMS, voice-messaging) over the public Internet, rather than via the public switched telephone network (PSTN). Examples of the VoIP protocols are H.323, Media Gateway Control Protocol (MGCP), Session Initiation Protocol (SIP), H.248 (also known as Media Gateway Control (Megaco)), Real-time Transport Protocol (RTP), Real-time Transport Control Protocol (RTCP), Secure Real-time Transport Protocol (SRTP), Session Description Protocol (SDP), and Inter-Asterisk eXchange (IAX).