Joao Paulo,
add a second Asterisk server, and add a Virtual IP (VIP) using Keepalived. Then UAC connects to Asterisk using the VIP. Keepalived will switch to the 2nd node once the 1st is down (or even if the 1st one stops Asterisk service). In this case, you may not need a SIP Proxy as frontend.
If you require a SIP Proxy, use Kamailio and Dispatcher module to distribute SIP requests to one Asterisk node, or the other. In case 1 node gets offline, the 2nd node will still handle the calls. And if you add GlusterFS you can even share a folder between the 2 Asterisk nodes (folder A in Node 1 and folder A in Node 2 will be synced) and anything you modify on 1 node, will be modified on the 2nd node too (and vice-versa).
Just a few tips ;)
*Sérgio Charrua*
*www.voip.pt http://www.voip.pt/*
On Thu, Jan 12, 2023 at 3:23 PM Joao Paulo Vaz jpvazdasilva@gmail.com wrote:
Thank you very much for this clarification Alex. I also believe that this is not the best scenario but it is the demand presented, and in the case of "survivor mode" it would really only be the basics, a user being able to make a call to another on the same site, the other applications can wait for the communication to return with the center point. Could you point me a way to this configuration?
Att,
Joao Paulo
Em qui., 12 de jan. de 2023 às 10:52, Alex Balashov < abalashov@evaristesys.com> escreveu:
Hello,
Such a configuration is indeed possible. However, Asterisk and Kamailio are not interchangeable; Kamailio is a SIP proxy, and cannot offer the same in-channel and call supervision features that Asterisk can. So, the "survival mode" might be very simplified and basic compared to the caller experiences that Asterisk can provide.
But it is possible.
I don't know that it's the best architecture. You might instead investigate ways to make Asterisk more distributed and/or highly available.
-- Alex
On Jan 12, 2023, at 7:06 AM, Joao Paulo Vaz jpvazdasilva@gmail.com
wrote:
Hello masters, I am a newbie who recently got to know Kamailio. I have a scenario and I would like to know if this tool would suit: a
central asterisk server with all user accounts and three remote units with Kamailio acting as a proxy.
Is there any module or configuration that if the central asterisk
server fails to respond, would the remote proxies act in survival mode, allowing local communication by users
until the central asterisk server returns a response?
Att,
Joao Paulo
Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only
to the sender!
Edit mailing list options or unsubscribe:
-- Alex Balashov Principal Consultant Evariste Systems LLC Web: https://evaristesys.com Tel: +1-706-510-6800
Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe:
Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: